Add buildPropertiesFile to applet jar
[jalview.git] / build.xml
index 72a9495..4eb6243 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -38,7 +38,7 @@
         </fileset> -->
       </path>
 
-      <property name="JALVIEW_VERSION" value="2.02"/>
+      <property name="JALVIEW_VERSION" value="2.03"/>
       <property name="" value=""/>
       <property name="libDir" value="lib"/>
       <property name="resourceDir" value="resources"/>
@@ -89,7 +89,7 @@
       </tstamp>
       <properties file="${outputDir}/.build_properties">
         <header>
-          ---Jalview Application Properties---
+          ---Jalview Build Details---
         </header>
         <property name="VERSION" value="${JALVIEW_VERSION}"/>
         <property name="BUILD_DATE" value="${build.date}"/>
        excludes="ext/**,MCview/**,org/**,vamsas/**"/>
   </target>
 
-  <target name="packageApplet" depends="compileApplet">
+  <target name="packageApplet" depends="compileApplet, buildPropertiesFile">
        <jar destfile="in.jar">
         <fileset dir="${outputDir}">
           <include name="com/**"/>
           <include name="jalview/**"/>
+          <include name=".build_properties"/>
           <include name="${resourceDir}/images/idwidth.gif"/>
         </fileset>
       </jar>