JAL-1678 add version parameter to example files in publish phase
authorJim Procter <jprocter@dundee.ac.uk>
Thu, 5 Mar 2015 14:22:21 +0000 (14:22 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Thu, 5 Mar 2015 14:22:21 +0000 (14:22 +0000)
build.xml

index fa806fe..0a16a10 100755 (executable)
--- a/build.xml
+++ b/build.xml
       <include name="**/*"/>
     </fileset>
   </copy>
+       <replace token="http://www.jalview.org/launchApp" value="http://www.jalview.org/launchApp?version=${JALVIEW_VERSION}">
+               <fileset dir="${packageDir}/examples">
+                       <include name="**/*.html"/>
+               </fileset>
+       </replace>
   <jar update="true" index="true" jarfile="${packageDir}/examples/${jalviewLiteJar}"/>
   <jar update="true" index="true" jarfile="${packageDir}/examples/${jmolJar}">
     <manifest>