Community
Participate
Working Groups
Hallo, Menue -> Project/Properties slelect -> Java Build Path Register -> Libraries Add External JARs... select one jar file and close dialog with ok. Then all files inside output directory had been deleted ?? (why) In my output directory are several files included for testing (C++ JNI dll files, ini files,...) If i had a new jar file for my project or the project needs to be refreshed because of inconsistent project structure each file inside output folder will be deleted?? Is this on purpose? thanx martin
Not an update/install bug.
This triggers a build might delete the output folder. Moving to JDT/Core for additional comments why this is needed.
Is autobuild on ? If so, then the classpath change will induce a build for free, which is noticing the classpath change and thus need to perform a full build which is supposed to clean the ouput folder. You can always disable the output folder cleaning behavior on the Java compiler preferences (under build path tab).
Closing. Reopen if Philippe's recommendation is not enough.