For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 2 voices, and was last updated 20 years, 7 months ago by
mchowning.
-
AuthorPosts
-
mchowningMemberhello
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-1435August 15, 2005 at 8:46 am #234770
Scott AndersonParticipantit 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.
August 15, 2005 at 9:18 am #234776
mchowningMemberthanks 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?
August 15, 2005 at 9:24 am #234777
Scott AndersonParticipantAre the source folders for your project listed correctly on Properties > Java Build Path ?
August 15, 2005 at 10:14 am #234791
mchowningMemberthe 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.javabuilt 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.classthanks –
August 15, 2005 at 10:54 am #234799
Scott AndersonParticipantWell, 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.
August 15, 2005 at 11:01 am #234803
mchowningMemberthanks 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 –
August 15, 2005 at 11:05 am #234804
Scott AndersonParticipantDid you try refreshing the view and checking the file system externally to verify that the files really aren’t there?
August 15, 2005 at 11:10 am #234805
mchowningMemberyes, i tried that on the first go around (refresh F5).
-
AuthorPosts
