<property name="localtest.dir" value="${basedir}/src/resources/test/repo"/>
<typedef resource="org/apache/ruper/ant/antlib.xml"/>
<repository id="localtest" url="file:///${localtest.dir}" remote="true"/>
<target name="test1" depends="clean-jars">
<copy toDir="${ant.home}/tools/repo">
<fileset dir="${localtest.dir}"/>
</copy>
<ruperset id="test1">
<resource name="helloworld" ext="jar" version="1.2" repository="localtest"/>
</ruperset>
<copy toDir="build/test/sandbox">
<fileset refid="test1.fileset"/>
</copy>
</target>
Successfully copies the helloworld-1.2 finds the local copy of helloworld from the local repository. Still some bugs in the download. But real progress is on the way. The days of putting jars in to CVS is coming to an end.
w00t, Nick
