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)
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).
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