Bug 33207

Summary: Reject output folder that coincidate with source folder if not equal
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2003-02-26 04:56:58 EST
Build 2.1RC1

JavaConventions should reject a custom output folder that coincidate with a 
source folder if this source folder is not equal to the custom output folder.

Allowing this scenario would lead to phantom packages to be created in the 
source folder when building.
Comment 1 Philipe Mulet CLA 2003-02-26 05:30:11 EST
Indeed a source folder can only be used as a target by its own output folder, 
so as to avoid package directory pollution.

We should also disallow using a library folder as an output folder (within same 
project).
Comment 2 Philipe Mulet CLA 2003-02-27 08:28:34 EST
Fixed in latest.
Comment 3 David Audel CLA 2003-03-10 10:23:34 EST
Verified.
Comment 4 Philipe Mulet CLA 2003-04-15 04:57:43 EDT
Due to bug 36465, had to relax some of the collision check. Only specific 
output folders are checked, the default output can still coincidate.