Hello Jan,

On 24/10/19 1:31 AM, Jan Matèrne (jhm) wrote:
> Checked the bin.zip.
> Seems to be ok.
>
> Just a question: there is a file fr\jayasoft\ivy\ant\antlib.xml which seems 
> to be a copy of org\apache\ivy\ant\antlib.xml. Is it for BWC?
Yes, looks like it.
https://github.com/apache/ant-ivy/blob/master/build.xml#L263. It was
done way back in 2007 and I don't think anyone uses that reference
anymore. After this release, maybe we can stop copying and releasing
that file.
>
> Hello-Ivy-Example:
> - run with "ant -lib ..\..\..\ivy-2.5.0.jar run"
> --> Ivy starts
> --> Ivy vesion 2.5.0
> --> Problems with downloading the dependencies:
>
> [ivy:retrieve]  found commons-lang#commons-lang;2.6 in public
> [ivy:retrieve] You probably access the destination server through a proxy 
> server that is not well configured.
>
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]  Host repo1.maven.org not found. 
> url=https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.pom
> [ivy:retrieve]  Host repo1.maven.org not found. 
> url=https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.jar
> [ivy:retrieve]          module not found: commons-cli#commons-cli;1.4
> [ivy:retrieve]  ==== local: tried
> [ivy:retrieve]    
> C:\Users\Jan\.ivy2\local\commons-cli\commons-cli\1.4\ivys\ivy.xml
> [ivy:retrieve]    -- artifact commons-cli#commons-cli;1.4!commons-cli.jar:
> [ivy:retrieve]    
> C:\Users\Jan\.ivy2\local\commons-cli\commons-cli\1.4\jars\commons-cli.jar
> [ivy:retrieve]  ==== shared: tried
> [ivy:retrieve]    
> C:\Users\Jan\.ivy2\shared\commons-cli\commons-cli\1.4\ivys\ivy.xml
> [ivy:retrieve]    -- artifact commons-cli#commons-cli;1.4!commons-cli.jar:
> [ivy:retrieve]    
> C:\Users\Jan\.ivy2\shared\commons-cli\commons-cli\1.4\jars\commons-cli.jar
> [ivy:retrieve]  ==== public: tried
> [ivy:retrieve]    
> https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.pom
> [ivy:retrieve]    -- artifact commons-cli#commons-cli;1.4!commons-cli.jar:
> [ivy:retrieve]    
> https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.jar
>
> I dont have a proxy server I am aware of.
> I could access the url 
> https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.jar
>  via browser.
>
> Added a 'get' target which works:
>     <target name="get">
>         <get 
> src="https://repo1.maven.org/maven2/commons-cli/commons-cli/1.4/commons-cli-1.4.jar";
>  dest="."/>
>     </target>
>
> Another try:
>   ant -lib ..\..\..\ivy-2.5.0.jar -autoproxy run
> and that worked.

I gave this example a try with this released version and it went fine
without those warnings or errors. I suspect your Ivy cache probably had
already downloaded the metadata/resources previously using some other
"resolver"?


> So a +1 from me.
Thank you.
> Thanks for getting the release done.

This was on my TODO list for a very long time now. Glad that this is now
happening.

-Jaikiran



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to