ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ficker" <m.fic...@googlemail.com>
Subject Re: ant install-ivy in trunk fails
Date Thu, 20 Nov 2008 09:28:53 GMT
A Workaround that worked for me ist to first run 'ant install-ivy
-Divy.version=2.0.0-rc2'. Ignore the failure and
then run

ant install-ivy
-Divy.jar.url=file://localhost/e:/example/ivyde/work/ivy/distrib/apache-ivy-2.0.0-rc2/ivy-2.0.0-rc2.jar

Encoding a drive letter into a url seems to be a bit tricky.

M.

2008/11/20 Martin Ficker <m.ficker@googlemail.com>

> Hi,
> I'Ve downloaded the sources from svn, set the baseLocation and run 'ant
> install-ivy'. It seems id doesn't like windows dirve names ("E:") in my
> case.
> Best regards,
>
> Martin
>
> E:\example\ivyde>ant install-ivy -Divy.version=2.0.0-rc2
> Buildfile: build.xml
>
> check-baseLocation:
>
> get-ivy-jar:
>     [mkdir] Created dir: E:\example\ivyde\work\ivy\distrib
>       [get] Getting:
> http://apache.multidist.com/ant/ivy/2.0.0-rc2/apache-ivy-2.0.0-rc2-bin.zip
>       [get] To: E:\example\ivyde\work\ivy\ivy-bin.zip
>     [unzip] Expanding: E:\example\ivyde\work\ivy\ivy-bin.zip into
> E:\example\ivyde\work\ivy\distrib
>      [echo]
> file://E:\example\ivyde\work\ivy\distrib\apache-ivy-2.0.0-rc2\ivy-2.0.0-rc2.jar
>
> compute-ivy-bundle-version:
>       [get] Getting:
> file://E:/example/ivyde/work/ivy/distrib/apache-ivy-2.0.0-rc2/ivy-2.0.0-rc2.jar
>       [get] To: E:\example\ivyde\work\ivy\ivy.jar
>       [get] Error getting
> file://E:/example/ivyde/work/ivy/distrib/apache-ivy-2.0.0-rc2/ivy-2.0.0-rc2.jar
> to E:\example\ivyde\work\ivy\ivy.jar
>
> BUILD FAILED
> java.net.UnknownHostException: E
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>         at java.net.Socket.connect(Socket.java:519)
>         at java.net.Socket.connect(Socket.java:469)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.NetworkClient.openServer(NetworkClient.java:118)
>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
>         at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
>         at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:145)
>         at org.apache.tools.ant.taskdefs.Get.execute(Get.java:78)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>         at org.apache.tools.ant.Main.runBuild(Main.java:758)
>         at org.apache.tools.ant.Main.startAnt(Main.java:217)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
> Total time: 1 minute 3 seconds
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message