Re: FTP deployment of ear in maven1.0.2
There was some known bugs with ftp tasks in maven 1.0.X. It was resolved in m1.1 In m1.0 you have to add as dependencies CommonsNet, and some other jars (see the ant:ftp task doc) On 9/7/06, neeraj daffodil <[EMAIL PROTECTED]> wrote: hi all i want to deploy the ear file in remote ftp server by using following code in maven.xml After this i got the following result __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 3 seconds Finished at: Thu Sep 07 16:49:34 GMT+05:30 2006 but nothing is deployed in the remote server after that i tried this Testing FTP end and got the result __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: ftpcopy: [echo] Testing FTP end BUILD SUCCESSFUL Total time: 3 seconds nothing deployed and why this come i do not know ,can any one know why this is happend and how i can achieve my task any link and any kind of help is most welcome Regards Neeraj Singh Bisht +91 09811921970
Re: ftp deployment
I don't know what happened, but I will send the files again. Rajeev - Original Message - From: <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Monday, January 05, 2004 4:40 PM Subject: Re: ftp deployment > The attached files are missing :-) > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/people/dion/ > > > > "Rajeev Kaul" <[EMAIL PROTECTED]> wrote on 06/01/2004 > 10:44:00 AM: > > > I have attached the modified files. > > > > I modified maven.bat file to include NetComponents-1.3.8.jar in the > > classpath. I placed NetComponents.jar in the MAVEN_HOME/lib directory. > > > > I have only tested it on Windows 2000 server. > > > > regards, > > > > Rajeev > > - Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: "Maven Users List" <[EMAIL PROTECTED]> > > Sent: Monday, January 05, 2004 3:25 PM > > Subject: Re: ftp deployment > > > > > > > It would be great if you were able to send us what you did here so > that it > > > could be shared by all. > > > -- > > > dIon Gillard, Multitask Consulting > > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > > > > > "Rajeev Kaul" <[EMAIL PROTECTED]> wrote on 06/01/2004 > > > 09:15:24 AM: > > > > > > > You are right. I modified my version of the site plugin to just > have > > > the > > > > ftp task for the ftpdeploy goal. > > > > > > > > > > > > - Original Message - > > > > From: <[EMAIL PROTECTED]> > > > > To: "Maven Users List" <[EMAIL PROTECTED]> > > > > Sent: Thursday, January 01, 2004 6:51 AM > > > > Subject: Re: ftp deployment > > > > > > > > > > > > > I personally wouldn't use the ftp deployment of the site, as it > > > requires a > > > > > telnet session as well as ftp. This should be removed from the > site > > > > > plugin, and the ftp deployment fixed. > > > > > -- > > > > > dIon Gillard, Multitask Consulting > > > > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > > > > > > > > > > > > > "Jefferson K. French" <[EMAIL PROTECTED]> wrote on 01/01/2004 > 03:33:44 > > > AM: > > > > > > > > > > > I had this problem with Ant a while back. Do you have > > > > > > NetComponents.jar in your classpath? > > > > > > > > > > > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > > > > > > > > > > > I am having trouble running the "site:ftpdeploy" goal for my > > > project. > > > > > I > > > > > > get the following error: > > > > > > > > > > > > > 2003-12-30 15:38:40,985 WARN > > > org.apache.commons.jelly.tags.ant.AntTag > > > > > - > > > > > > Could not convert tag: ftp into an Ant task, data type or > property > > > > > > > > > > > > > I get the same error, if I use the ant optional task - ftp in > a > > > goal > > > > > > defined in maven.xml file. > > > > > > > > > > > > > Any ideas? > > > > > > > > > > > > > > > > > > > Rajeev Kaul > > > > > > > Customer Care, Inc. > > > > > > > 925 277 0696 > > > > > > > > > > > > -- > > > > > > mailto:[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
The attached files are missing :-) -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "Rajeev Kaul" <[EMAIL PROTECTED]> wrote on 06/01/2004 10:44:00 AM: > I have attached the modified files. > > I modified maven.bat file to include NetComponents-1.3.8.jar in the > classpath. I placed NetComponents.jar in the MAVEN_HOME/lib directory. > > I have only tested it on Windows 2000 server. > > regards, > > Rajeev > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]> > Sent: Monday, January 05, 2004 3:25 PM > Subject: Re: ftp deployment > > > > It would be great if you were able to send us what you did here so that it > > could be shared by all. > > -- > > dIon Gillard, Multitask Consulting > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > "Rajeev Kaul" <[EMAIL PROTECTED]> wrote on 06/01/2004 > > 09:15:24 AM: > > > > > You are right. I modified my version of the site plugin to just have > > the > > > ftp task for the ftpdeploy goal. > > > > > > > > > - Original Message - > > > From: <[EMAIL PROTECTED]> > > > To: "Maven Users List" <[EMAIL PROTECTED]> > > > Sent: Thursday, January 01, 2004 6:51 AM > > > Subject: Re: ftp deployment > > > > > > > > > > I personally wouldn't use the ftp deployment of the site, as it > > requires a > > > > telnet session as well as ftp. This should be removed from the site > > > > plugin, and the ftp deployment fixed. > > > > -- > > > > dIon Gillard, Multitask Consulting > > > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > > > > > > > > > "Jefferson K. French" <[EMAIL PROTECTED]> wrote on 01/01/2004 03:33:44 > > AM: > > > > > > > > > I had this problem with Ant a while back. Do you have > > > > > NetComponents.jar in your classpath? > > > > > > > > > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > > > > > > > > > I am having trouble running the "site:ftpdeploy" goal for my > > project. > > > > I > > > > > get the following error: > > > > > > > > > > > 2003-12-30 15:38:40,985 WARN > > org.apache.commons.jelly.tags.ant.AntTag > > > > - > > > > > Could not convert tag: ftp into an Ant task, data type or property > > > > > > > > > > > I get the same error, if I use the ant optional task - ftp in a > > goal > > > > > defined in maven.xml file. > > > > > > > > > > > Any ideas? > > > > > > > > > > > > > > > > Rajeev Kaul > > > > > > Customer Care, Inc. > > > > > > 925 277 0696 > > > > > > > > > > -- > > > > > mailto:[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
I have attached the modified files. I modified maven.bat file to include NetComponents-1.3.8.jar in the classpath. I placed NetComponents.jar in the MAVEN_HOME/lib directory. I have only tested it on Windows 2000 server. regards, Rajeev - Original Message - From: <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Monday, January 05, 2004 3:25 PM Subject: Re: ftp deployment > It would be great if you were able to send us what you did here so that it > could be shared by all. > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/people/dion/ > > > > "Rajeev Kaul" <[EMAIL PROTECTED]> wrote on 06/01/2004 > 09:15:24 AM: > > > You are right. I modified my version of the site plugin to just have > the > > ftp task for the ftpdeploy goal. > > > > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: "Maven Users List" <[EMAIL PROTECTED]> > > Sent: Thursday, January 01, 2004 6:51 AM > > Subject: Re: ftp deployment > > > > > > > I personally wouldn't use the ftp deployment of the site, as it > requires a > > > telnet session as well as ftp. This should be removed from the site > > > plugin, and the ftp deployment fixed. > > > -- > > > dIon Gillard, Multitask Consulting > > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > > > > > "Jefferson K. French" <[EMAIL PROTECTED]> wrote on 01/01/2004 03:33:44 > AM: > > > > > > > I had this problem with Ant a while back. Do you have > > > > NetComponents.jar in your classpath? > > > > > > > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > > > > > > > I am having trouble running the "site:ftpdeploy" goal for my > project. > > > I > > > > get the following error: > > > > > > > > > 2003-12-30 15:38:40,985 WARN > org.apache.commons.jelly.tags.ant.AntTag > > > - > > > > Could not convert tag: ftp into an Ant task, data type or property > > > > > > > > > I get the same error, if I use the ant optional task - ftp in a > goal > > > > defined in maven.xml file. > > > > > > > > > Any ideas? > > > > > > > > > > > > > Rajeev Kaul > > > > > Customer Care, Inc. > > > > > 925 277 0696 > > > > > > > > -- > > > > mailto:[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
It would be great if you were able to send us what you did here so that it could be shared by all. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "Rajeev Kaul" <[EMAIL PROTECTED]> wrote on 06/01/2004 09:15:24 AM: > You are right. I modified my version of the site plugin to just have the > ftp task for the ftpdeploy goal. > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]> > Sent: Thursday, January 01, 2004 6:51 AM > Subject: Re: ftp deployment > > > > I personally wouldn't use the ftp deployment of the site, as it requires a > > telnet session as well as ftp. This should be removed from the site > > plugin, and the ftp deployment fixed. > > -- > > dIon Gillard, Multitask Consulting > > Blog: http://blogs.codehaus.org/people/dion/ > > > > > > > > "Jefferson K. French" <[EMAIL PROTECTED]> wrote on 01/01/2004 03:33:44 AM: > > > > > I had this problem with Ant a while back. Do you have > > > NetComponents.jar in your classpath? > > > > > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > > > > > I am having trouble running the "site:ftpdeploy" goal for my project. > > I > > > get the following error: > > > > > > > 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag > > - > > > Could not convert tag: ftp into an Ant task, data type or property > > > > > > > I get the same error, if I use the ant optional task - ftp in a goal > > > defined in maven.xml file. > > > > > > > Any ideas? > > > > > > > > > > Rajeev Kaul > > > > Customer Care, Inc. > > > > 925 277 0696 > > > > > > -- > > > mailto:[EMAIL PROTECTED] > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
You are right. I modified my version of the site plugin to just have the ftp task for the ftpdeploy goal. - Original Message - From: <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 01, 2004 6:51 AM Subject: Re: ftp deployment > I personally wouldn't use the ftp deployment of the site, as it requires a > telnet session as well as ftp. This should be removed from the site > plugin, and the ftp deployment fixed. > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/people/dion/ > > > > "Jefferson K. French" <[EMAIL PROTECTED]> wrote on 01/01/2004 03:33:44 AM: > > > I had this problem with Ant a while back. Do you have > > NetComponents.jar in your classpath? > > > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > > > I am having trouble running the "site:ftpdeploy" goal for my project. > I > > get the following error: > > > > > 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag > - > > Could not convert tag: ftp into an Ant task, data type or property > > > > > I get the same error, if I use the ant optional task - ftp in a goal > > defined in maven.xml file. > > > > > Any ideas? > > > > > > > Rajeev Kaul > > > Customer Care, Inc. > > > 925 277 0696 > > > > -- > > mailto:[EMAIL PROTECTED] > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
I personally wouldn't use the ftp deployment of the site, as it requires a telnet session as well as ftp. This should be removed from the site plugin, and the ftp deployment fixed. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "Jefferson K. French" <[EMAIL PROTECTED]> wrote on 01/01/2004 03:33:44 AM: > I had this problem with Ant a while back. Do you have > NetComponents.jar in your classpath? > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > I am having trouble running the "site:ftpdeploy" goal for my project. I > get the following error: > > > 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag - > Could not convert tag: ftp into an Ant task, data type or property > > > I get the same error, if I use the ant optional task - ftp in a goal > defined in maven.xml file. > > > Any ideas? > > > > Rajeev Kaul > > Customer Care, Inc. > > 925 277 0696 > > -- > mailto:[EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
You are right. After, I modified the maven.bat file to make sure the NetComponents.jar is included in the classpath (I had assumed that if I placed the jar file in the maven_home/lib dir, it would automatically be included in the classpath) it started working. However, I am still confused as to why it did not work when I added as a dependency in the site plugin. regards, Rajeev - Original Message - From: "Jefferson K. French" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 31, 2003 8:33 AM Subject: Re: ftp deployment > I had this problem with Ant a while back. Do you have > NetComponents.jar in your classpath? > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > I am having trouble running the "site:ftpdeploy" goal for my project. I get the following error: > > > 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag: ftp into an Ant task, data type or property > > > I get the same error, if I use the ant optional task - ftp in a goal defined in maven.xml file. > > > Any ideas? > > > > Rajeev Kaul > > Customer Care, Inc. > > 925 277 0696 > > -- > mailto:[EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
Yes, I have. I put it in the MAVEN_HOME/lib directory. I also modified the site plugin project.xml to add the dependency on both the ant-optional.jar and NetComponents.jar files. I even replaced the NetComponents.jar with the Commons-net.jar. Nothing seems to work. I checked the archives, and found one post that had the same problem (a long time ago - in Feb 2003). I did not find any post providing a solution though. I am using Maven 1.0-rc2 from cvs. regards, Rajeev - Original Message - From: "Jefferson K. French" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 31, 2003 8:33 AM Subject: Re: ftp deployment > I had this problem with Ant a while back. Do you have > NetComponents.jar in your classpath? > > On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > > > I am having trouble running the "site:ftpdeploy" goal for my project. I get the following error: > > > 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag: ftp into an Ant task, data type or property > > > I get the same error, if I use the ant optional task - ftp in a goal defined in maven.xml file. > > > Any ideas? > > > > Rajeev Kaul > > Customer Care, Inc. > > 925 277 0696 > > -- > mailto:[EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp deployment
I had this problem with Ant a while back. Do you have NetComponents.jar in your classpath? On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: > I am having trouble running the "site:ftpdeploy" goal for my project. I get the > following error: > 2003-12-30 15:38:40,985 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not > convert tag: ftp into an Ant task, data type or property > I get the same error, if I use the ant optional task - ftp in a goal defined in > maven.xml file. > Any ideas? > Rajeev Kaul > Customer Care, Inc. > 925 277 0696 -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]