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 204765 - Option to update older FX project files in newer NB
Summary: Option to update older FX project files in newer NB
Alias: None
Product: javafx
Classification: Unclassified
Component: Deployment (show other bugs)
Version: 7.1
Hardware: PC Other
: P2 normal (vote)
Assignee: Petr Somol
Keywords: PLAN
Depends on:
Blocks: 199283
  Show dependency tree
Reported: 2011-11-07 11:41 UTC by Petr Somol
Modified: 2012-01-23 16:34 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Somol 2011-11-07 11:41:57 UTC

Comment 1 Petr Somol 2012-01-23 16:34:37 UTC
implemented in jetmain

New functionality:
On opening a JavaFX 2.0+ project from older NB version in newer NB version the project build script file jfx-impl.xml is checked against jfx-impl.xml supported by the newer NB version. In case the files do not match, the older project build script is backed up and replaced by the current NB version. All past backup files are preserved. In case this auto-update has taken place, a readme file UPDATED.TXT is generated and presented to the user in editor. 
The auto-display of readme file in editor after auto-update can be disabled using property javafx.disable.autoupdate.notification=true which makes the auto-update process silent. The auto-update process can be entirely disabled by setting property javafx.disable.autoupdate=true. Remark: this mechanism affects the JavaFX specific build script only; files build-impl.xml and build.xml are treated identically as in J2SE projects, i.e., build-impl.xml gets updated silently and build.xml is never modified by NB so as to allow users to make persistent modifications to the build process.