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 190364 - Pack200 flag in Applications tab of properties is ignored completely. Pack200 on by default. Causes problems with Resource Loading From Jar
Summary: Pack200 flag in Applications tab of properties is ignored completely. Pack20...
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 22:41 UTC by esmithbss
Modified: 2011-05-16 13:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-09-14 22:41:26 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

By default, within a JavaFX application, the pack200 option is set on in project.properties (pack200.jar.compress=true).  In general this is fine; however, this causes problems when loading resources from the resulting jar file using getClass().getResource("xxx").  In this situation, the getResource() call will return null due to it's inability to locate the folder within the jar file.

Additionally, the IDE Properties Wizard for the JavaFX Projects does nothing to fix or maintain this value within the project properties.


To Reproduce:

Create a new JavaFX application. <= At this point, the pack200.jar.compress flag is set to true.

Use the project properties wizard to set the flag to false, then close the wizard and save everything <= The display says the flag is already false.  The actual value is true.

Use the project properties wizard to set the flag to true, then close the wizard and save everything <= The display says the flag is true. The project.properties is true.

Use the project properties wizard to set the flag to false, then close the wizard and save everything <= The display says the flag is already false.  The actual value is true.
Comment 1 David Strupl 2011-05-16 13:53:51 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.