facebook

class generation – problem saving

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #234764 Reply

    mchowning
    Member

    hello

    using myeclipse (3.1) i’m seeing an anomaly where .class files are not being generated during the project ‘save’. also a ‘build all’ does not rebuild all deleted/missing .class files w/in the project. the only way to consistently get all files to rebuild is to rebuild it ‘clean’. coming from the eclipse 2.1 IDE, where the rebuild happened during the ‘save’ process ‘ctrl-s’, this functionality is different. is there a setting w/in the preferences (or somewhere else) that i’ve missed to cause the rebuild to occur during the save process?

    also, i’ve tried using the auto-build, with the sane results. it could be that the files are being created and the view is not being updated. however not knowing gives a lower level of confidence that what might be deployed (users code) is really what they think i their last edited version.

    thanks for your help-

    MyEclipse information
    Eclipse SDK
    Version: 3.1.0
    Build id: I20050627-1435

    #234770

    Scott Anderson
    Participant

    it could be that the files are being created and the view is not being updated.

    The behavior you’re repoting is odd, because Eclipse 3.1 does a good job of recompiling as needed, at least in my experience, just like 2.1 did. To verify the files, I’d try looking in the Navigator view and checking the properties of the files in your build output folder. You can select the project and hit F5 (Refresh) to be sure the navigator will show the latest file system snapshot. Also, checking externally using the Window explorer view is a good crosscheck.

    #234776

    mchowning
    Member

    thanks for responding.

    i’ve check for the presence of the files, both in the myeclipse’s ‘navigation’ view and explorer. same thing, the .class files do not show unless a ‘clean’ build is run. i’ve restarted eclipse, shut everything down (again) and tried again. again the only way to rebuild the entire project is to do a ‘clean’ build. the ‘build all’ and ‘build project’ does not seem to rebuild all out of date .class files.

    again thanks for your help, am i missing a preferences setting?

    #234777

    Scott Anderson
    Participant

    Are the source folders for your project listed correctly on Properties > Java Build Path ?

    #234791

    mchowning
    Member

    the short answer is yes.
    my project project properties ‘java build path’ – ‘source folders’
    taliAmServer/src
    – included (All)
    – excluded (None)

    i have sub folders and java files under src
    src
    src/com
    src/com/talisen/taliAmServer.java
    src/com/talisen/identity/taliAmObject.java
    src/com/talisen/identity/taliAmUser.java
    src/com/talisen/identity/taliAmAuth.java

    built class files and location (desired output)

    WebRoot
    WebRoot/MET-INF
    WebRoot/WEB-INF
    WebRoot/WEB-INF/classes
    WebRoot/WEB-INF/classes/com
    WebRoot/WEB-INF/classes/com/talisen
    WebRoot/WEB-INF/classes/com/talisen/taliAmServer.class
    WebRoot/WEB-INF/classes/com/talisen/identity/taliAmObject.class
    WebRoot/WEB-INF/classes/com/talisen/identity/taliAmUser.class
    WebRoot/WEB-INF/classes/com/talisen/identity/taliAmAuth.class

    thanks –

    #234799

    Scott Anderson
    Participant

    Well, that build behavior has to do with the standard Eclipse Java builder so it’s odd that it’s not keeping things up to date if autobuild is enabled. Can you try restarting with -clean (eclipse.exe -clean). Did that resolve the issue? If not, can you try a new project and see if the behavior is the same? Is it the same behavior in a new workspace with a new project? How about in a new workspace after you import a copy of your existing project? I’m trying to determine if the behavior is related to the project or the workspace in general.

    #234803

    mchowning
    Member

    thanks for responding. i’ve check for the presence of the .class files, both in the myeclipse’s ‘navigation’ view and explorer. same thing, the .class files do not show unless a ‘clean’ build is run. i’ve restarted eclipse, shut everything down (again) and tried again. again the only way to rebuild the entire project is to do a ‘clean’ build. the ‘build all’ and ‘build project’ does not seem to rebuild all out of date .class files.

    i will try a new project and see if the behavior is consistent. fyi the project that i’m working in now is new, with files added (copied) from a previous project (2.1).

    thanks –

    #234804

    Scott Anderson
    Participant

    Did you try refreshing the view and checking the file system externally to verify that the files really aren’t there?

    #234805

    mchowning
    Member

    yes, i tried that on the first go around (refresh F5).

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: class generation – problem saving

You must be logged in to post in the forum log in