This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29097 - Excluding of source files from build
Summary: Excluding of source files from build
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 27192 (view as bug list)
Depends on: 29963
Blocks:
  Show dependency tree
 
Reported: 2002-11-28 11:24 UTC by David Konecny
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2002-11-28 11:24:27 UTC
This is just a reminder that this is important
functionality which must be handled somehow: to be
able to exclude some files from the building in
some configurations. The usecase is that in JDK14
Configuration I want to exclude JDK13 files from
the bulding and vice versa for JDK13 Configuration.

One possible solution is to leave this up to
modules. Java module can offer this property on
its java data objects and compiled classes build
target will understand this property.

Other solution would be to provide some generic
support in infrastructure. The support would be
probably very simple. It make no sense to show
this property on all project sources. The module
writters should decide if they want to enable this
on their data objects or not. The advantage of
this support would be that all files (java, c,
...) would have this property on the same place,
with the same name, etc.
Comment 1 Vitezslav Stejskal 2002-12-05 17:33:48 UTC
*** Issue 27192 has been marked as a duplicate of this issue. ***
Comment 2 Vitezslav Stejskal 2003-01-10 13:02:29 UTC
I think the infrastructure can help much in this area. Modules
providing build targets need to implement this feature. I agree that
the UI presentation should be consistent between different modules we
could perhaps mention it in styleguide. Dirk, please, keep it in mind
when working on Netbeans styleguide.

I am assigning this task to java module, please, put it in your plans.
Also CCing Dirk to let hom know.
Comment 3 Vitezslav Stejskal 2003-01-10 13:04:00 UTC
Ehm, I wanted to say: "... the infrastructure can't help ..."
Comment 4 Jan Pokorsky 2003-11-26 16:34:19 UTC
The projects prototype has been canceled. For more details see
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss