You can use <ftp without having to deal with taskdef's or anything like that.
----- Original Message ----- From: "Scott Foster" <[EMAIL PROTECTED]> To: "'Maven Users List'" <[EMAIL PROTECTED]> Sent: Saturday, October 25, 2003 10:01 AM Subject: RE: deploy using ftp > I have a similar taskdef and it seems to work if you use the classpath child > element instead of the classpathref attribute. for example: > > <ant:taskdef name="dtd2velocity" > classname="org.jvoom.xml.ant.DTD2VelocityTask"> > <classpath refid="maven.dependency.classpath"/> > </ant:taskdef> > > scott. > > > -----Original Message----- > From: Daniel Massie [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 25, 2003 8:18 AM > To: [EMAIL PROTECTED] > Subject: Re: deploy using ftp > > > I have the following in my mavn.xml file: > <goal name="ftp"> > <ant:taskdef name="ftp" > classname="org.apache.tools.ant.taskdefs.optional.net.FTP" > classpathref="maven.dependency.classpath"/> > <ftp server="ftp.mysite" > remotedir="/public_html/" > userid="username" > password="password" > depends="yes" > binary="no" > > > <fileset dir="${maven.build.dir}/docs"/> > </ftp> > </goal> > > and I have commons-net, netcomponents , and ant-optional as > dependencies. When I try to run maven ftp, I get the following error: > taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found > What am I doing wrong? > > > daniel > -------- Original Message -------- > Subject: deploy using ftp > Date: Fri, 24 Oct 2003 20:13:08 +0100 > From: Daniel Massie <[EMAIL PROTECTED]> > Reply-To: Maven Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > > > Is it possible to deploy a site using ftp with maven? if so, how can > this be achieved? > > thanks > daniel > > > > > > --------------------------------------------------------------------- > 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]
