[ 
http://jira.codehaus.org/browse/MGROOVY-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105961
 ] 

Jason Dillon commented on MGROOVY-64:
-------------------------------------

Ya, that is defs the easier solution, but it does require users to do extra 
work, which I would eventually like to avoid.  The problem seems to be with Ant 
1.7.0... not really sure why it only breaks when run inside of the Groovy 
stuff.  Perhaps if the maven-antrun-plugin moved to Ant 1.7.0 then it would 
also barf up the same problems.

Perhaps I should revert to Ant 1.6.5...

Or I'm going to see if I can dynamically inject my own ASM-based classloader 
for the Project.class to adapt to this problem...

Anyways, the short-term solution as you have found is to point your local m2 
repo at a directory w/o spaces ;-)

> Invalid dependency path on Windows
> ----------------------------------
>
>                 Key: MGROOVY-64
>                 URL: http://jira.codehaus.org/browse/MGROOVY-64
>             Project: Maven 2.x Groovy Integration
>          Issue Type: Bug
>          Components: execute
>    Affects Versions: 1.0-beta-1
>         Environment: Windows XP
>            Reporter: Mauro Talevi
>            Assignee: Jason Dillon
>            Priority: Blocker
>             Fix For: 1.0-beta-3
>
>
> On Windows XP - use of AntBuilder in the groovy script is not possible as the 
> path to the Ant dependency contains illegal characters.
> Caused by: java.net.URISyntaxException: Illegal character in path at index 
> 18: 
> file:/C:/Documents and 
> Settings/<username>/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> Presumably the spaces in the "Documents and Settings".
> The problem does not manifest itself in 1.0-alpha-3.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to