[
https://issues.apache.org/jira/browse/IVY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612979#action_12612979
]
Archie Cobbs commented on IVY-829:
----------------------------------
I still believe the original code is the right way to go. If {{Runtime.exec()}}
doesn't work properly on your machine, then that seems like a configuration
problem (perhaps the Windows equivalent of {{$PATH}} needs to be set to include
ant?). Surely lots of other programs in the world use {{Runtime.exec()}} and
they're not all broken on Windows too, are they?
An easy way to help Windows users if this is indeed merely a {{$PATH}} problem
would be to add a new configuration attribute on the packager resolver that
sets the absolute pathname to the ant binary. So if normal Windows {{$PATH}}
resolution doesn't work, you can set the path explicitly.
In any case, I don't understand the comments about URLs or {{cmd.exe}}, or what
an {{UnknownHostException}} has to do with anything. All we are trying to do is
execute a local program with some command line arguments.
On the other hand, I abhor^H^H^H^Hnever use Windows so I'm not able to offer
much insight into how things work on that illustrious platform.
> 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, test-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.