-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
78 lines (75 loc) · 4.15 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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="bmb2gfPrototype">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.5"/>
<property name="source" value="1.5"/>
<path id="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath">
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/annotations-api.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/catalina-ant.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/catalina-ha.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/catalina-tribes.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/catalina.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/el-api.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/jasper-el.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/jasper-jdt.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/jasper.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/jsp-api.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/servlet-api.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/tomcat-coyote.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/tomcat-dbcp.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/tomcat-i18n-es.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/tomcat-i18n-fr.jar"/>
<pathelement location="/opt/IBM/JazzTeamServer/server/tomcat/server/lib/tomcat-i18n-ja.jar"/>
</path>
<path id="Web App Libraries.libraryclasspath">
<pathelement location="WebContent/WEB-INF/lib/org.restlet.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.json.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.restlet.ext.json.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.restlet.ext.xml.jar"/>
<pathelement location="WebContent/WEB-INF/lib/org.restlet.ext.servlet.jar"/>
</path>
<path id="EAR Libraries.libraryclasspath"/>
<path id="bmb2gfPrototype.classpath">
<pathelement location="build/classes"/>
<path refid="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath"/>
<path refid="Web App Libraries.libraryclasspath"/>
<path refid="EAR Libraries.libraryclasspath"/>
</path>
<target name="init">
<mkdir dir="build/classes"/>
<copy includeemptydirs="false" todir="build/classes">
<fileset dir="src" excludes="**/*.launch, **/*.java"/>
</copy>
</target>
<target name="clean">
<delete dir="build/classes"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<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" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="bmb2gfPrototype.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target name="build-war" depends="build">
<mkdir dir="war"/>
<war destfile="war/bmb2gfPrototype1.war" webxml="WebContent/WEB-INF/web.xml">
<lib dir="WebContent/WEB-INF/lib/"/>
<classes dir="build/classes"/>
</war>
</target>
<target name="upload" depends="build-war">
<scp todir="[email protected]:/localhome/WebApps" password="!!ar8eb" trust="yes" file="war/bmb2gfPrototype1.war"/>
<!--<copy file="war/bmb2gfPrototype1.war" todir="/localhome/WebApps" />-->
</target>
</project>