Last change
on this file since 68 was
68,
checked in by cbipsl, 14 years ago
|
commit v1 eccad
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | <project name="Eccad" default="war" basedir="."> |
---|
2 | |
---|
3 | <property file="${basedir}/build.properties" /> |
---|
4 | <property name="build" value="../build" /> |
---|
5 | <property name="lib" value="../lib" /> |
---|
6 | <property name="src" value="." /> |
---|
7 | <path id="libPath"> |
---|
8 | <fileset dir="${lib}"> |
---|
9 | <include name="*.jar" /> |
---|
10 | </fileset> |
---|
11 | <fileset dir="${tomcat}/shared/lib"> |
---|
12 | <include name="*.jar" /> |
---|
13 | </fileset> |
---|
14 | <fileset dir="${tomcat}/common/lib"> |
---|
15 | <include name="*.jar" /> |
---|
16 | </fileset> |
---|
17 | </path> |
---|
18 | |
---|
19 | <target name="war" depends="compile"> |
---|
20 | <war destfile="../../../${app.name}.war" webxml="../web.xml"> |
---|
21 | <zipfileset dir="../../" includes="**/*" prefix="" excludes=".tomcatplugin .classpath .project"/> |
---|
22 | <lib dir="${lib}"> |
---|
23 | <exclude name="servlet-api.jar" /> |
---|
24 | <exclude name="gnujaxp.jar" /> |
---|
25 | <exclude name="xercesImpl.jar" /> |
---|
26 | </lib> |
---|
27 | <classes dir="${build}" /> |
---|
28 | </war> |
---|
29 | </target> |
---|
30 | |
---|
31 | <target name="compile"> |
---|
32 | <delete dir="${build}" /> |
---|
33 | <mkdir dir="${build}" /> |
---|
34 | <copy todir="${build}"> |
---|
35 | <fileset dir="." includes="**/*.properties **/*.xml" /> |
---|
36 | </copy> |
---|
37 | <javac encoding="ISO-8859-1" srcdir="${src}" destdir="${build}" debug="true" source="1.5" > |
---|
38 | <classpath refid="libPath" /> |
---|
39 | </javac> |
---|
40 | |
---|
41 | </target> |
---|
42 | </project> |
---|
Note: See
TracBrowser
for help on using the repository browser.