apply gpl development license
[jalview.git] / utils / InstallAnywhere / jalview_buildinstaller.xml
1 <?xml version="1.0"?>
2 <!--
3    * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
4    * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
5    * 
6    * This program is free software; you can redistribute it and/or
7    * modify it under the terms of the GNU General Public License
8    * as published by the Free Software Foundation; either version 2
9    * of the License, or (at your option) any later version.
10    * 
11    * This program is distributed in the hope that it will be useful,
12    * but WITHOUT ANY WARRANTY; without even the implied warranty of
13    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    * GNU General Public License for more details.
15    * 
16    * You should have received a copy of the GNU General Public License
17    * along with this program; if not, write to the Free Software
18    * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
19 -->
20 <project name="jalviewInstallAnywhere" default="build" basedir=".">
21   <property name="IA_LOCATION" value="/homes/ws-dev1/Macrovision/InstallAnywhere_2008_VP1_Standard"/>
22   <property name="IA_PROJECT" location="Jalview.iap_xml"/>
23   <property name="ABS_PATH" value="/homes/ws-dev1/jalview"/> <!-- \/utils\/InstallAnywhere"/> --> <!--/homes/ws-dev1/jalview"/> -->
24   <!-- location of top level of jalview distribution directory -->
25   <property name="CUR_PATH" location="../../." />
26   <property name="USER_HOME" location="~" />
27   <property name="DEST_IADIR" location="${CUR_PATH}/JalviewBuild" />
28   <property name="java.awt.headless" value="true"/>
29   <taskdef name="buildinstaller" classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask">
30   <classpath>
31     <fileset dir="${IA_LOCATION}/resource/build">
32       <include name="iaant.jar" />
33     </fileset>
34   </classpath>
35   </taskdef>
36   <target name="build">
37     <copy file="mac_logo.icns" tofile="${CUR_PATH}/mac_logo.icns"/>
38   <copy file="${IA_PROJECT}" tofile="${IA_PROJECT}_reloc.iap_xml"/>
39   <replace
40     token="${ABS_PATH}"
41     value="${CUR_PATH}"
42    file="${IA_PROJECT}_reloc.iap_xml" />
43   <buildinstaller 
44      IAlocation="${IA_LOCATION}"
45      IAProjectFile="${IA_PROJECT}_reloc.iap_xml"
46      BuildOutputLocation="${DEST_IADIR}"
47      
48 />
49  <delete>
50         <fileset dir="${CUR_PATH}">
51                 <include name="mac_logo.icns"/>
52         </fileset>
53  <fileset dir=".">
54    <include name="${IA_PROJECT}_reloc*"/>
55    <include name="iabuild.xml" />
56    <include name="*locales" />
57 </fileset>
58  </delete>
59 </target>
60 </project>