17 |
<mkdir dir="${builddir}" /> |
<mkdir dir="${builddir}" /> |
18 |
</target> |
</target> |
19 |
|
|
20 |
|
|
21 |
<target name="libs"> |
<target name="libs"> |
22 |
<echo message="--CircuitBreaker--" /> |
<echo message="--CircuitBreaker--" /> |
23 |
<ant dir="../CircuitBreaker/" antfile="../CircuitBreaker/build.xml" inheritAll="false" /> |
<ant dir="../CircuitBreaker/" antfile="../CircuitBreaker/build.xml" inheritAll="false" /> |
|
<echo message="--CircuitBreaker END--" /> |
|
24 |
<copy file="../CircuitBreaker/CircuitBreaker.jar" todir="WebContent/WEB-INF/lib" /> |
<copy file="../CircuitBreaker/CircuitBreaker.jar" todir="WebContent/WEB-INF/lib" /> |
25 |
|
<echo message="--CircuitBreaker END--" /> |
26 |
|
|
27 |
<echo message="--TrainInfoCommon--" /> |
<echo message="--TrainInfoCommon--" /> |
28 |
<ant dir="../TrainInfoCommon/" antfile="../TrainInfoCommon/build.xml" inheritAll="false" /> |
<ant dir="../TrainInfoCommon/" antfile="../TrainInfoCommon/build.xml" inheritAll="false" /> |
|
<echo message="--TrainInfoCommon END--" /> |
|
29 |
<copy todir="WebContent/WEB-INF/lib"> |
<copy todir="WebContent/WEB-INF/lib"> |
30 |
<fileset dir="../TrainInfoCommon"> |
<fileset dir="../TrainInfoCommon"> |
31 |
<include name="*.jar"/> |
<include name="*.jar"/> |
32 |
</fileset> |
</fileset> |
33 |
</copy> |
</copy> |
34 |
|
<echo message="--TrainInfoCommon END--" /> |
35 |
|
|
36 |
|
<echo message="--WebConfig--" /> |
37 |
|
<ant dir="../WebConfig/" antfile="../WebConfig/build.xml" inheritAll="false" /> |
38 |
|
<copy file="../WebConfig/WebConfig.jar" todir="WebContent/WEB-INF/lib" /> |
39 |
|
<echo message="--WebConfig END--" /> |
40 |
|
|
41 |
|
<echo message="--GenericJavaUtils--" /> |
42 |
|
<ant dir="../GenericJavaUtils/" antfile="../GenericJavaUtils/build.xml" inheritAll="false" /> |
43 |
|
<copy file="../GenericJavaUtils/GenericJavaUtils.jar" todir="WebContent/WEB-INF/lib" /> |
44 |
|
<echo message="--GenericJavaUtils END--" /> |
45 |
</target> |
</target> |
46 |
|
|
47 |
|
|
48 |
|
|
49 |
<target name="compile" depends="init,libs"> |
<target name="compile" depends="init,libs"> |
50 |
<javac srcdir="src/" destdir="${builddir}" debug="on" optimize="on" includeantruntime="false"> |
<javac srcdir="src/" destdir="${builddir}" debug="on" optimize="on" includeantruntime="false" encoding="UTF-8"> |
51 |
<classpath refid="path.base" /> |
<classpath refid="path.base" /> |
52 |
</javac> |
</javac> |
53 |
</target> |
</target> |