[ 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