[ 
https://issues.apache.org/jira/browse/IVY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612681#action_12612681
 ] 

Maarten Coene commented on IVY-829:
-----------------------------------

After hacking the "cmd.exe /C" into the code, I have the following exception:

{noformat}
C:\projects\ivy\trunk\build\test\PackagerResolverTest\build\org\mod\1.0\build.xml:52:
 The following error occurred while executing this line:
C:\projects\ivy\trunk\build\test\PackagerResolverTest\build\org\mod\1.0\packager-output.xml:28:
 java.net.UnknownHostException: C
        at 
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: 
C:\projects\ivy\trunk\build\test\PackagerResolverTest\build\org\mod\1.0\packager-output.xml:28:
 java.net.UnknownHostException: C
        at org.apache.tools.ant.taskdefs.Get.execute(Get.java:80)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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:1329)
        at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        ... 17 more
Caused by: java.net.UnknownHostException: C
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
        at java.net.Socket.connect(Socket.java:464)
        at java.net.Socket.connect(Socket.java:414)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.NetworkClient.openServer(NetworkClient.java:118)
        at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
        at sun.net.ftp.FtpClient.<init>(FtpClient.java:692)
        at 
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:175)
        at org.apache.tools.ant.taskdefs.Get.doGet(Get.java:158)
        at org.apache.tools.ant.taskdefs.Get.execute(Get.java:76)
        ... 30 more
{noformat}

So we are not there yet.
I don't have the time to further look at this resolver atm, so I'll keep it 
assigned to you Xavier...

Maarten

> Add new "packager" resolver to Ivy
> ----------------------------------
>
>                 Key: IVY-829
>                 URL: https://issues.apache.org/jira/browse/IVY-829
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Archie Cobbs
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>         Attachments: m2repo.tgz, packager-resolver-patch.txt
>
>
> Feature request to add a new resolver, called the "Packager Resolver", 
> [described 
> here|http://ivyroundup.googlecode.com/svn/wiki/files/packager.html].
> Patch is attached and also available 
> [here|http://ivyroundup.googlecode.com/svn/wiki/files/packager-resolver.patch].
>  Patch contains binary test files, so to apply it you have to follow the 
> [simple steps described here|http://code.google.com/p/ivyroundup/].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to