summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2007-11-28 12:21:43 +0000
committerJani Laakso <jani.laakso@itmill.com>2007-11-28 12:21:43 +0000
commit9a5cbb224983331c0b555bcac1df4fb1227e33ce (patch)
tree93637adebaf567ec6a96e327c3561b4bd4a117b3
parent13d9a13b5693d74945e46de032b9a72801e3689a (diff)
downloadvaadin-framework-9a5cbb224983331c0b555bcac1df4fb1227e33ce.tar.gz
vaadin-framework-9a5cbb224983331c0b555bcac1df4fb1227e33ce.zip
WAR package now contains version number on WebContent/index.html
svn changeset:3015/svn branch:trunk
-rw-r--r--build/build.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/build/build.xml b/build/build.xml
index b93057b05a..5f92c4c555 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -495,13 +495,15 @@
<!-- copy WebContent/index.html and rename it -->
<copy todir="${output-dir}/WebContent">
- <filterset>
- <filter token="VERSION" value="${version}" />
- </filterset>
+ <filterchain>
+ <expandproperties />
+ <replacetokens begintoken="&lt;" endtoken=">">
+ <token key="version" value="${version}" />
+ <token key="/version" value="" />
+ </replacetokens>
+ </filterchain>
<fileset dir="build/package">
- <patternset>
- <include name="webcontent-index.html" />
- </patternset>
+ <filename name="webcontent-index.html" />
</fileset>
</copy>
<move file="${output-dir}/WebContent/webcontent-index.html" tofile="${output-dir}/WebContent/index.html" />