-
Notifications
You must be signed in to change notification settings - Fork 17
/
releaseTargets.xml
69 lines (67 loc) · 2.15 KB
/
releaseTargets.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<target name="createWar"
depends="website, gp-library"
description="Create a war file to use for platforms without an installer">
<delete dir="wartemp" />
<mkdir dir="wartemp" />
<delete dir="ziptemp" />
<mkdir dir="ziptemp" />
<mkdir dir="ziptemp/gpinstall" />
<copy todir="ziptemp/gpinstall/resources">
<fileset dir="resources" />
</copy>
<mkdir dir="ziptemp/gpinstall/taskLib" />
<mkdir dir="ziptemp/gpinstall/temp" />
<mkdir dir="ziptemp/gpinstall/logs" />
<mkdir dir="ziptemp/gpinstall/iotemp" />
<copy todir="wartemp">
<fileset dir="website">
<exclude name="doc/**" />
</fileset>
</copy>
<copy todir="wartemp" file="installer-2014-sp1/GenePatternLogo.jpg" />
<copy todir="wartemp/WEB-INF/classes">
<fileset dir="build">
<include name="Run*.class" />
</fileset>
</copy>
<copy todir="wartemp/WEB-INF/classes">
<fileset dir="src">
<include name="*.xml" />
<include name="*.properties" />
</fileset>
</copy>
<copy todir="wartemp/WEB-INF/lib">
<fileset dir="build/jars">
<include name="**.jar" />
</fileset>
<fileset dir="build/website/lib">
<include name="**.jar" />
</fileset>
<fileset dir="lib">
<include name="xerces.jar" />
<include name="saaj.jar" />
<include name="jaxrpc.jar" />
</fileset>
</copy>
<copy todir="wartemp/downloads">
<fileset dir="build">
<include name="GenePattern.zip" />
<include name="GenePatternMatlab.zip" />
<include name="GenePattern.jar" />
<include name="runVisualizer.jar" />
</fileset>
</copy>
<war destfile="gp.war" basedir="wartemp"
webxml="wartemp/WEB-INF/web.xml">
</war>
<copy todir="ziptemp" file="installer-2014-sp1/customizeWar.xml" />
<copy todir="ziptemp" file="installer-2014-sp1/runtimeBuild.xml" />
<copy todir="ziptemp" file="installer-2014-sp1/runtimeBuild.properties" />
<move todir="ziptemp" file="gp.war" />
<zip destfile="gp_war.zip" basedir="ziptemp" />
</target>
<target name="copyWar">
<mkdir dir="installer-2014-sp1/GP_server_Build_Output/Web_Installers/InstData/warfile" />
<copy file="gp_war.zip" todir="installer-2014-sp1/GP_server_Build_Output/Web_Installers/InstData/warfile" />
</target>