Bug 193436 - Allow library registration using AnnotationProcessor
Summary: Allow library registration using AnnotationProcessor
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: API, PLAN
Depends on:
Blocks:
 
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
Exception Reporter:


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