You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Massimiliano Amato (JIRA)" <ji...@codehaus.org> on 2007/01/27 00:17:44 UTC

[jira] Created: (MANTRUN-66) Can't execute ant ftp under Java6

Can't execute ant ftp under Java6
---------------------------------

                 Key: MANTRUN-66
                 URL: http://jira.codehaus.org/browse/MANTRUN-66
             Project: Maven 2.x Antrun Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Windows XP, Java 1.6
            Reporter: Massimiliano Amato


I have a simple and build.xml file that perform an FTP, that is called by antrun, if i execute it using Java5 it works like a charm, if i execute using Java6 it doesn't work and says i can't find a needed library

Problem is that if i use Java6 and i call the ant file directly works so it must be some kind of antrun issue with java6 i think, i have also another antrun task defined in my project and that works, so probably issue is only with tasks (like ftp) that needs library

-- 
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-66) Can't execute ant ftp under Java6

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

Carlos Sanchez closed MANTRUN-66.
---------------------------------

      Assignee: Carlos Sanchez
    Resolution: Cannot Reproduce

Please see http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html

> Can't execute ant ftp under Java6
> ---------------------------------
>
>                 Key: MANTRUN-66
>                 URL: http://jira.codehaus.org/browse/MANTRUN-66
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows XP, Java 1.6
>            Reporter: Massimiliano Amato
>            Assignee: Carlos Sanchez
>
> I have a simple and build.xml file that perform an FTP, that is called by antrun, if i execute it using Java5 it works like a charm, if i execute using Java6 it doesn't work and says i can't find a needed library
> Problem is that if i use Java6 and i call the ant file directly works so it must be some kind of antrun issue with java6 i think, i have also another antrun task defined in my project and that works, so probably issue is only with tasks (like ftp) that needs library

-- 
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-66) Can't execute ant ftp under Java6

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

gotama commented on MANTRUN-66:
-------------------------------


FTP is an optional ant task. Sounds like you need to define the optional ant tasks dependencies under <plugin>. 

This is likely NAB.


> Can't execute ant ftp under Java6
> ---------------------------------
>
>                 Key: MANTRUN-66
>                 URL: http://jira.codehaus.org/browse/MANTRUN-66
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows XP, Java 1.6
>            Reporter: Massimiliano Amato
>
> I have a simple and build.xml file that perform an FTP, that is called by antrun, if i execute it using Java5 it works like a charm, if i execute using Java6 it doesn't work and says i can't find a needed library
> Problem is that if i use Java6 and i call the ant file directly works so it must be some kind of antrun issue with java6 i think, i have also another antrun task defined in my project and that works, so probably issue is only with tasks (like ftp) that needs library

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