| 162 |
naveen |
1 |
<?xml version="1.0"?>
|
| 1082 |
chandransh |
2 |
<project default="compress" basedir=".">
|
|
|
3 |
|
| 162 |
naveen |
4 |
<property name="message"
|
| 315 |
rajveer |
5 |
value="Building the ContentCreation.war"/>
|
|
|
6 |
|
|
|
7 |
<property name="localmessage"
|
| 162 |
naveen |
8 |
value="Building and Deploying the ContentCreation.war"/>
|
| 328 |
ashish |
9 |
<property name="compilemessage"
|
|
|
10 |
value="Compiling ContentCreation.war"/>
|
| 1082 |
chandransh |
11 |
|
| 328 |
ashish |
12 |
<property name="thirdparty.location" value="../lib"/>
|
| 403 |
rajveer |
13 |
|
| 1082 |
chandransh |
14 |
<path id="thirdparty.classpath">
|
|
|
15 |
<pathelement location="build/classes"/>
|
|
|
16 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
|
|
|
17 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-fileupload-1.2.1/commons-fileupload-1.2.1.jar"/>
|
|
|
18 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-io-1.3.2/commons-io-1.3.2.jar"/>
|
|
|
19 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.4/commons-lang-2.4.jar"/>
|
|
|
20 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-logging-1.0.4/commons-logging-1.0.4.jar"/>
|
|
|
21 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-logging-api-1.1/commons-logging-api-1.1.jar"/>
|
|
|
22 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-validator-1.3.1/commons-validator-1.3.1.jar"/>
|
|
|
23 |
<pathelement location="${thirdparty.location}/readonly/apache/jsp-2.1/jsp-api.jar"/>
|
|
|
24 |
<pathelement location="${thirdparty.location}/readonly/apache/sevlet-2.5/servlet-api.jar"/>
|
|
|
25 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/struts2-convention-plugin-2.1.8.1.jar"/>
|
|
|
26 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/struts2-core-2.1.8.1.jar"/>
|
|
|
27 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/struts2-rest-plugin-2.1.8.1.jar"/>
|
|
|
28 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/xstream-1.2.2.jar"/>
|
|
|
29 |
<pathelement location="${thirdparty.location}/readonly/apache/struts-2.1.8.1/xwork-core-2.1.6.jar"/>
|
|
|
30 |
<pathelement location="${thirdparty.location}/readonly/apache/tomcat-juli/tomcat-juli.jar"/>
|
|
|
31 |
<pathelement location="${thirdparty.location}/readonly/apache/velocity-1.6.3/velocity-1.6.3.jar"/>
|
|
|
32 |
<pathelement location="${thirdparty.location}/readonly/apache/velocity-1.6.3/velocity-tools-1.4.jar"/>
|
|
|
33 |
<pathelement location="${thirdparty.location}/readonly/freemarker/freemarker-2.3.15.jar"/>
|
|
|
34 |
<pathelement location="${thirdparty.location}/readonly/apache/ezmorph/ezmorph-1.0.3.jar"/>
|
|
|
35 |
<pathelement location="${thirdparty.location}/readonly/apache/json/json-lib-2.1-jdk15.jar"/>
|
|
|
36 |
<pathelement location="${thirdparty.location}/readonly/apache/ognl/ognl-2.7.3.jar"/>
|
|
|
37 |
<pathelement location="${thirdparty.location}/readonly/apache/xpp/xpp3_min-1.1.3.4.O.jar"/>
|
|
|
38 |
<pathelement location="${thirdparty.location}/readonly/apache/commons-digester-2.0/commons-digester-2.0.jar"/>
|
|
|
39 |
<pathelement location="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
|
|
40 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
|
|
41 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
|
|
42 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
|
|
43 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/serializer.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/xercesImpl.jar"/>
|
|
|
46 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xml-apis.jar"/>
|
|
|
47 |
<pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xsltc.jar"/>
|
|
|
48 |
<pathelement location="${thirdparty.location}/readonly/bdb/je-4.1.7.jar"/>
|
|
|
49 |
|
|
|
50 |
<pathelement location="${thirdparty.location}/ContentStore.jar"/>
|
|
|
51 |
<pathelement location="${thirdparty.location}/Common.jar"/>
|
|
|
52 |
<pathelement location="${thirdparty.location}/ThriftConfig.jar"/>
|
|
|
53 |
</path>
|
| 328 |
ashish |
54 |
|
| 315 |
rajveer |
55 |
<target name="clean">
|
| 162 |
naveen |
56 |
<delete dir="build"/>
|
| 1082 |
chandransh |
57 |
</target>
|
| 162 |
naveen |
58 |
|
| 1082 |
chandransh |
59 |
<target name="init" depends="clean">
|
| 162 |
naveen |
60 |
<mkdir dir="build"/>
|
|
|
61 |
<mkdir dir="build/WEB-INF"/>
|
|
|
62 |
<mkdir dir="build/WEB-INF/lib"/>
|
|
|
63 |
<mkdir dir="build/WEB-INF/classes"/>
|
|
|
64 |
<mkdir dir="build/WEB-INF/content"/>
|
| 1082 |
chandransh |
65 |
</target>
|
| 162 |
naveen |
66 |
|
| 1082 |
chandransh |
67 |
<target name="compile" depends="init">
|
|
|
68 |
<javac srcdir="src/main/java"
|
|
|
69 |
destdir="build/WEB-INF/classes"
|
|
|
70 |
deprecation="${compile.deprecation}"
|
|
|
71 |
optimize="${compile.optimize}"
|
|
|
72 |
source="1.6" target="1.6">
|
|
|
73 |
<classpath refid="thirdparty.classpath"/>
|
|
|
74 |
</javac>
|
|
|
75 |
</target>
|
|
|
76 |
|
|
|
77 |
<target name="compress" depends="compile">
|
|
|
78 |
<copy todir="build">
|
|
|
79 |
<fileset dir="src/main/webapp"/>
|
| 162 |
naveen |
80 |
</copy>
|
|
|
81 |
|
| 1082 |
chandransh |
82 |
<copy todir="build/WEB-INF/classes">
|
|
|
83 |
<fileset dir="src/main/resources"/>
|
|
|
84 |
</copy>
|
|
|
85 |
|
|
|
86 |
<copy file="../lib/readonly/apache/commons-beanutils-1.7.0/commons-beanutils-1.7.0.jar"
|
| 315 |
rajveer |
87 |
tofile="build/WEB-INF/lib/commons-beanutils-1.7.0.jar"/>
|
| 162 |
naveen |
88 |
|
| 1082 |
chandransh |
89 |
<copy file="../lib/readonly/apache/commons-lang-2.3/commons-lang-2.3.jar"
|
| 162 |
naveen |
90 |
tofile="build/WEB-INF/lib/commons-lang-2.3.jar"/>
|
| 1082 |
chandransh |
91 |
|
|
|
92 |
<copy file="../lib/readonly/apache/ognl/ognl-2.7.3.jar"
|
| 162 |
naveen |
93 |
tofile="build/WEB-INF/lib/ognl-2.7.3.jar"/>
|
| 1082 |
chandransh |
94 |
|
|
|
95 |
<copy file="../lib/readonly/apache/velocity-1.6.3/velocity-1.6.3.jar"
|
| 162 |
naveen |
96 |
tofile="build/WEB-INF/lib/velocity-1.6.3.jar"/>
|
| 1082 |
chandransh |
97 |
|
|
|
98 |
<copy file="../lib/readonly/apache/struts-2.1.8.1/xwork-core-2.1.6.jar"
|
| 162 |
naveen |
99 |
tofile="build/WEB-INF/lib/xwork-core-2.1.6.jar"/>
|
| 1082 |
chandransh |
100 |
|
|
|
101 |
<copy file="../lib/readonly/apache/commons-collections-3.2/commons-collections-3.2.jar"
|
| 162 |
naveen |
102 |
tofile="build/WEB-INF/lib/commons-collections-3.2.jar"/>
|
| 1082 |
chandransh |
103 |
|
|
|
104 |
<copy file="../lib/readonly/apache/commons-logging-1.0.4/commons-logging-1.0.4.jar"
|
| 315 |
rajveer |
105 |
tofile="build/WEB-INF/lib/commons-logging-1.0.4.jar"/>
|
| 1082 |
chandransh |
106 |
|
|
|
107 |
<copy file="../lib/readonly/apache/struts-2.1.8.1/struts2-convention-plugin-2.1.8.1.jar"
|
| 162 |
naveen |
108 |
tofile="build/WEB-INF/lib/struts2-convention-plugin-2.1.8.1.jar"/>
|
| 1082 |
chandransh |
109 |
|
|
|
110 |
<copy file="../lib/readonly/apache/commons-digester-2.0/commons-digester-2.0.jar"
|
| 162 |
naveen |
111 |
tofile="build/WEB-INF/lib/commons-digester-2.0.jar"/>
|
| 1082 |
chandransh |
112 |
|
|
|
113 |
<copy file="../lib/readonly/apache/ezmorph/ezmorph-1.0.3.jar"
|
| 162 |
naveen |
114 |
tofile="build/WEB-INF/lib/ezmorph-1.0.3.jar"/>
|
| 1082 |
chandransh |
115 |
|
|
|
116 |
<copy file="../lib/readonly/apache/struts-2.1.8.1/struts2-core-2.1.8.1.jar"
|
| 162 |
naveen |
117 |
tofile="build/WEB-INF/lib/struts2-core-2.1.8.1.jar"/>
|
| 1082 |
chandransh |
118 |
|
| 315 |
rajveer |
119 |
<copy file="../lib/readonly/apache/velocity-1.6.3/velocity-tools-1.4.jar"
|
|
|
120 |
tofile="build/WEB-INF/lib/velocity-tools-1.4.jar"/>
|
| 1082 |
chandransh |
121 |
|
|
|
122 |
<copy file="../lib/readonly/apache/commons-fileupload-1.2.1/commons-fileupload-1.2.1.jar"
|
| 162 |
naveen |
123 |
tofile="build/WEB-INF/lib/commons-fileupload-1.2.1.jar"/>
|
| 1082 |
chandransh |
124 |
|
|
|
125 |
<copy file="../lib/readonly/freemarker/freemarker-2.3.15.jar"
|
| 162 |
naveen |
126 |
tofile="build/WEB-INF/lib/freemarker-2.3.15.jar"/>
|
| 1082 |
chandransh |
127 |
|
|
|
128 |
<copy file="../lib/readonly/apache/struts-2.1.8.1/struts2-rest-plugin-2.1.8.1.jar"
|
| 162 |
naveen |
129 |
tofile="build/WEB-INF/lib/struts2-rest-plugin-2.1.8.1.jar"/>
|
| 1082 |
chandransh |
130 |
|
|
|
131 |
<copy file="../lib/readonly/apache/xpp/xpp3_min-1.1.3.4.O.jar"
|
| 162 |
naveen |
132 |
tofile="build/WEB-INF/lib/xpp3_min-1.1.3.4.O.jar"/>
|
| 1082 |
chandransh |
133 |
|
|
|
134 |
<copy file="../lib/readonly/apache/commons-io-1.3.2/commons-io-1.3.2.jar"
|
| 162 |
naveen |
135 |
tofile="build/WEB-INF/lib/commons-io-1.3.2.jar"/>
|
| 1082 |
chandransh |
136 |
|
| 315 |
rajveer |
137 |
<copy file="../lib/readonly/apache/json/json-lib-2.1-jdk15.jar"
|
|
|
138 |
tofile="build/WEB-INF/lib/json-lib-2.1-jdk15.jar"/>
|
| 1082 |
chandransh |
139 |
|
|
|
140 |
<copy file="../lib/readonly/apache/struts-2.1.8.1/xstream-1.2.2.jar"
|
| 162 |
naveen |
141 |
tofile="build/WEB-INF/lib/xstream-1.2.2.jar"/>
|
| 1082 |
chandransh |
142 |
|
| 332 |
ashish |
143 |
<copy file="../lib/readonly/apache/thrift-0.2.0/libthrift.jar"
|
|
|
144 |
tofile="build/WEB-INF/lib/libthrift.jar"/>
|
| 1082 |
chandransh |
145 |
|
| 332 |
ashish |
146 |
<copy file="../lib/readonly/slf4j/slf4j-api-1.5.8.jar"
|
|
|
147 |
tofile="build/WEB-INF/lib/slf4j-api-1.5.8.jar"/>
|
| 1082 |
chandransh |
148 |
|
| 332 |
ashish |
149 |
<copy file="../lib/readonly/slf4j/slf4j-simple-1.5.8.jar"
|
|
|
150 |
tofile="build/WEB-INF/lib/slf4j-simple-1.5.8.jar"/>
|
| 343 |
ashish |
151 |
<copy file="../lib/readonly/jython/jython.jar"
|
|
|
152 |
tofile="build/WEB-INF/lib/jython.jar"/>
|
| 1082 |
chandransh |
153 |
|
| 1051 |
rajveer |
154 |
<copy file="../lib/readonly/bdb/je-4.1.7.jar"
|
|
|
155 |
tofile="build/WEB-INF/lib/je-4.1.7.jar"/>
|
| 403 |
rajveer |
156 |
|
| 1082 |
chandransh |
157 |
<copy file="../lib/readonly/apache/xalan-j_2_7_1/serializer.jar" tofile="build/WEB-INF/lib/serializer.jar"/>
|
|
|
158 |
<copy file="../lib/readonly/apache/xalan-j_2_7_1/xalan.jar" tofile="build/WEB-INF/lib/xalan.jar"/>
|
|
|
159 |
<copy file="../lib/readonly/apache/xalan-j_2_7_1/xercesImpl.jar" tofile="build/WEB-INF/lib/xercesImpl.jar"/>
|
|
|
160 |
<copy file="../lib/readonly/apache/xalan-j_2_7_1/xml-apis.jar" tofile="build/WEB-INF/lib/xml-apis.jar"/>
|
|
|
161 |
<copy file="../lib/readonly/apache/xalan-j_2_7_1/xsltc.jar" tofile="build/WEB-INF/lib/xsltc.jar"/>
|
| 403 |
rajveer |
162 |
|
| 1082 |
chandransh |
163 |
<copy file="../lib/ContentStore.jar"
|
| 332 |
ashish |
164 |
tofile="build/WEB-INF/lib/ContentStore.jar"/>
|
| 1082 |
chandransh |
165 |
|
| 332 |
ashish |
166 |
<copy file="../lib/Common.jar"
|
|
|
167 |
tofile="build/WEB-INF/lib/Common.jar"/>
|
| 1082 |
chandransh |
168 |
|
| 332 |
ashish |
169 |
<copy file="../lib/ThriftConfig.jar"
|
|
|
170 |
tofile="build/WEB-INF/lib/ThriftConfig.jar"/>
|
| 1082 |
chandransh |
171 |
|
| 162 |
naveen |
172 |
<war
|
|
|
173 |
destfile="ContentCreation.war"
|
|
|
174 |
basedir="build"/>
|
| 1082 |
chandransh |
175 |
|
| 332 |
ashish |
176 |
<copy file="ContentCreation.war"
|
| 315 |
rajveer |
177 |
tofile="../lib/ContentCreation.war"/>
|
| 162 |
naveen |
178 |
|
| 1082 |
chandransh |
179 |
</target>
|
| 315 |
rajveer |
180 |
|
| 1082 |
chandransh |
181 |
|
| 337 |
ashish |
182 |
</project>
|