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 - Absolute paths are stored in project.properties
Summary: Absolute paths are stored in project.properties
Status: RESOLVED DUPLICATE of bug 202455
Alias: None
Product: javafx
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 12:17 UTC by Petr Jiricka
Modified: 2011-10-07 13:51 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 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 ***