Bug 193436 - Allow library registration using AnnotationProcessor
Allow library registration using AnnotationProcessor
Status: RESOLVED WONTFIX
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: 2016-07-07 08:38 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.
Comment 3 Martin Balin 2016-07-07 08:38:02 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss


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