update author list in license for (JAL-826)
[jalview.git] / utils / InstallAnywhere / jalview_buildinstaller.xml
index 29edef8..b43ee7e 100644 (file)
@@ -1,38 +1,59 @@
-<?xml version="1.0"?>\r
-<project name="jalviewInstallAnywhere" default="build" basedir=".">\r
-  <property name="IA_LOCATION" value="/homes/ws-dev1/Macrovision/InstallAnywhere_2008_VP1_Standard"/>\r
-  <property name="IA_PROJECT" location="Jalview.iap_xml"/>\r
-  <property name="ABS_PATH" value="\/homes\/ws-dev1\/jalview"/> <!--/homes/ws-dev1/jalview"/> -->\r
-  <!-- location of top level of jalview distribution directory -->\r
-  <property name="CUR_PATH" location="../../." />\r
-  <property name="USER_HOME" location="~" />\r
-  <property name="DEST_IADIR" location="${CUR_PATH}/JalviewBuild" />\r
-  <property name="java.awt.headless" value="true"/>\r
-  <taskdef name="buildinstaller" classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask">\r
-  <classpath>\r
-    <fileset dir="${IA_LOCATION}/resource/build">\r
-      <include name="iaant.jar" />\r
-    </fileset>\r
-  </classpath>\r
-  </taskdef>\r
-  <target name="build">\r
-  <copy file="${IA_PROJECT}" tofile="${IA_PROJECT}_reloc.iap_xml"/>\r
-  <replaceregexp\r
-    match="${ABS_PATH}"\r
-    replace="${CUR_PATH}">\r
-   <fileset file="${IA_PROJECT}_reloc.iap_xml" />\r
-  </replaceregexp>\r
-  <!--<replaceregexp\r
-    match="/homes/ws-dev1"\r
-    replace="${USER_HOME}">\r
-   <fileset file="${IA_PROJECT}_reloc.iap_xml" />\r
-  </replaceregexp> -->\r
-\r
-  <buildinstaller \r
-     IAlocation="${IA_LOCATION}"\r
-     IAProjectFile="${IA_PROJECT}_reloc.iap_xml"\r
-     BuildOutputLocation="${DEST_IADIR}"\r
-     \r
-/>\r
-</target>\r
-</project>\r
+<?xml version="1.0"?>
+<!--
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * 
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<project name="jalviewInstallAnywhere" default="build" basedir=".">
+  <property name="IA_LOCATION" value="/homes/ws-dev1/Macrovision/InstallAnywhere_2008_VP1_Standard"/>
+  <property name="IA_PROJECT" location="Jalview.iap_xml"/>
+  <property name="ABS_PATH" value="/homes/ws-dev1/jalview"/> <!-- \/utils\/InstallAnywhere"/> --> <!--/homes/ws-dev1/jalview"/> -->
+  <!-- location of top level of jalview distribution directory -->
+  <property name="CUR_PATH" location="../../." />
+  <property name="USER_HOME" location="~" />
+  <property name="DEST_IADIR" location="${CUR_PATH}/JalviewBuild" />
+  <property name="java.awt.headless" value="true"/>
+  <taskdef name="buildinstaller" classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask">
+  <classpath>
+    <fileset dir="${IA_LOCATION}/resource/build">
+      <include name="iaant.jar" />
+    </fileset>
+  </classpath>
+  </taskdef>
+  <target name="build">
+  <copy file="mac_logo.icns" tofile="${CUR_PATH}/mac_logo.icns" overwrite="true"/>
+  <copy file="${IA_PROJECT}" tofile="${IA_PROJECT}_reloc.iap_xml" overwrite="true"/>
+  <replace
+    token="${ABS_PATH}"
+    value="${CUR_PATH}"
+   file="${IA_PROJECT}_reloc.iap_xml" />
+  <buildinstaller 
+     IAlocation="${IA_LOCATION}"
+     IAProjectFile="${IA_PROJECT}_reloc.iap_xml"
+     BuildOutputLocation="${DEST_IADIR}"
+     
+/>
+ <delete>
+       <fileset dir="${CUR_PATH}">
+               <include name="mac_logo.icns"/>
+       </fileset>
+ <fileset dir=".">
+   <include name="${IA_PROJECT}_reloc*"/>
+   <include name="iabuild.xml" />
+   <include name="*locales" />
+</fileset>
+ </delete>
+</target>
+</project>