diff options
author | snowleo <schneeleo@gmail.com> | 2011-09-18 01:25:04 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-09-18 01:25:04 +0200 |
commit | 997a409b5a29720e8f2567d8153463a24f0d7dd8 (patch) | |
tree | f8949d67f085c039638cf73e9253e5ad44148405 /build.xml | |
parent | a6673c51572a20f3f1a1c08363fdefb80055c5fd (diff) | |
download | Essentials-997a409b5a29720e8f2567d8153463a24f0d7dd8.tar Essentials-997a409b5a29720e8f2567d8153463a24f0d7dd8.tar.gz Essentials-997a409b5a29720e8f2567d8153463a24f0d7dd8.tar.lz Essentials-997a409b5a29720e8f2567d8153463a24f0d7dd8.tar.xz Essentials-997a409b5a29720e8f2567d8153463a24f0d7dd8.zip |
Using ant properties
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <project default="collect"> <target name="setversion"> - <replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: %build.number%"/> - <replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: %build.number%"/> - <replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: %build.number%"/> + <replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: ${BUILDNUMBER}"/> + <replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: ${BUILDNUMBER}"/> + <replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: ${BUILDNUMBER}"/> </target> <target name="buildall" depends="setversion"> <ant dir="Essentials" antfile="build.xml"/> |