Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in deplying the file on server

 
saidi Bandi
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • 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?


 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic