Revision 2631
Added by Jing Tao about 19 years ago
build.xml | ||
---|---|---|
44 | 44 |
<equals arg1="${tomcatversion}" arg2="tomcat5" /> |
45 | 45 |
</condition> |
46 | 46 |
|
47 |
<path id="compile.classpath"> |
|
48 |
<pathelement location="${jsdk}"/> |
|
49 |
<pathelement location="lib" /> |
|
50 |
<fileset dir="lib"> |
|
51 |
<include name="*.jar"/> |
|
52 |
</fileset> |
|
53 |
<fileset dir="lib/lsid_lib"> |
|
54 |
<include name="*.jar"/> |
|
55 |
</fileset> |
|
56 |
<fileset dir="${jdbc_base}"> |
|
57 |
<include name="${jdbc-jar-name}"/> |
|
58 |
<include name="msbase.jar"/> |
|
59 |
<include name="msutil.jar"/> |
|
60 |
<include name="mssqlserver.jar"/> |
|
61 |
</fileset> |
|
62 |
</path> |
|
63 |
|
|
64 | 47 |
<target name="check-db"> |
65 | 48 |
<condition property="use-oracle"> |
66 | 49 |
<equals arg1="${database}" arg2="oracle" /> |
... | ... | |
154 | 137 |
</target> |
155 | 138 |
|
156 | 139 |
<target name="init" depends="config"> |
140 |
<path id="compile.classpath"> |
|
141 |
<pathelement location="${jsdk}"/> |
|
142 |
<pathelement location="lib" /> |
|
143 |
<fileset dir="lib"> |
|
144 |
<include name="*.jar"/> |
|
145 |
</fileset> |
|
146 |
<fileset dir="lib/lsid_lib"> |
|
147 |
<include name="*.jar"/> |
|
148 |
</fileset> |
|
149 |
<fileset dir="${jdbc_base}"> |
|
150 |
<include name="${jdbc-jar-name}"/> |
|
151 |
<include name="msbase.jar"/> |
|
152 |
<include name="msutil.jar"/> |
|
153 |
<include name="mssqlserver.jar"/> |
|
154 |
</fileset> |
|
155 |
</path> |
|
156 |
|
|
157 | 157 |
<!-- It is less likely you'll need to make any changes from here down, |
158 | 158 |
but customization is possible --> |
159 | 159 |
<property name="installdir" value="${webapps}/${context}" /> |
Also available in: Unified diff
Move the compile.path to init so it can get some property value.