[svn:fx-trunk] 5140: Removing [ExcludeClass] from classes outside the package.

Revision: 5140
Author: [email protected]
Date: 2009-03-02 12:09:24 -0800 (Mon, 02 Mar 2009)
Log Message:
Removing [ExcludeClass] from classes outside the package.
QE Notes: None.
Doc Notes: None.
tests: checkintests
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as

Similar Messages

  • [svn:fx-trunk] 12925: Remove FIXME from SliderBase.

    Revision: 12925
    Revision: 12925
    Author:   [email protected]
    Date:     2009-12-14 14:19:53 -0800 (Mon, 14 Dec 2009)
    Log Message:
    Remove FIXME from SliderBase. It is correct for Slider to set the pendingValue during an animation, and it should not actually set the value or dispatch valueCommit events for an animation.
    QE notes: No
    Doc notes: No
    Bugs: None
    Reviewer: -
    Tests run: -
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.a s

  • [svn:fx-trunk] 8417: Remove themes from the package that are not compiling cleanly

    Revision: 8417
    Author:   [email protected]
    Date:     2009-07-07 04:50:21 -0700 (Tue, 07 Jul 2009)
    Log Message:
    Remove themes from the package that are not compiling cleanly
    bug: https://bugs.adobe.com/jira/browse/SDK-21144
    qa: yes
    doc:
    checkintests: pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21144
    Modified Paths:
        flex/sdk/trunk/build.xml

  • [svn:fx-trunk] 13298: Remove FIXMEs from DateChooser wireframe skins

    Revision: 13298
    Revision: 13298
    Author:   [email protected]
    Date:     2010-01-05 17:59:32 -0800 (Tue, 05 Jan 2010)
    Log Message:
    Remove FIXMEs from DateChooser wireframe skins
    Wireframe skins don't need over and down states.
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: -
    Tests run: -
    Is noteworthy for integration: -
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/wireframe/src/mx/skins/wireframe/DateChooserNextMonthS kin.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/mx/skins/wireframe/DateChooserNextYearSk in.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/mx/skins/wireframe/DateChooserPrevMonthS kin.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/mx/skins/wireframe/DateChooserPrevYearSk in.mxml

  • How to compile package which contain class outside the package

    I am writing a JDBC driver.
    I have the following package structure in the folder:
    MyDriver
        |_manager.jar
        |_com
               |_ jdbc
                       |_ HXDriver
                       |_ HXConnection
                       |_ HXResultSet
                       |_ HXStatementIn manager.jar, there is a remote object Interaface(Manager.java) which I need to use inside HXConnection.
    My question is how to compile(or/and how to set the classpath)so that I can compile the 4 classes inside jdbc package.
    I tried this:
    C:\MyDriver>javac -cp .;manager.jar com/hx/jdbc/*.java
    However, this does not work, compiler says it cannot find Manager
    Please help me.
    Cheers

    D:\380 Project\Driver>javac -cp .;manager.jar com\hx\jdbc\*.java
    com\hx\jdbc\HXConnection.java:21: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXConnection
            private Manager manager;
                    ^
    com\hx\jdbc\HXStatement.java:18: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXStatement
            private Manager manager;
                    ^
    com\hx\jdbc\HXStatement.java:20: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXStatement
            public HXStatement(Manager manager){
                               ^
    com\hx\jdbc\HXConnection.java:41: cannot find symbol
    symbol  : class Manager
    location: class com.hx.jdbc.HXConnection
                            manager = (Manager)reg.lookup("manager");
                                       ^

  • Accessing a class outside the package

    Hi friends !
    Suppose I have a class called InsidePackageClass which is placed under C:\Package and other called OutsidePackageClass that is placed directly under C:
    Suppose my classpath points to C:\ and I want to declare a OutsidePackageClass member variable in the class InsidePackageClass. This leads me to an error. The compiler complains that it can't find the OutsidePackageClass class.
    What's wrong ?
    C:\
    |-Package
    | |---------InsidePackageClass
    |-OutsidePackageClass
    Thanks in advance
    Cleverson

    Like this?
    File: C:\OutsidePackageClass.java
    [code]class OutsidePackageClass {
         static String attribute = "first";
         public OutsidePackageClass() {
    }[/code]
    File: C:\Package\InsidePackageClass.java
    [code]class InsidePackageClass {
         public InsidePackageClass() {
              OutsidePackageClass o;
    }[/code]
    To compileset CLASSPATH=C:\
    cd \Package
    javac ../OutsidePackageClass.java
    javac InsidePackageClass.javaNote, javac will not run with current directory C:\

  • Why can't I remove attachments from emails in the Sent items folder?

    I Recently upgraded from Snow Leopard to Lion, and so far, there are at least a couple of things that puzzle me.
    One is that now I don't have the option to "Remove Attachments" from emails in the sent items folder. It seems to work normally
    in the Inbox and Drafts folders, but not in the Sent items. Go figure ???
    Another thing that bothers me is that in Preview, when I save a screen shot, or a scan, etc., I no longer have the option of saving it as a GIF
    (which, when better quality isn't absolutely necessary, is often much lower in KB or MB than a PNG or JPG, etc.. When I store lots of things as such images, I'd rather have that option.
    Any suggestions will be appreciated.

    I have now created a smart mailbox as described above (good idea), and although I have some 50 messages in my Sent box, all with attachments (waiting to be removed so I can store the messages in the proper mailboxes), the smart mailbox is empty. So, Mail doesn't recognise these messages as containing attachments.
    This led me to think that maybe Mail has been redesigned to work the way you would expect it to, at last; to contain a link to attachments instead of including them in all their bits and bytes. That would mean that the messages in my Sent box - with attachments - could be stored in local (or server-side) mailboxes without taking up extensive space.
    But then I checked the size of my Sent Messages folder inside the Mail Folder in Finder, and - whoops - it's 50+ MB. So the sent messages do contain attachments all right. And Mail doesn't recognise these, since a) the smart mailbox trick says that the messages are free from attachments, and b) the Remove Attachments menu option is disabled.
    I will have to wait for the next Mail update, and my Sent box will grow accordingly ...

  • Accessing a dll from classes in different packages

    Hello java community,
    I am new to Java and especially the jni so your help is greatly appreciated.
    I am having trouble accessing a Windows native dll from classes in different packages. I placed the .dll in my ClassPath. I am able to loadLibrary successfully from class X in my 'common' package. However, when I try to access the same .dll from another class Y in package 'notsocommon'. I get an unsatisfied link error. I changed the X.h file to include common in the function definition (eg. Java_common_X_functionName) and I did the same to the Y.h file (Java_notsocommon_Y_functionName). I am able to work with the dll from the X class but not the Y class. I don't know what I am doing wrong. I am very new to Java, so any help is appreciated.
    Thank you.

    I apologize to everyone for posting this. I figured out my mistake, it was in the dll and not in the java. Also using
    javah -jni notsocommon.Y
    creates the correct header file.

  • Import the classes in the package java.util

    I haven't taken a class in two years so I have ideas but am unsure of myself, and I most likely am way off base, but is this how you import the classes in the package java.util
    import java.util.*;
    I would appreciate anyone's help. I have a lot of questions.
    Thanks,
    rp

    My assignment is below so that you will know exactly what I am asking. I am being asked to create an instance of LinkedList. I know that this is a part of the java.util. So when you create an instance of LinkedList would that be similar to instance variables? or am I misunderstanding something. I have several ideas, so I will start with the first one.
    LinkList();
    I really appreciate your taking the time to answer my questions to help me to rebuild my confidence in doing this.
    Thanks,
    // 2. import the classes in the package java.util
    public class MyProgram
         public static void main(String [] args)
              // 3. Create an instance of LinkedList
              // 4. add 5 entries to the list so that it contains
              //     Ann, Bart, Carl, Dirk, Zak
              // 5. display the list on one line using a loop and ADT list methods
              System.out.println("\n\n3. ");
              // 6. display the list using one println
              System.out.println("\n\n4. ");
              // 7. create a ListIterator object for the list
              // 8. display the list on one line using the iterator
              System.out.println("\n\n6. ");
              // 9. restore the iterator to the first item in the list
              // 10. retrieve and display the first item in the iteration,
              //      then advance the iterator to the next item
              System.out.println("\n\n8. ");
              // 11. advance the iterator to the end of the list without displaying anything;
              //      do not use the length of the list
              // 12. display the last item in the list
              System.out.println("\n\n10. ");
              // 13. move back to the beginning of the list without displaying anything;
              //      do not use the length of the list
              // 14. display the first item in the list
              System.out.println("\n\n12. ");
              // 15. advance the iterator to the end of the list without displaying anything;
              // 16. advance the iterator - what happens?
              System.out.println("\n\n14. ");
              // 17. advance the iterator within a try block; catch the exception, display a message,,
              //      and set the iterator back to the beginning of the list.
              System.out.println("\n\n15. ");
              // 18. what does nextIndex and previousIndex return?
              System.out.println("\n\n16. ");
              // 19. move the iterator to the third item in the list; if you were to
              //      execute next(), the third item would be returned and the iterator
              //      would advance to the 4th item.
              System.out.println("\n\n17. ");
              // 20. add the string "New" to the list; where is it inserted relative to
              //      the current item in the iteration?
              System.out.println("\n\n18. ");
              // 21. remove the current item; what happens?
              System.out.println("\n\n19. ");
              // 22. display the current item in the list without advancing the iteration
              //      in 2 ways, as follows:
              // 22A - using only iterator methods
              System.out.println("\n\n20A. ");
              // 22B using an iterator method and list methods
              System.out.println("\n\n20B. ");
              // 23. advance the iterator and remove the current item; which one is removed?
              System.out.println("\n\n21. ");
              // 24. move the iterator back and remove the current item; which one is removed?
              System.out.println("\n\n22. ");
              // 25. move the iterator to the first item in the list and change it to "First"
              System.out.println("\n\n23. ");
         } // end main
    } // end MyProgram

  • How to access a class file outside the package?

    created a two java files Counter.java and TestCounter.java as shown below:
    public class Counter
         public void print()
              System.out.println("counter");
    package foo;
    public class TestCounter
         public static void main(String args[])
              Counter c = new Counter();
              c.print();
    Both these files are stored under "D:\Test". I first compiled Counter.java and got Counter.class which resides in folder "D:\Test"
    when i compile TestCounter.java i got the following error message:
    D:\Test>javac -classpath "d:\Test" -d "d:\Test" TestCounter.java
    TestCounter.java:6: cannot find symbol
    symbol : class Counter
    location: class foo.TestCounter
    Counter c = new Counter();
    ^
    TestCounter.java:6: cannot find symbol
    symbol : class Counter
    location: class foo.TestCounter
    Counter c = new Counter();
    ^
    2 errors
    what could be the problem. Is it possible to access a class file outside the package?

    ya that's fine..if we have two java files where both resides in the same package works fine or two java files which donot have a package statement also works fine. But my doubt is, i have a Counter.class which does not reside in a package and i have a TestCounter.class which resides in a package "foo", in such a scenario, how do i tell to the compiler that "Counter.class resides in such a path, please look at that and give me TestCounter.class". i cannot use import statement to import Counter.class in TestCounter.java because i donot have a package for Counter.java.

  • How to refer to a protected class outside the enclosing package

    Hi all,
    At the page 357 of the book Java Language Specification(Second Edition), when saying about checking accessibility of Type and Method, they concern Let C be the class containing the method invovation T.m, if T is in a different package than C, and T is protected then T is accessible if and only if C is a subclass of T. I just wonder how to refer a protected type outside the package it declared.
    For example,
    package test;
    public class test {
    static protected class protectedTest {
    public void foo() {..}
    in another package
    import test.*;
    class subtest extends test.protectedTest {  <- error
    Anyone can give me an example showing an invocation directly to foo() declared in class test.protectedTest ? The invocation should appear outside package test.
    Thanks,
    Ha Chau

    The protected inner class would be accesible only within a class which extends test, where you could either use or extend it as in:
    class subtest extends test {
        private static class sub2 extends protectedTest {
               }

  • How to create an instance of a protected class outside the enclosing packag

    Hi all,
    I have a piece of code like this:
    package test;
    public class A {
    protected class B { }
    How to create an instance of B outside the package test ? Could you please give me an example ?
    Thanks
    Ha Chau

    Thank WirajR for your reply, but in your solution,
    you have to create an instance of B inside class A
    and pass it outside. I would like to know whetherwe
    can create an instance of class B outside thepackage
    test. That means I want the instance creation
    expression of B appears outside the package test.Can
    we do that?
    If you want to use a class this way then it shouldn't
    be marked protected. I can't see why you don't
    just declare it public if that's what it is.
    Wouldn't be much point to haveing a protected
    modifier if it had no effect, would there?I think there is use for it if you use an interface to filter out the parts you want to give public access to, and keep the part you want to keep protected, protected

  • [svn:fx-trunk] 11376: Remove external image support from BitmapImage and BitmapFill.

    Revision: 11376
    Author:   [email protected]
    Date:     2009-11-02 11:39:44 -0800 (Mon, 02 Nov 2009)
    Log Message:
    Remove external image support from BitmapImage and BitmapFill.
    QE notes: none
    Doc notes: ASDoc updated. Any other docs that mention loading external images in BitmapImage, BitmapFill, or Border need to be updated.
    Bugs: none
    Reviewer: Jason
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as

    That PKGBUILD doesn't work, primarily because _svnmod is not set correctly.  The remaining problems are mostly down to not being in the $srcdir directory when checking out the ImageMagick source.  It's also good practice to copy the source and do the build in the copy.  That way, it will be possible to successfully update the source and rebuild the package at a later date.  Otherwise, the PKGBUILD certainly works with the following modifications but I've no idea whether the package is viable because I didn't try installing and testing it.
    _svntrunk=https://www.imagemagick.org/subversion/ImageMagick/trunk
    _svnmod=ImageMagick
    build() {
    cd ${srcdir}
    if [ -d $_svnmod/.svn ]; then
    cd $_svnmod
    svn up
    else
    svn co $_svntrunk $_svnmod
    fi
    rm -r ${srcdir}/${_svnmod}-build
    cp -r ${srcdir}/${_svnmod} ${srcdir}/${_svnmod}-build
    cd ${srcdir}/${_svnmod}-build
    if [ "${CARCH}" = "x86_64" ]; then
    patch -Np1 < ../libpng_mmx_patch_x86_64.patch || return 1
    fi
    Etc., etc.
    Last edited by azleifel (2010-04-11 22:15:09)

  • [svn:fx-trunk] 16385: -removed the utilities package target since it' s not used any longer - at least what is contained in this target.

    Revision: 16385
    Revision: 16385
    Author:   [email protected]
    Date:     2010-06-01 13:32:35 -0700 (Tue, 01 Jun 2010)
    Log Message:
    -removed the utilities package target since it's not used any longer - at least what is contained in this target.  I believe this was a leftover from flex 2 days.
    -fix up the packaging targets to ensure they are being properly built.  I removed depends="temp-clean" and inserted antcall target="temp-clean" because a target gets executed only once, even when more than one target depends on it. 
    QE notes:
    Doc notes: no
    Bugs: no
    Reviewer: Guarav
    Tests run: no
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/build.xml

    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
    -This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
    -so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
    If you are sure you don't need the old CC programs
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall

  • [svn:fx-trunk] 16929: Add a [Mixin] class that will register the required class aliases in the event the mxml compiler generation   [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework .

    Revision: 16929
    Revision: 16929
    Author:   [email protected]
    Date:     2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
    Log Message:
    Add a class that will register the required class aliases in the event the mxml compiler generation  [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
    Add a reference to this class in the RPCClasses file so it always gets loaded.
    QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
    Bugs: Watson bug 2638788
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as

    Great exercise to document the problem like this.  It got me thinking about how an app with modules would be different from an app that does not use modules.  Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked.  I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.

Maybe you are looking for