You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2007/02/02 16:30:44 UTC

[jira] Created: (MANTRUN-68) Use ant-1.7.0

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


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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.1

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149868#action_149868 ] 

Dan Tran commented on MANTRUN-68:
---------------------------------

Could you doc/blog your experience going apache maven release process?  This is very handy for any  new commiter what would like to sponsor a release

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Barrie Treloar
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.1

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149872#action_149872 ] 

Olivier Lamy commented on MANTRUN-68:
-------------------------------------

Here : http://maven.apache.org/developers/release/releasing.html

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Barrie Treloar
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.1

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149861#action_149861 ] 

Dan Tran commented on MANTRUN-68:
---------------------------------

bravo!!!! let's release it :-)

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Barrie Treloar
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "Paul Shemansky (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112052 ] 

Paul Shemansky commented on MANTRUN-68:
---------------------------------------

I apologize for any confusion I may have caused, with regards to [MNG-3083|http://jira.codehaus.org/browse/MNG-3083].

I believe [MNG-3083|http://jira.codehaus.org/browse/MNG-3083]
relates to upgrading any and all dependencies that Maven 2 may have on Ant.  This seems
irrelevant to the issue/patch which I filed here with [MANTRUN-68|http://jira.codehaus.org/browse/MANTRUN-68], but I felt the need to mention it because the two were previously linked together somehow.

I hope you are closing [MNG-3083|http://jira.codehaus.org/browse/MNG-3083] because you/someone upgraded the supposed internal Maven 2 dependency on Ant or there simply isn't a need to work on that.  If this is not the case, please re-open [MNG-3083|http://jira.codehaus.org/browse/MNG-3083] because it may still be necessary, and I do not want to be responsible for causing an uproar.

Thank you for all of your help.

> 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

        

[jira] Closed: (MANTRUN-68) Use ant-1.7.1

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Barrie Treloar closed MANTRUN-68.
---------------------------------

    Resolution: Fixed

Upgraded to ant-1.7.1

Added integration tests using echoxml (1.7 feature only)
Also upgraded to plexus-utils 1.5.6 which has FileUtils.contentEquals()

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Barrie Treloar
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "Mauro Talevi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108829 ] 

Mauro Talevi commented on MANTRUN-68:
-------------------------------------

Why is this dependent on MNG-3083?



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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.1

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149866#action_149866 ] 

Barrie Treloar commented on MANTRUN-68:
---------------------------------------

I'm in the process of working out how to do that :)
Bare with me, i'm making a mess of it so far.

Probably a couple of days.

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Barrie Treloar
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "ajbanck (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136076#action_136076 ] 

ajbanck commented on MANTRUN-68:
--------------------------------

Looks like the Affects and Fix version/s fields are mixed up:
Affects Version/s: 1.2  
Fix Version/s: None  

Affects version/s should be 1.1 Fix version/s 1.2 (I assume..)

> 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119615 ] 

Kohsuke Kawaguchi commented on MANTRUN-68:
------------------------------------------

When I tried to use Ant 1.7.0 with Maven 2 in an environment similar to maven-antrun-plugin, I get the following error when Ant tries to load a resource from a jar file, whose path name includes whitespace. 

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.

{noformat}
ava.lang.IllegalArgumentException
        at java.net.URI.create(URI.java:842)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162)
        at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:119)
        at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90)
        at org.apache.tools.ant.Project.setAntLib(Project.java:313)
        at org.apache.tools.ant.Project.initProperties(Project.java:309)
        at org.apache.tools.ant.Project.init(Project.java:295)
        at org.jvnet.maven.plugin.antrun.components.AntTargetConverter.processConfiguration(AntTargetConverter.java:110)
        at org.jvnet.maven.plugin.antrun.components.AntTargetConverter.fromConfiguration(AntTargetConverter.java:80)
        at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
        at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)
        at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)
        at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1147)
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:614)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.net.URISyntaxException: Illegal character in path at 
index 18: file:/C:/Documents and Settings/tjquinn/.m2/repositor
y/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3014)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URI.create(URI.java:840)
        ... 35 more
{noformat}

> 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Issue Comment Edited: (MANTRUN-68) Use ant-1.7.0

Posted by "Santhosh Nair (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122174 ] 

snair33 edited comment on MANTRUN-68 at 2/2/08 8:24 PM:
--------------------------------------------------------------

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 


      was (Author: snair33):
    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

        

[jira] Updated: (MANTRUN-68) Use ant-1.7.0

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez updated MANTRUN-68:
----------------------------------

    Fix Version/s:     (was: 1.2)
                   1.3

> 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.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>             Fix For: 1.3
>
>         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

        

[jira] Issue Comment Edited: (MANTRUN-68) Use ant-1.7.0

Posted by "Santhosh Nair (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122174 ] 

snair33 edited comment on MANTRUN-68 at 2/2/08 8:26 PM:
--------------------------------------------------------------

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.  {code} uri = uri.replaceAll(" ", "%20"); {code}
5. build ant from sources
6. go to local maven repository and replace *ant-launcher-1.7.0.jar*  with the new file 


      was (Author: snair33):
    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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.1

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149624#action_149624 ] 

Barrie Treloar commented on MANTRUN-68:
---------------------------------------

As a workaround you can do this:
(where you can add additional dependencies for your scripting language of choice)

{code:xml|title=pom.xml}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>test</groupId>
  <artifactId>antrun-1.2-with-ant-1.7.1</artifactId>
  <packaging>pom</packaging>
  <name>AntRun 1.2 using Ant 1.7.1</name>
  <version>1</version>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <configuration>
              <tasks>
                <ant antfile="${basedir}/build.xml" />
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.7.1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-launcher</artifactId>
            <version>1.7.1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-nodeps</artifactId>
            <version>1.7.1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant-apache-bsf</artifactId>
            <version>1.7.1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.bsf</groupId>
            <artifactId>bsf-all</artifactId>
            <version>3.0-beta2</version>
          </dependency>
          <dependency>
            <groupId>rhino</groupId>
            <artifactId>js</artifactId>
            <version>1.7R1</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
</project>
{code}

{code:xml|title=build.xml}
<?xml version="1.0"?>
<project name="myproject" default="run-script">

  <target name="run-script">
    <antversion property="antversion"/>
    <echo message="Antrun is using Ant version ${antversion}"/>

    <script language="javascript">
      <![CDATA[
      echo = myproject.createTask("echo");

        for(var i=0; i<10; i++ ) {
          echo.setMessage(i);
          echo.perform();
      }
    ]]>
    </script>
  </target>
</project>
{code}



> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Updated: (MANTRUN-68) Use ant-1.7.0

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MANTRUN-68:
---------------------------------

    Affects Version/s:     (was: 1.2)
                       1.1
        Fix Version/s: 1.2

> 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.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>             Fix For: 1.2
>
>         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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "Santhosh Nair (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.0

Posted by "Brian Topping (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100848 ] 

Brian Topping commented on MANTRUN-68:
--------------------------------------

I need to be able to use <zipfileset>, a part of 1.7.0.

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

        

[jira] Commented: (MANTRUN-68) Use ant-1.7.1

Posted by "Basil James Whitehouse III (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148015#action_148015 ] 

Basil James Whitehouse III commented on MANTRUN-68:
---------------------------------------------------

NOTE: the groupid has changed for ant 1.7.1 from 'ant' to 'org.apache.ant' .

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Work started: (MANTRUN-68) Use ant-1.7.1

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MANTRUN-68 started by Barrie Treloar.

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>            Assignee: Barrie Treloar
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Updated: (MANTRUN-68) Use ant-1.7.1

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll updated MANTRUN-68:
-----------------------------------

    Description: with out this upgrade, i will need to <exec> ant 1.7.1 to use its new features like abily to do delete,move, etc using filelist  (was: 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)
        Summary: Use ant-1.7.1  (was: Use ant-1.7.0)

Updated to ant 1.7.1 since ant 1.7 has a path problem on Windows.

> Use ant-1.7.1
> -------------
>
>                 Key: MANTRUN-68
>                 URL: http://jira.codehaus.org/browse/MANTRUN-68
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: xp, linux
>            Reporter: Dan Tran
>             Fix For: 1.3
>
>         Attachments: MANTRUN-68-maven-antrun-plugin.patch
>
>
> with out this upgrade, i will need to <exec> ant 1.7.1 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

        

[jira] Updated: (MANTRUN-68) Use ant-1.7.0

Posted by "Paul Shemansky (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Shemansky updated MANTRUN-68:
----------------------------------

    Attachment: MANTRUN-68-maven-antrun-plugin.patch

I recently stumbled upon this issue while trying to use Ant 1.7.0 features in the maven-antrun-plugin.

Please review the attached patch.  I believe this should fix the maven-antrun-plugin issue regardless of [MNG-3083|http://jira.codehaus.org/browse/MNG-3083].

The patch changes the ant dependency version numbers to 1.7.0.

It also changes the maven-antrun-plugin's version number to match Ant in order to make usage more intuitive.  I believe the two should be synchronized for clarity to the end-user.

> 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