Bug 28830 - Flexible projects cannot share output directory
Summary: Flexible projects cannot share output directory
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-23 09:45 EST by Craig Setera CLA
Modified: 2003-01-17 08:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Setera CLA 2002-12-23 09:45:22 EST
The new flexible projects structure is a great step forward in the Eclipse
platform.  Excellent work.  One use of such a structure is in a web application
development model.  In this model, it is desirable to target the web
application'w WEB-INF/classes directory as the output directory.  In addition,
it is desirable to target this directory for multiple projects.

Although the new flexible projects structure allows for this, the Java Builder
breaks this by cleaning the output folder on many builds.  By cleaning the
output folder, the result of one project's build will be lost when a different
project is built.

It would be helpful if the Java Builder was not quite so controlling of the
output folder.
Comment 1 Kent Johnson CLA 2002-12-24 10:07:07 EST
There is an option to control this... it was added in the M4 build.

The workspace wide option is found at Windows -> Preferences -> Java -> 
Compiler -> Other : 'Allow to clean output folders for a full build'

A per project option can be found by examining any project's Properties -> Java 
Compiler -> Other : 'Allow to clean output folders for a full build'