Revision 1107
Added by Jing Tao almost 23 years ago
build.xml | ||
---|---|---|
71 | 71 |
<property name="web-base-url" |
72 | 72 |
value="http://knb.ecoinformatics.org"/> |
73 | 73 |
<property name="default-style" value="knb" /> |
74 |
<property name="morphosourcedir" value="./morpho" />
|
|
74 |
<property name="morphosourcedir" value="morpho" /> |
|
75 | 75 |
|
76 | 76 |
<!-- Make sure these paths match the location of the jar files |
77 | 77 |
on your system, the defaults should usually work --> |
... | ... | |
316 | 316 |
<cvs cvsRoot=":ext:tao@cvs.ecoinformatics.org:/cvs" |
317 | 317 |
package="morpho" |
318 | 318 |
dest="." /> |
319 |
<ant dir="${morphosourcedir}" target="jar" /> |
|
319 |
<ant dir="${morphosourcedir}" inheritAll="false" target="jar" />
|
|
320 | 320 |
</target> |
321 | 321 |
|
322 | 322 |
<!-- run this target, we need to check out a another morpho souce dir was checked out. --> |
... | ... | |
324 | 324 |
<echo>*********************************** |
325 | 325 |
Please run ant gethttpclient first! |
326 | 326 |
*********************************** |
327 |
${itis} |
|
328 | 327 |
</echo> |
329 | 328 |
<!-- copy and compile the tests into a jar file --> |
330 | 329 |
<mkdir dir="${build.junitnettests}"/> |
... | ... | |
338 | 337 |
includes="**/*.class" /> |
339 | 338 |
|
340 | 339 |
<!-- use the ant "junit" task to run JUnit tests. --> |
341 |
<junit printsummary="yes" haltonfailure="no" fork="no"
|
|
340 |
<junit printsummary="yes" haltonfailure="no" fork="yes"
|
|
342 | 341 |
haltonerror="no"> |
342 |
<jvmarg value="-Djava.protocol.handler.pkgs=HTTPClient" /> |
|
343 | 343 |
<classpath> |
344 | 344 |
<pathelement path="${cpath}:${build.dir}/${name}.jar:${httpclient}:${build.dir}/${name}-junitnettests.jar:${itis}" /> |
345 | 345 |
</classpath> |
Also available in: Unified diff
Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.
Fixed the bug in running ant in gethttpclient target.