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 42735

Summary: Avoid version "seesawing" in GeneratedFilesHelper
Product: projects Reporter: Jesse Glick <jglick>
Component: Ant ProjectAssignee: Jesse Glick <jglick>
Severity: blocker CC: jglick, mkuchtiak, pjiricka
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535, 87596    

Description Jesse Glick 2004-05-03 19:48:15 UTC
As needed:

- passing parameters to the stylesheet
(automatically affect CRC32 hash)

- passing an "extra hash" to represent any
included or imported or loaded resources

- include an explicit ordered version number to
prevent stylesheet "seesawing"

- ability to generate content w/o XSLT
Comment 1 Jesse Glick 2004-06-15 13:02:57 UTC
Not apparently needed for D. Should be considered for E.
Comment 2 Jesse Glick 2005-09-12 23:02:44 UTC
The third in particular is desirable.
Comment 3 Jesse Glick 2005-09-12 23:02:58 UTC
*** Issue 64058 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2006-02-03 22:22:33 UTC
*** Issue 72243 has been marked as a duplicate of this issue. ***
Comment 5 Milan Kuchtiak 2006-02-28 09:26:24 UTC
We also need to add an extra parameter to transformer object that represents an
additional xml source.


Than we also need to provide the CRC calculation for this file.

Currently we use the custom copy of GeneratedFilesHelper class :
Comment 6 Milan Kuchtiak 2006-08-08 14:42:33 UTC
Generally, it is useful to generate build-impl not just from one xml source
(project.xml). Multiple project types can create multiple configuration files
for any reason.

There is another advantage: project.xml configuration data don't need to be
updated from release to release.
Comment 7 Jesse Glick 2008-04-09 20:05:18 UTC
*** Issue 132255 has been marked as a duplicate of this issue. ***
Comment 8 Jesse Glick 2009-01-06 14:54:23 UTC
I am working on #3 as that seems to be the major issue in practice. If other issues are still needed, please file them
Comment 9 Jesse Glick 2009-01-06 17:10:36 UTC
core-main #9f31b509242e
Comment 10 Quality Engineering 2009-01-07 05:37:06 UTC
Integrated into 'main-golden', will be available in build *200901070201* on (upload may still be in progress)
User: Jesse Glick <>
Log: #42735: prevent "seesaw" effect on metadata from opening a project alternately in two different IDE versions.
As of now, the IDE will not refresh build scripts created with newer versions of stylesheets.
After a refresh, will use @ in *.stylesheet.crc32 to record the module spec version.
(6.5 and earlier IDEs will still overwrite scripts with their old stylesheets.)