[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] [plugin-devel] How to automatically update version in site.xml in headless snapshot builds? Where to find CDT example of headless building?
|
If you take a look at /org.eclipse.cdt.releng/build.xml, we use a replace task to update site.xml (search for "<replace file="${buildDirectory}/site/eclipse/site.xml">" in build.xml).
Regards,
Vivian Kong
IBM Eclipse CDT
IBM Canada Toronto Lab
"Andrey Tretyakov" ---10/31/2008 12:43:14 PM---Hello!
From: |
"Andrey Tretyakov" <andrromeda@xxxxxxxxx> |
To: |
cdt-dev@xxxxxxxxxxx |
Date: |
10/31/2008 12:43 PM |
Subject: |
[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.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev