[ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122179 ]
Benjamin Bentmann commented on MANTRUN-68: ------------------------------------------ bq. It appears that ClassLoaders from ClassWorlds return file URL that contains whitespace instead of escaping it to %20, and Ant 1.7 doesn't like this. Ant is not to blame and should IMHO not be the target of any patches. According to [RFC 2396, 2.4.3. Excluded US-ASCII Characters|http://www.ietf.org/rfc/rfc2396.txt] URIs/URLs *must not* contain spaces. Although the Java class {{java.net.URL}} does not enforce/check this (see the last paragraphs in its [class javadoc|http://java.sun.com/javase/6/docs/api/java/net/URL.html] about the URL encoding and the relationship to {{java.net.URI}} and {{URLEncoder}}), well-behaved applications should never construct such invalid URLs. > 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