Summary: | Multiple source folders to one bin forgot copy some files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Andrej Zachar <andrej> | ||||
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
Status: | RESOLVED WONTFIX | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.3 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Andrej Zachar
2004-12-11 07:27:53 EST
In additional, i'd like to report also this strang behaviour: Eclipse do a problem "Project was not build due to "resource bin/web- in/classes" doesn't exist. It happens when you want to create a default output folder into the nested folder of an another ouput folder. My project look like this: WEB -> bin (WEB source folder doesn't contains classes folder) +-WEB-INF +-taglib src -> default default output folder is set to "bin\web-inf-classes" So, if you want to build my project, eclipse first copy web folder into bin, which doesn't have folder classes. That is still ok. But when it want to copy compiled source files into default output folder, he say that this directory doesn't exist. That is not ok, by my opinion. I prefere that eclipse would check if folders exists and if not he should create them. Thanks for your notice of my "user frendly bugs" :))) Best wishes to the another develop. Your user Andrej Zachar Can you attach your project? Or a test project that shows us the problems? Nested output folders are not allowed for multiple source folders. It should be an error to set the default output folder to '/bin/a/b' AND also set the output folder of another source folder to '/bin'. The error is caught if the default is set to '/bin/a', but not '/bin/a/b'. We are using JDT/Core code to check if this is a valid configuration. Moving to JDT/Core to reject such a configuration. Jerome - is this still an issue (CP validation) ? Created attachment 38150 [details]
Proposed patch and regression test
This patch prevents the nesting of the project's default output inside a custom output.
Since existing clients may rely on the current behavior and it is late in the 3.2 release cycle, will keep this patch for post 3.2. As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |