| 456 |
rajveer |
1 |
<?xml version="1.0"?>
|
|
|
2 |
<project default="main" name="PageLoaderServer">
|
|
|
3 |
<property name="message" value="Building the PageLoaderServer.jar file."/>
|
|
|
4 |
|
|
|
5 |
<property environment="env"/>
|
|
|
6 |
<property name="thirdparty.location" value="../lib"/>
|
|
|
7 |
<property name="debuglevel" value="source,lines,vars"/>
|
|
|
8 |
<property name="target" value="1.6"/>
|
|
|
9 |
<property name="source" value="1.6"/>
|
|
|
10 |
<path id="EAR Libraries.libraryclasspath"/>
|
|
|
11 |
<path id="ThriftConfig.classpath">
|
|
|
12 |
<pathelement location="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
|
|
13 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
|
|
14 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
|
|
15 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-2_7_1/xalan.jar"/>
|
|
|
16 |
<path refid="EAR Libraries.libraryclasspath"/>
|
|
|
17 |
</path>
|
|
|
18 |
<path id="Common.classpath">
|
|
|
19 |
<path refid="ThriftConfig.classpath"/>
|
|
|
20 |
<pathelement location="${thirdparty.location}/ThriftConfig.jar"/>
|
|
|
21 |
<pathelement location="${thirdparty.location}/Common.jar"/>
|
|
|
22 |
</path>
|
|
|
23 |
<path id="PageLoaderServer.classpath">
|
|
|
24 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.4/commons-lang-2.4.jar"/>
|
|
|
25 |
<pathelement location="${thirdparty.location}/readonly/apache/poi-3.6/poi-3.6-20091214.jar"/>
|
|
|
26 |
<pathelement location="${thirdparty.location}/readonly/apache/poi-3.6/poi-scratchpad-3.6-20091214.jar"/>
|
|
|
27 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
|
|
|
28 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-io-1.3.2/commons-io-1.3.2.jar"/>
|
|
|
29 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.3/commons-lang-2.3.jar"/>
|
|
|
30 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.4/commons-lang-2.4-sources.jar"/>
|
|
|
31 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-logging-1.0.4/commons-logging-1.0.4.jar"/>
|
|
|
32 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-logging-api-1.1/commons-logging-api-1.1.jar"/>
|
|
|
33 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-validator-1.3.1/commons-validator-1.3.1.jar"/>
|
|
|
34 |
<pathelement location="${thirdparty.location}/readonly/apache/jsp-2.1/jsp-api.jar"/>
|
|
|
35 |
<pathelement location="${thirdparty.location}/readonly/apache/sevlet-2.5/servlet-api.jar"/>
|
|
|
36 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/struts2-convention-plugin-2.1.8.1.jar"/>
|
|
|
37 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/struts2-core-2.1.8.1.jar"/>
|
|
|
38 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/struts2-rest-plugin-2.1.8.1.jar"/>
|
|
|
39 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/xstream-1.2.2.jar"/>
|
|
|
40 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/xwork-core-2.1.6.jar"/>
|
|
|
41 |
<pathelement location="${thirdparty.location}/readonly/apache/tomcat-juli/tomcat-juli.jar"/>
|
|
|
42 |
<pathelement location="${thirdparty.location}/readonly/apache/velocity-1.6.3/velocity-1.6.3.jar"/>
|
|
|
43 |
<pathelement location="${thirdparty.location}/readonly/jython/jython.jar"/>
|
|
|
44 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xalan.jar"/>
|
|
|
45 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/serializer.jar"/>
|
|
|
46 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xercesImpl.jar"/>
|
|
|
47 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xml-apis.jar"/>
|
|
|
48 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xsltc.jar"/>
|
|
|
49 |
|
|
|
50 |
<pathelement location="${thirdparty.location}/ContentStore.jar"/>
|
|
|
51 |
<path refid="ThriftConfig.classpath"/>
|
|
|
52 |
<path refid="Common.classpath"/>
|
|
|
53 |
</path>
|
|
|
54 |
|
|
|
55 |
<target name="init">
|
|
|
56 |
<mkdir dir="bin"/>
|
|
|
57 |
<copy includeemptydirs="false" todir="bin">
|
|
|
58 |
<fileset dir="src">
|
|
|
59 |
<exclude name="**/*.launch"/>
|
|
|
60 |
<exclude name="**/*.java"/>
|
|
|
61 |
</fileset>
|
|
|
62 |
</copy>
|
|
|
63 |
</target>
|
|
|
64 |
|
|
|
65 |
<target name="clean">
|
|
|
66 |
<delete dir="bin"/>
|
|
|
67 |
<delete dir="build"/>
|
|
|
68 |
</target>
|
|
|
69 |
<target depends="clean" name="cleanall"/>
|
|
|
70 |
|
|
|
71 |
<target depends="build-project" name="build"/>
|
|
|
72 |
|
|
|
73 |
<target depends="init" name="build-project">
|
|
|
74 |
<echo message="${ant.project.name}: ${ant.file}"/>
|
|
|
75 |
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
|
|
|
76 |
<src path="src"/>
|
|
|
77 |
<classpath refid="PageLoaderServer.classpath"/>
|
|
|
78 |
</javac>
|
|
|
79 |
</target>
|
|
|
80 |
|
|
|
81 |
<target name="main" depends="cleanall, build, compress">
|
|
|
82 |
<echo>
|
|
|
83 |
${message}
|
|
|
84 |
</echo>
|
|
|
85 |
</target>
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
<target name="compress">
|
|
|
89 |
<mkdir dir="build"/>
|
|
|
90 |
|
|
|
91 |
<copy todir="build">
|
|
|
92 |
<fileset dir="bin">
|
|
|
93 |
<include name="**/*.class"/>
|
|
|
94 |
</fileset>
|
|
|
95 |
</copy>
|
|
|
96 |
|
|
|
97 |
<jar
|
|
|
98 |
destfile="../lib/PageLoaderServer.jar"
|
|
|
99 |
basedir="build"/>
|
|
|
100 |
</target>
|
|
|
101 |
</project>
|