Summary: | Exclude files and whole packages from build | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Oellinger <Markus_Oellinger> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.1 M4 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Markus Oellinger
2002-02-13 02:42:59 EST
Can't you simply remove them from the classpath ? What kind of mechanism are you looking for, an exclude list ? Sometimes, the repository contains sources you'd like to exclude from build. This may happen, for example, if some team member checks in stuff that does not compile or that you otherwise don't want to include in your build. These files then are in the source path (not classpath) and eclipse automatically includes them in the build. If I'd make a manual build script, I'd just exclude those files/directories from the build script. At present, my workaround is to twink the config-spec in clearcase such that unwanted files don't show up for me in the repository but this is sometimes not easy to do. The way I'd imagine it to work would be that you go into properties of a file/package and have a check-mark Exclude from build which would explictly remove the file/package from the build sources. What about codeassist, would you expect it also to see these excluded files ? Aren't you rather asking for excluding files throughout the entire Java tooling ? I'd rather only exclude them from the build process. If they are broken, however, codeassist will not take them into account anyway. If you exclude them for some other reason, you'll probably want to have those parts that are working being taken into account by codeassist. This isn't on the plan currently, will consider post 2.0. In 2.1, we added support for source exclusion patterns. Note that excluded sources are excluded from build, search, codeassist, etc... in a consistent manner. Closing. |