Bug 44303

Summary: Update deletes all files in output directory
Product: [Eclipse Project] JDT Reporter: martin hammerschmid <martin.hammerschmid>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 3.0 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description martin hammerschmid CLA 2003-10-07 10:12:54 EDT
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
Comment 1 Dorian Birsan CLA 2003-10-07 11:00:00 EDT
Not an update/install bug.
Comment 2 Dirk Baeumer CLA 2003-10-07 11:59:14 EDT
This triggers a build might delete the output folder.

Moving to JDT/Core for additional comments why this is needed.
Comment 3 Philipe Mulet CLA 2003-10-08 04:42:32 EDT
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).
Comment 4 Kent Johnson CLA 2003-10-17 13:11:23 EDT
Closing.

Reopen if Philippe's recommendation is not enough.