*
The moose likes Ant, Maven and Other Build Tools and the fly likes problem in deplying the file on server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "problem in deplying the file on server" Watch "problem in deplying the file on server" New topic
Author

problem in deplying the file on server

saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 57
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

Joined: May 14, 2008
Posts: 5823
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in deplying the file on server