Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 199615

Summary: Secondary source root in free-form library is ignored
Product: java Reporter: Jiri Skrivanek <jskrivanek>
Component: FreeformAssignee: Tomas Zezula <tzezula>
Status: VERIFIED WONTFIX QA Contact: issues <issues.netbeans.org>
Priority: P4 CC: jlahoda
Version: 7.0.1   
Target Milestone: TBD   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Issue Type: DEFECT Exception Report:
Attachments: Projects for test.

Description Jiri Skrivanek 2011-06-22 11:35:42 UTC
Created attachment 109048 [details]
Projects for test.

Classes from secondary source root in free-form library are ignored in main application. To reproduce:

- open attached projects
- open MainApp.java. Class Divider should be known but it is declared as missing. If you try to compile from command-line, it works (ant -f MainApp/build.xml).

Product Version: NetBeans IDE 7.0.1 RC1 (Build 201106212100)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b16
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Jan Lahoda 2011-10-17 08:56:28 UTC
The problem is that the freeform does not bind src2 with the resulting jar (via <built-to>dist/TestFreeformLibrary.jar</built-to>). After this is corrected, the dependencies work correctly. However, the freeform does not appear to fire the correct events, so that a restart is required (->P4).
Comment 2 Martin Balin 2016-07-07 07:16:10 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