Bug 22407 - Can't set Java project build output folder to different project
Summary: Can't set Java project build output folder to different project
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 16:55 EDT by Johannes Schmid CLA
Modified: 2002-12-18 06:56 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Schmid CLA 2002-08-13 16:55:57 EDT
This is probably not a UI bug, but I didn't really know which component is
responsible for that.

It would be *VERY* helpful if I could set the Build output folder in a Java
Project to a directory in another project, but this does not seem to be supported.
Comment 1 Dirk Baeumer CLA 2002-08-19 05:12:51 EDT
Asking Core if support is in general possible. 
Comment 2 Philipe Mulet CLA 2002-09-23 05:00:32 EDT
Currently, the output folder must be defined inside its project. Having it 
outside might be troublesome, if the folder containing project was disappearing 
or something like that...

We may allow this however, when considering workspace structure evolution with 
possibility of mapping external resources; though in that case, I would rather 
have the output folder locally map to a folder defined elsewhere (inside or 
outside the workspace).

Will reconsider before 2.1
Comment 3 Johannes Schmid CLA 2002-10-01 12:40:39 EDT
I found the following solution that works for me (it's quite a hack, though):
I manually go to the .classpath file of the project and edit the classpathentry
(kind "output") to be something like "../other-project/path/to/folder" and it
works quite fine, but a "supported" solution would be much better and defenitely
more elegant :)
Comment 4 Philipe Mulet CLA 2002-10-28 09:03:11 EST
Based on workspace mount point, this scenario should work.
Need to double check.

Also we may want to add a flag for controlling the scrubbing behavior.
Comment 5 Philipe Mulet CLA 2002-11-14 05:35:23 EST
The scrub flag is in for M3. Mount points (aka linked resources) will soon be 
made available at the platform level.
Comment 6 Philipe Mulet CLA 2002-11-18 17:37:02 EST
Kent - please tag as fixed once we have some test coverage
Comment 7 Kent Johnson CLA 2002-11-27 16:13:46 EST
We now have tests verifying our behaviour for linked output folders from 
another project.
Comment 8 David Audel CLA 2002-12-18 06:56:56 EST
Verified.