You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/04/29 11:31:44 UTC
svn commit: r165285 -
/maven/components/trunk/maven-artifact-ant/sample.build.xml
Author: brett
Date: Fri Apr 29 02:31:42 2005
New Revision: 165285
URL: http://svn.apache.org/viewcvs?rev=165285&view=rev
Log:
need to construct the repository checkout first
Modified:
maven/components/trunk/maven-artifact-ant/sample.build.xml
Modified: maven/components/trunk/maven-artifact-ant/sample.build.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-ant/sample.build.xml?rev=165285&r1=165284&r2=165285&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact-ant/sample.build.xml (original)
+++ maven/components/trunk/maven-artifact-ant/sample.build.xml Fri Apr 29 02:31:42 2005
@@ -72,9 +72,14 @@
<delete dir="${basedir}/target/local-repo-scm" />
+ <!-- Could the SCM provider initialise this? -->
+ <exec executable="svn" dir="${basedir}/target" failonerror="true">
+ <arg line="co ${scm.url} -N local-repo-scm" />
+ </exec>
+
<artifact:localRepository id="local.repository.scm" location="${basedir}/target/local-repo-scm" layout="default"/>
- <artifact:dependencies pathId="dependency.classpath">
+ <artifact:dependencies pathId="dependency.classpath.scm">
<dependency groupId="org.apache.maven.wagon" artifactId="wagon-provider-test" version="1.0-alpha-2"/>
<dependency groupId="org.codehaus.modello" artifactId="modello-core" version="1.0-alpha-2-SNAPSHOT"/>
<localRepository refid="local.repository.scm"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org