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

Summary: Option to update older FX project files in newer NB
Product: javafx Reporter: Petr Somol <psomol>
Component: DeploymentAssignee: Petr Somol <psomol>
Status: RESOLVED FIXED    
Severity: normal CC: neigor
Priority: P2 Keywords: PLAN
Version: 7.1   
Hardware: PC   
OS: Other   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 199283    

Description Petr Somol 2011-11-07 11:41:57 UTC

    
Comment 1 Petr Somol 2012-01-23 16:34:37 UTC
implemented in jetmain
http://hg.netbeans.org/jet-main/rev/ee69677e6ed9

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.