Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] [plugin-devel] How to automatically update version in site.xml in headless snapshot builds? Where to find CDT example of headless building?

Hello!
I've developed plugin and then added for it headless build from command line. (The result is a ZIP-archive with the plugin, feature and site.xml) The plugin (and feature) has version 1.2.0. When I build official releases, all is OK. But when I build nightly snapshot releases, the version is something like 1.2.0.20081031 and all links in site.xml become invalid.

Is there any method in build.xml script that allows changing "1.2.0" to "1.2.0.20081031" in site.xml automatically?

How is it done for the CDT package?

Best regards,
               Andrey.


Back to the top