Bug 193436 - Allow library registration using AnnotationProcessor
Allow library registration using AnnotationProcessor
Status: NEW
Product: projects
Classification: Unclassified
Component: Libraries
7.0
All All
: P3 (vote)
: 7.2
Assigned To: Tomas Zezula
issues@projects
: API, PLAN
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-15 12:35 UTC by Tomas Zezula
Modified: 2012-02-24 09:33 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2010-12-15 12:35:48 UTC
Allow library registration using AnnotationProcessor by annotation on package pointing to the definition file. The AP also should warn if the library contains file based URL.
Comment 1 Jesse Glick 2011-01-07 01:27:16 UTC
Good idea. But why not generate the definition file from the annotation?

@Library.Registration(type="j2se", name="swing-layout", displayName="#swing-layout", volumes={
  @Library.Volume(type="classpath", resources="jar:nbinst://org.jdesktop.layout/modules/ext/swing-layout-1.0.4.jar!/"),
  ....
})
package p;
Comment 2 Tomas Zezula 2011-01-07 09:18:25 UTC
Even better.
OK, thanks Jesse I will do it in this way.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo