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 27633 - APIs for manipulating Compiled Classes targets
Summary: APIs for manipulating Compiled Classes targets
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2002-09-27 10:06 UTC by Petr Jiricka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2002-09-27 10:06:14 UTC
The webapps team needs APIs, which would allow 
manipulation of Compiled Classes targets, for example:

- Creating a new target with a given input fileset, output 
directory and build options. Options should have 
reasonable defaults, so they work well even if not 
specified.
- Finding an existing target for a specific source or 
classpath root
- Modidying an existing target - changing the input 
fileset, output directory and build options
- Deleting an existing target
Comment 1 Svata Dedic 2002-09-27 12:22:11 UTC
(1) would it be sufficient to create build target with some reasonable
default setup then change its options programmatically ?

(3) Output directory is OK, input fileset changes will be more
restricted: e.g. instead of buildTarget.setInputs(something) it would
be more like aSourceTree.assignTo(buildTarget) - to ensure that no two
build targets compile the same source. 
Comment 2 Petr Jiricka 2002-09-27 12:51:00 UTC
Yes, all this is fine.

Also, there is one more thing that may be needed: getting 
all Compiled Classes targets. This may be supported 
directly be the infrastructure, though I am not sure.
Comment 3 Jan Becicka 2004-08-10 16:05:10 UTC
Fixed by new ant based build system