source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/src/etc/testcases/taskdefs/classloader.xml@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 533 bytes
Line 
1<project name="classloader-test" default="main" basedir=".">
2
3 <target name="init">
4
5 <path id="myJars" >
6 <!-- both ant-junit.jar and junit.jar must be loaded from the same path -->
7 <pathelement path="${ant.home}/lib/ant-junit.jar" />
8 <pathelement path="${junit.jar}" />
9 </path>
10
11 <classloader classpathRef="myJars"
12 reverse="true" >
13
14 </classloader>
15 <junit />
16
17 </target>
18
19 <target name="main" depends="init">
20 <echo message="Found JUNIT" />
21 </target>
22
23</project>
Note: See TracBrowser for help on using the repository browser.