[ 
http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122174
 ] 

Santhosh Nair commented on MANTRUN-68:
--------------------------------------

Apparently the URI need to escaped for spaces before passing to URI.

I got around this by making a one line change.

1. download ant 1.7.0 sources
2. open the file  org.apache.tools.ant.launch.Locator.java
3.  Add  the following line as first line inside function  *public static 
String fromURI(String uri) *
4.  {{uri = uri.replaceAll(" ", "%20"); }}
5. build ant from sources
6. go to local maven repository and replace *ant-launcher-1.7.0.jar*  with the 
new file 


> Use ant-1.7.0
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.2
>         Environment: xp, linux
>            Reporter: Dan Tran
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.0 to use its new 
> features like abily to do delete,move, etc using filelist

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to