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 203042

Summary: Absolute paths are stored in project.properties
Product: javafx Reporter: Petr Jiricka <pjiricka>
Component: PlatformAssignee: Anton Chechel <manowar>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Petr Jiricka 2011-10-04 12:17:21 UTC
1. Create a new JavaFX project
2. Open project.properties from the Files tab
You will see that this file contains hardcoded paths in the following properties:

javafx.runtime=/Users/petrjiricka/software/javafx-sdk2.0.2-beta/rt
javafx.sdk=/Users/petrjiricka/software/javafx-sdk2.0.2-beta

These should be stored in private/private.properties, to make the project versionable.

It would also be useful if build script detected whether these properties are defined, and if not, it would gracefully fail with a clear message asking the user to set the properties. (This approach is also used for handling missing server in Java EE project types.)
Comment 1 David Strupl 2011-10-07 13:51:45 UTC

*** This bug has been marked as a duplicate of bug 202455 ***