Bug 204765 - Option to update older FX project files in newer NB
Option to update older FX project files in newer NB
Status: RESOLVED FIXED
Product: javafx
Classification: Unclassified
Component: Deployment
7.1
PC Other
: P2 (vote)
: 7.2
Assigned To: Petr Somol
issues@javafx
et_14
: PLAN
Depends on:
Blocks: 199283
  Show dependency treegraph
 
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
:


Attachments

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
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo