| 162 |
naveen |
1 |
<?xml version="1.0"?>
|
| 1082 |
chandransh |
2 |
<project default="compress" basedir=".">
|
| 328 |
ashish |
3 |
<property name="thirdparty.location" value="../lib"/>
|
| 1085 |
chandransh |
4 |
<property name="build.home" value="build"/>
|
| 403 |
rajveer |
5 |
|
| 1085 |
chandransh |
6 |
<filelist id="apache.libs" dir="${basedir}/${thirdparty.location}/readonly/apache">
|
| 1087 |
chandransh |
7 |
<file name="commons-beanutils-1.7.0/commons-beanutils-1.7.0.jar"/>
|
|
|
8 |
<file name="commons-collections-3.2/commons-collections-3.2.jar"/>
|
| 1085 |
chandransh |
9 |
<file name="commons-digester-2.0/commons-digester-2.0.jar"/>
|
|
|
10 |
<file name="commons-fileupload-1.2.1/commons-fileupload-1.2.1.jar"/>
|
|
|
11 |
<file name="commons-io-1.3.2/commons-io-1.3.2.jar"/>
|
| 1092 |
chandransh |
12 |
<file name="commons-lang-2.4/commons-lang-2.4.jar"/>
|
| 1085 |
chandransh |
13 |
<file name="commons-logging-1.0.4/commons-logging-1.0.4.jar"/>
|
|
|
14 |
<file name="commons-logging-api-1.1/commons-logging-api-1.1.jar"/>
|
|
|
15 |
<file name="commons-validator-1.3.1/commons-validator-1.3.1.jar"/>
|
|
|
16 |
<file name="ezmorph/ezmorph-1.0.3.jar"/>
|
|
|
17 |
<file name="json/json-lib-2.1-jdk15.jar"/>
|
|
|
18 |
<file name="jsp-2.1/jsp-api.jar"/>
|
|
|
19 |
<file name="ognl/ognl-2.7.3.jar"/>
|
|
|
20 |
<file name="struts-2.1.8.1/struts2-convention-plugin-2.1.8.1.jar"/>
|
|
|
21 |
<file name="struts-2.1.8.1/struts2-core-2.1.8.1.jar"/>
|
|
|
22 |
<file name="struts-2.1.8.1/struts2-rest-plugin-2.1.8.1.jar"/>
|
|
|
23 |
<file name="struts-2.1.8.1/xstream-1.2.2.jar"/>
|
|
|
24 |
<file name="struts-2.1.8.1/xwork-core-2.1.6.jar"/>
|
|
|
25 |
<file name="thrift-0.2.0/libthrift.jar"/>
|
|
|
26 |
<file name="tomcat-juli/tomcat-juli.jar"/>
|
|
|
27 |
<file name="velocity-1.6.3/velocity-1.6.3.jar"/>
|
|
|
28 |
<file name="velocity-1.6.3/velocity-tools-1.4.jar"/>
|
|
|
29 |
<file name="xalan-j_2_7_1/serializer.jar"/>
|
|
|
30 |
<file name="xalan-j_2_7_1/xalan.jar"/>
|
|
|
31 |
<file name="xalan-j_2_7_1/xercesImpl.jar"/>
|
|
|
32 |
<file name="xalan-j_2_7_1/xml-apis.jar"/>
|
|
|
33 |
<file name="xalan-j_2_7_1/xsltc.jar"/>
|
|
|
34 |
<file name="xpp/xpp3_min-1.1.3.4.O.jar"/>
|
|
|
35 |
</filelist>
|
|
|
36 |
|
|
|
37 |
<filelist id="other.libs" dir="${basedir}/${thirdparty.location}">
|
|
|
38 |
<file name="readonly/bdb/je-4.1.7.jar"/>
|
|
|
39 |
<file name="readonly/freemarker/freemarker-2.3.15.jar"/>
|
|
|
40 |
<file name="readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
|
|
41 |
<file name="readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
|
|
42 |
<file name="ContentStore.jar"/>
|
|
|
43 |
<file name="Common.jar"/>
|
|
|
44 |
<file name="ThriftConfig.jar"/>
|
|
|
45 |
</filelist>
|
| 1082 |
chandransh |
46 |
|
| 1085 |
chandransh |
47 |
<path id="ContentCreation.classpath">
|
|
|
48 |
<pathelement location="${build.home}/classes"/>
|
|
|
49 |
<filelist refid="apache.libs"/>
|
|
|
50 |
<filelist refid="other.libs"/>
|
|
|
51 |
<pathelement location="${basedir}/${thirdparty.location}/readonly/apache/sevlet-2.5/servlet-api.jar"/>
|
| 1082 |
chandransh |
52 |
</path>
|
| 328 |
ashish |
53 |
|
| 315 |
rajveer |
54 |
<target name="clean">
|
| 162 |
naveen |
55 |
<delete dir="build"/>
|
| 1082 |
chandransh |
56 |
</target>
|
| 162 |
naveen |
57 |
|
| 1082 |
chandransh |
58 |
<target name="init" depends="clean">
|
| 162 |
naveen |
59 |
<mkdir dir="build"/>
|
|
|
60 |
<mkdir dir="build/WEB-INF"/>
|
|
|
61 |
<mkdir dir="build/WEB-INF/lib"/>
|
|
|
62 |
<mkdir dir="build/WEB-INF/classes"/>
|
| 1082 |
chandransh |
63 |
</target>
|
| 162 |
naveen |
64 |
|
| 1082 |
chandransh |
65 |
<target name="compile" depends="init">
|
|
|
66 |
<javac srcdir="src/main/java"
|
|
|
67 |
destdir="build/WEB-INF/classes"
|
|
|
68 |
deprecation="${compile.deprecation}"
|
|
|
69 |
optimize="${compile.optimize}"
|
|
|
70 |
source="1.6" target="1.6">
|
| 1085 |
chandransh |
71 |
<classpath refid="ContentCreation.classpath"/>
|
| 1082 |
chandransh |
72 |
</javac>
|
|
|
73 |
</target>
|
|
|
74 |
|
|
|
75 |
<target name="compress" depends="compile">
|
| 1085 |
chandransh |
76 |
<copy todir="${build.home}">
|
| 1082 |
chandransh |
77 |
<fileset dir="src/main/webapp"/>
|
| 162 |
naveen |
78 |
</copy>
|
|
|
79 |
|
| 1085 |
chandransh |
80 |
<copy todir="${build.home}/WEB-INF/classes">
|
| 1082 |
chandransh |
81 |
<fileset dir="src/main/resources"/>
|
|
|
82 |
</copy>
|
|
|
83 |
|
| 1085 |
chandransh |
84 |
<copy todir="${build.home}/WEB-INF/lib">
|
|
|
85 |
<filelist refid="apache.libs"/>
|
|
|
86 |
<filelist refid="other.libs"/>
|
|
|
87 |
<mapper type="flatten"/>
|
|
|
88 |
</copy>
|
|
|
89 |
|
|
|
90 |
<copy todir="${build.home}/WEB-INF/lib" file="../lib/readonly/jython/jython.jar"/>
|
| 162 |
naveen |
91 |
|
| 1085 |
chandransh |
92 |
<war destfile="ContentCreation.war" basedir="build"/>
|
| 1082 |
chandransh |
93 |
|
| 1085 |
chandransh |
94 |
<copy file="ContentCreation.war" tofile="../lib/ContentCreation.war"/>
|
| 1082 |
chandransh |
95 |
|
|
|
96 |
</target>
|
| 315 |
rajveer |
97 |
|
| 1082 |
chandransh |
98 |
|
| 337 |
ashish |
99 |
</project>
|