Bug 44303 - Update deletes all files in output directory
Summary: Update deletes all files in output directory
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 10:12 EDT by martin hammerschmid CLA
Modified: 2003-10-17 13:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.