I extended the site plugin to do this - take a look:

     http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-703

HTH,

     Mike


|--------+--------------------------->
|        |          [EMAIL PROTECTED]|
|        |          ths.com.au       |
|        |                           |
|        |          2003-10-26 22:47 |
|        |          Please respond to|
|        |          users            |
|        |                           |
|--------+--------------------------->
  
>--------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                      |
  |      To:     [EMAIL PROTECTED]                                                     
                                 |
  |      cc:                                                                           
                                      |
  |      Subject:     Re: deploy using ftp                                             
                                      |
  
>--------------------------------------------------------------------------------------------------------------------------|




The <get> ant task can process ftp:// urls, and it's a core task.  I
find it a lot easier to use this than stuffing around with NetComponents.


Matt

khote wrote:

>http://ant.apache.org/manual/OptionalTasks/ftp.html
>
>I see that it requires a certain library to work:
>
>http://www.savarese.org/oro/downloads/index.html#NetComponents
>
>On savarese.org it mentions that NetComponents users should upgrade to
>Commons-net, which is available on ibiblio
>
>If you do a dependency with commons-net, would that help?
>
>----- Original Message -----
>From: "Daniel Massie" <[EMAIL PROTECTED]>
>To: "Maven Users List" <[EMAIL PROTECTED]>
>Sent: Saturday, October 25, 2003 7:44 PM
>Subject: Re: deploy using ftp
>
>
>
>
>>if you use ftp without a taketdef in maven everything builds
>>succesffully bit nothing actualy happens.
>>
>>
>>khote wrote:
>>
>>
>>
>>>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]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>---------------------------------------------------------------------
>>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]

Reply via email to