Community
Participate
Working Groups
Hi, I have some reasons to CVS-check-in my code AND class-Files. But when I make a rebuild of my java project, all the CVS information on my class-File-directory is gone. It seems to be that eclipse first removes the whole class-file directory (with the CVS-subfolder) and then creates a new one. Updating, re-adding or commiting the class files after this is impossible. Maybe the rebuild-process can be modified to let the CVS information (CVS directories) where they are. Thanks and best regards Franz
Franz Did you try to turn off the output folder cleaning on rebuild ? Check the Java compiler preferences Java>Compiler>Build path>Allow to clean... Does this improve the behavior ? Kent Wouldn't it work better if the batch builder did check for identical bytes before dumping a classfile (as does the incremental builder) ?
Once the Java>Compiler>Build path>Allow to clean... option is set the builder only changes the file's contents if it already exists on disk. It does NOT delete it & recreate it. This should not change any other attributes of the .class file.
Hi Philippe and Kent, thank you for your help. Seems to be a very good tip, but I am to stupid to find this preference. Im using eclipse 2.0.2 with JDT core 2.0.2. I checked Window->Preferences->Java->Compiler but there is no "Build path" and no "Allow to clean..." option. Apparently I's searching the wrong place. Sorry, but could you please give me a detailed description where to find the option (maybe it is in a context menu?) Thanks Franz
The option was added after 2.0.2. You'll find it in the latest 2.1 RC1 drop. Closing.