-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
98 lines (96 loc) · 5.27 KB
/
build.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. --><project basedir="." default="build" name="impactportal">
<property environment="env"/>
<property name="ECLIPSE_HOME" value="../../sts-bundle/sts-3.8.3.RELEASE/"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>
<path id="Web App Libraries.libraryclasspath">
<pathelement location="WebContent/WEB-INF/lib/bcpkix-jdk15on-1.50.jar"/>
<pathelement location="WebContent/WEB-INF/lib/bcprov-jdk15on-1.50.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-io-2.6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-lang3-3.8.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/gss-2.1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/guice-4.2.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpclient-4.5.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpcore-4.4.6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpmime-4.5.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javax.inject-1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/json.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jsse-2.1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jstl-1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/mailapi.jar"/>
<pathelement location="WebContent/WEB-INF/lib/myproxy-2.1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/netcdfAll-4.6.12.jar"/>
<pathelement location="WebContent/WEB-INF/lib/openid4java-1.0.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.apache.oltu.commons.encodedtoken-1.0.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.apache.oltu.oauth2.client-1.0.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.apache.oltu.oauth2.common-1.0.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.apache.oltu.oauth2.jwt-1.0.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-core-5.1.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-core-5.1.3.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/ssl-proxies-2.1.0.jar"/>
</path>
<path id="EAR Libraries.libraryclasspath"/>
<path id="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath">
<fileset dir="${env.TOMCAT_LIBS}" includes="*.jar" />
</path>
<path id="impactportal.classpath">
<path refid="Web App Libraries.libraryclasspath"/>
<pathelement location="build/classes"/>
<path refid="EAR Libraries.libraryclasspath"/>
<path refid="Apache Tomcat v7.0 [Apache Tomcat v7.0].libraryclasspath"/>
</path>
<target name="init">
<mkdir dir="build/classes"/>
<copy includeemptydirs="false" todir="build/classes">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="build/classes"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build">
<war destfile="impactportal.war" webxml="WebContent/WEB-INF/web.xml">
<fileset dir="WebContent">
<include name="**/*.*"/>
</fileset>
<classes dir="build/classes"/>
</war>
</target>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="impactportal.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
<copy todir="${ant.library.dir}">
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</copy>
<unzip dest="${ant.library.dir}">
<patternset includes="jdtCompilerAdapter.jar"/>
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</unzip>
</target>
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<antcall target="build"/>
</target>
<target name="Main">
<java classname="Main" failonerror="true" fork="yes">
<classpath refid="impactportal.classpath"/>
</java>
</target>
</project>