Added version variable to build script and index.html. Mouse over on bowl now reveals version.

This commit is contained in:
Michael Jumper
2010-08-31 22:53:20 +00:00
parent f51e92b07f
commit 7ee970c88a
3 changed files with 11 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ build.dir=build
dist.dir=dist
doc.dir=doc
tar.dir=guacamole-0.3.0rc1
guac.version=0.3.0rc1
tar.dir=guacamole-${guac.version}
tar.src.dir=guacamole-src

View File

@@ -22,7 +22,14 @@
depends="init">
<copy todir="${build.dir}">
<fileset dir="${web.dir}"/>
</copy>
</copy>
<!-- Replace __GUAC_VERSION with declared version -->
<replace dir="${build.dir}" value="${guac.version}">
<include name="**/*.html"/>
<replacetoken><![CDATA[__GUAC_VERSION]]></replacetoken>
</replace>
<javac srcdir="${src.dir}" destdir="${build.dir}/WEB-INF/classes"
classpath="${servlet.api.jar}">
<compilerarg value="-Xlint:unchecked"/>

View File

@@ -46,7 +46,7 @@
<button id="CtrlAltDelete">Ctrl-Alt-Delete</button>
<!-- Logo and status -->
<img id="logo" src="images/guacamole-logo.png" alt="Guacamole"/>
<img id="logo" src="images/guacamole-logo.png" alt="Guacamole" title="__GUAC_VERSION"/>
<span id="state"></span>
<a href="agpl-3.0-standalone.html"><img id="license" src="images/agpl-logo.png" alt="AGPLv3"/></a>