| Summary: | [workspace] Source directory filters ignored in build files | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Christophe Avare <christophe.avare> |
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | aniefer |
| Version: | 3.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Christophe Avare
As a workaround, instead of using source filters have you tried to create several source folders? Then you can compile them all but only ship the one required by setting the bin.includes property accordingly. Yes, that was my first idea. Unfortunately, i use a CORBA-like stub generator that can only generate all the files in the same directory. This is why i tried the source filter. My workaround today is to have a custom Ant generator that split the files in different source directories and use your suggestion in the dependant projects. Anyway, i think it is important to have the best confidence in the Ant build system: it should reflect the project definition and dependencies exactly (predictable behavior). This way, things that are broken in the workspace (because of a wrong configuration or filter set) are also broken in the deliveries. the exclude.<library> property is now applied to the javac call to filter sources. *** This bug has been marked as a duplicate of bug 105631 *** |