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

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

Its starting to look like this is a problem with ClassWorlds and how its 
RealmClassLoader is handling getResource() results... its not encoding the " " 
with {{%20}} as it should.

Basically if you run a Groovy console from Maven with:

{noformat}
mvn org.codehaus.mojo.groovy:groovy-maven-plugin:1.0-beta-2-SNAPSHOT:console
{noformat}

And then evaluate:

{noformat}
new AntBuilder()
{noformat}

It will puke up....

Buy if you grab the Groovy 1.1-beta-2 dist (which is the same version that the 
above mvn bits use), and run groovyConsole and then eval the same thing... its 
happy.

Blah....



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