You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by ni...@apache.org on 2004/06/25 06:07:15 UTC
svn commit: rev 22102 - incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/cache
Author: nickchalko
Date: Thu Jun 24 23:07:15 2004
New Revision: 22102
Modified:
incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/cache/build.xml
Log:
Resource --> artifact.
Modified: incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/cache/build.xml
==============================================================================
--- incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/cache/build.xml (original)
+++ incubator/depot/trunk/update/src/test/org/apache/depot/update/ant/cache/build.xml Thu Jun 24 23:07:15 2004
@@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<project name="updateModule-test" basedir="../../../../../../../" default="test1">
+<project name="updateModule-test" basedir="../../../../../../../../" default="test1">
<property name="localtest.dir" value="${basedir}/src/resources/test/repo" />
@@ -43,7 +43,7 @@
</fileset>
</copy>
<cachedset id="test1">
- <resource name="helloworld" ext="jar" version="1.1" repository="localtest" />
+ <artifact name="helloworld" ext="jar" version="1.1" repository="localtest" />
</cachedset>
<copy toDir="${sandbox.dir}">
<fileset refid="test1.fileset" />
@@ -52,7 +52,7 @@
<target name="test2" depends="clean-jars">
<!-- Since the local repo is cleaned this test should return the 1.2 jar downloaded for localtest -->
<cachedset id="test2">
- <resource name="helloworld" ext="jar" version="1.2" repository="localtest" />
+ <artifact name="helloworld" ext="jar" version="1.2" repository="localtest" />
</cachedset>
<copy toDir="${sandbox.dir}">
<fileset refid="test2.fileset" />
@@ -62,7 +62,7 @@
<!-- helloworld 1.3 does not exist this should fail. -->
<cachedset id="test3">
- <resource name="helloworld" ext="jar" version="1.3" repository="localtest" />
+ <artifact name="helloworld" ext="jar" version="1.3" repository="localtest" />
</cachedset>
<copy toDir="${sandbox.dir}">
<fileset refid="test3.fileset" />
@@ -77,7 +77,7 @@
</fileset>
</copy>
<cachedset id="test4">
- <resource name="helloworld" ext="jar" version="1.2" repository="localtest" />
+ <artifact name="helloworld" ext="jar" version="1.2" repository="localtest" />
</cachedset>
<copy toDir="${sandbox.dir}">
<fileset refid="test4.fileset" />
@@ -92,7 +92,7 @@
</target>
<target name="testNotFound">
<cachedset id="testNotFound">
- <resource name="notfound" ext="jar" version="1.2" repository="localtest" />
+ <artifact name="notfound" ext="jar" version="1.2" repository="localtest" />
</cachedset>
<!-- have to use the chaced set before it is used. -->
<copy toDir="${sandbox.dir}">