> It is and I think Paulo even whipped up a patch for it. I 
> explained to him how to fix it in IRC because I don't have 
> time to fix it as I'm about to head off to boston. An 
> absolute path will allow the tests to pass for now or you can 
> fix the interpolation in ArtifactFactory::getMaveRepoLocal. I'm off.

I am sendig them again. One for mavenRepoLocal, we interpolate it before
the factory creates
all the artifacts.

The second one if for the mavenRemoteRepositories strings. same thing,
but at the downloader.

give it a look. they make the tests run.

Paulo


> 
> > Michal
> > 
> > > -----Original Message-----
> > > From: Rafal Krzewski [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, May 28, 2003 12:05 PM
> > > To: Maven Developers List
> > > Subject: Re: maven-new tests failing
> > >
> > >
> > > Ben Walding wrote:
> > > > This stuff is in so much flux that I'd expect tests to 
> fail on a 
> > > > regular basis.  That being said, attaching the output of test 
> > > > results would be a good start. 
> target/test-reports/whichever ones 
> > > > failed
> > >
> > > Ha! Didn't know about that one... (I'm not using Junit in 
> my project 
> > > yet, tests are cool when you have them already :-()
> > >
> > > Here you go...
> > >
> > > R.
> > >
> > >
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> -- 
> jvz.
> 
> Jason van Zyl
> [EMAIL PROTECTED]
> http://tambora.zenplex.org
> 
> In short, man creates for himself a new religion of a 
> rational and technical order to justify his work and to be 
> justified in it.
>   
>   -- Jacques Ellul, The Technological Society
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
Index: DefaultArtifactDownloader.java
===================================================================
RCS file: 
/home/cvspublic/maven-new/core/src/java/org/apache/maven/artifact/download/DefaultArtifactDownloader.java,v
retrieving revision 1.3
diff -u -r1.3 DefaultArtifactDownloader.java
--- DefaultArtifactDownloader.java      25 May 2003 19:04:50 -0000      1.3
+++ DefaultArtifactDownloader.java      27 May 2003 02:43:16 -0000
@@ -57,19 +57,18 @@
  */
 
 
+import java.io.FileNotFoundException;
+import java.util.Iterator;
+
 import org.apache.avalon.framework.configuration.Configurable;
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
 import org.apache.commons.lang.StringUtils;
+import org.apache.maven.artifact.Artifact;
 import org.apache.maven.project.Project;
 import org.apache.maven.util.HttpUtils;
-import org.apache.maven.artifact.download.ArtifactDownloader;
-import org.apache.maven.artifact.Artifact;
 import org.apache.plexus.logging.AbstractLogEnabled;
 
-import java.io.FileNotFoundException;
-import java.util.Iterator;
-
 /**
  * Class resposible to download [EMAIL PROTECTED] org.apache.maven.artifact.Artifact} 
from
  * remote repository (repositories) to local repository
@@ -110,6 +109,7 @@
         for ( Iterator i = project.getMavenRepoRemote().iterator(); i.hasNext(); )
         {
             String remoteRepo = (String) i.next();
+            remoteRepo = org.apache.plexus.util.StringUtils.interpolate( remoteRepo, 
project.getProperties() );
 
             // The username and password parameters are not being
             // used here. Those are the "" parameters you see below.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to