You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Paulo Silveira <pa...@paulo.com.br> on 2003/05/25 23:34:42 UTC
a simple test (in progress) for ArtifactDownloader. shows that something is not working...
Hello!!
So here there is a patch that creates two files inside the test/ for
ArtifactDownloader
And there is also two new files (project.*), that should be put in
core/src/test-input/artifact-downloader/local/
This test shows that something is not working when we do something like:
maven.repo.remote = file://${basedir}/src/test-input/maven-repo-local
But this works for me with the old maven.... strange, isnt it?
There are some printlns (sorry), just to show that the Downloader should
get the jar:
maven-test/jars/maven-test-a-1.0.jar
which does exist in src/test-input/maven-repo-local, into:
....\maven-new\core\target\downloaderLocalRepository\maven-test\jars\mav
en-test-a-1.0.jar
I was going to finish the test, but maybe I am doing already something
wrong. But setting maven.repo.remote as above really worked before (I
am using in some projects)
I debugged and found that HttpUtils receives as the project remote
repository, an URL "file://${basedir}/src/test-input/maven-repo-local"
(loook!, the ${basedir} is NOT being parsed!)
thanks
------------------------
Paulo Silveira
http://www.paulo.com.br/
http://www.guj.com.br/
Re: a simple test (in progress) for ArtifactDownloader. shows that
something is not working...
Posted by Jason van Zyl <ja...@zenplex.com>.
On Sun, 2003-05-25 at 17:34, Paulo Silveira wrote:
> Hello!!
> I debugged and found that HttpUtils receives as the project remote
> repository, an URL "file://${basedir}/src/test-input/maven-repo-local"
> (loook!, the ${basedir} is NOT being parsed!)
I'll add a test and fix this up. I know where the problem is.
> thanks
>
> ------------------------
> Paulo Silveira
> http://www.paulo.com.br/
> http://www.guj.com.br/
>
>
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
--
jvz.
Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org