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 24488

Summary: API for outputs
Product: projects Reporter: Pavel Buzek <pbuzek>
Component: Generic InfrastructureAssignee: Chris Webster <cwebster>
Status: CLOSED WONTFIX    
Severity: blocker CC: mkleint
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows 3.1/NT   
Issue Type: TASK Exception Reporter:
Bug Depends on: 23294    
Bug Blocks: 19955    

Description Pavel Buzek 2002-06-06 16:17:09 UTC
Design an API for project outputs (targets, recepies, etc.) -- how to represent a target, 
dependencies between targets, relation to sources, etc.
Comment 1 Milos Kleint 2002-06-06 16:24:59 UTC
Jan posted a mail about user interface concerning targets.
http://projects.netbeans.org/servlets/ReadMsg?msgId=330624&listName=dev
Comment 2 Pavel Buzek 2002-07-26 14:09:49 UTC
remaining parts for M3:
1. Build targets dependencies checking (Test for cyclic build target dependencies)-Done
2. Timestamps checking enhancements
3. Use dependency (covered separately by 23291)
4. Interproject references (for build dependencies) -- depends on 23294
5. Dependency Cache (covered separately by 21298)
Comment 3 Pavel Buzek 2002-07-30 13:21:03 UTC
Must-have features for milestone3, have impact on APIs (at least potential).
Comment 4 Chris Webster 2002-08-01 16:22:59 UTC
The ability to query mime types for output is provided as part of the
projects API. Each output is a container supplying a content
descriptor with the ContentDescriptor.MIME_PROJECT_OUTPUT mime type. A
query of the form
project.getContainersList().search(ContentDescriptor.MIME_TYPE_OUTPUT)
will yield the set of output containers. Each build target may also
specify additional mime types representing the output of the build
target. Thus another build target may execute the query described
above first to obtain all build targets and then perform an additional
query on the result to search for a mime type which can be used as
input for the build target. The query and defintion mechanisms already
exists and thus I am closing this task.  
Comment 5 Pavel Buzek 2002-09-17 12:46:17 UTC
closing, it's done