This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 202965

Summary: Preloader from JAR isn't correctly added
Product: javafx Reporter: Stepan Zebra <stezeb>
Component: PlatformAssignee: Petr Somol <psomol>
Status: RESOLVED FIXED    
Severity: normal CC: mmirilovic
Priority: P2    
Version: 7.1   
Hardware: PC   
OS: Windows XP x64   
Issue Type: DEFECT Exception Reporter:

Description Stepan Zebra 2011-10-03 09:07:33 UTC
Product Version: NetBeans IDE Dev (Build 201110020601)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

Setting a preloader from JAR file using "Choose Preloader from JAR" option results in project being configured to use a preloader class, but the JAR isn't added into "Libraries". Thus, the project fails to run with ClassNotFoundException.
Comment 1 Petr Somol 2011-10-27 12:37:38 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/e42a1654c224

see also
http://hg.netbeans.org/jet-main/rev/d52f4deea7d0
which implements dependency removal for both JAR and Project based preloaders
as part of fix of
http://netbeans.org/bugzilla/show_bug.cgi?id=202966