• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

problem in deplying the file on server

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI ,

i am trying to deply the code by using ant script in remote machine by using FTP?

i found the below code from one of the site on google.




when i run the build file i am getting the follwing error:


BUILD FAILED
E:\BuildDomain\Build1.xml:98: The following error occurred while executing this line:
E:\BuildDomain\Build1.xml:113: Could not create type ftp due to java.lang.NoClassDefFoun
dError: org/apache/commons/net/ftp/FTPClientConfig


here my doubt is org/apache/commons/net/ftp/FTPClientConfig this file is mandatory to FTP the files to remote machine, or is there any alternative way for this?


 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you read the doc on the <ftp> task and ensure that you accounted for all of the dependencies? The docs tell you which exteranl libraries you need for that task.

By the way, please use the 'code' tag when posting source code, makes it much easier to read.
 
reply
    Bookmark Topic Watch Topic
  • New Topic