-<?xml version="1.0"?>\r
-<project name="jalviewInstallAnywhere" default="build" basedir=".">\r
- <property name="IA_LOCATION" value="/homes/ws-dev1/Macromedia/InstallAnywhere_2008"/>\r
- <property name="IA_PROJECT" location="Jalview.iap_xml"/>\r
- <property name="ABS_PATH" value="/homes/ws-dev1/jalview"/>\r
- <property name="CUR_PATH" location="." />\r
- <property name="USER_HOME" location="~" />\r
- <taskdef name="buildinstaller" classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask"/>\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
-/>\r
- <copy todir="${DEST_IADIR}">\r
- <fileset dir="${IA_PROJECT}_reloc.iap_xml_Build_Output">\r
- <include name="**/*"/>\r
- <include name="*.*"/>\r
- </fileset>\r
-</copy>\r
-</target>\r
-<!-- additionalparameter=""\r
- failonerror="true"\r
- BuildLinuxWithVM="true"\r
- BuildMacOSX="true"\r
- BuildWebInstallers="true"\r
- OptimizeWebInstallers="true" -->\r
-</project>\r
+<?xml version="1.0"?>
+<!--
+ Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.0.b2)
+ Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+
+ This program 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 2
+ of the License, or (at your option) any later version.
+
+ This program 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 this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+-->
+<project name="jalviewInstallAnywhere" default="build" basedir=".">
+ <property name="IA_LOCATION" value="/homes/ws-dev1/Macrovision/InstallAnywhere_2009_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"/>
+ <copy file="${IA_PROJECT}" tofile="${IA_PROJECT}_reloc.iap_xml"/>
+ <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>