Hi there,

Still no luck?  Try using netcomponents rather than commons-net.
Commons-net is the replacement for netcomponents, but on futher
investigation my setup still has netcomponents rather than commons-net.

     http://www.savarese.org/oro/index.html

Cheers,

     Mike



|--------+------------------------>
|        |          [EMAIL PROTECTED]|
|        |          rg.uk         |
|        |                        |
|        |          2003-10-28    |
|        |          21:27         |
|        |          Please respond|
|        |          to users      |
|        |                        |
|--------+------------------------>
  
>--------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                      |
  |      To:     [EMAIL PROTECTED]                                                     
                                 |
  |      cc:                                                                           
                                      |
  |      Subject:     Re: deploy using ftp                                             
                                      |
  
>--------------------------------------------------------------------------------------------------------------------------|




Please do, I've followed all the instructions but I'm having no success
at all.

daniel

Nelson, Scott (MAN-Corporate) wrote:

>Would it make more sense to add those two jars as dependencies in the site
>POM since its the plugin that's dependent on it instead of all of maven?
>
>Also to get the ftp task to work I think you need to register the taskdef
>somewhere.  I got it to work by doing adding the dependencies to the POM,
>and then calling the ftp task after the taskdef has been loaded.  I had to
>change the calls to <ftp> to <ant:ftp> then it works.
>
> <ant:taskdef name="ftp"
>classname="org.apache.tools.ant.taskdefs.optional.net.FTP">
>               <ant:classpath>
>                 <ant:pathelement
>location="${plugin.getDependencyPath('ant-optional:ant-optional')}"/>
>                 <ant:pathelement
>location="${plugin.getDependencyPath('NetComponents:NetComponents')}"/>
>               </ant:classpath>
>      </ant:taskdef>
>
>I can send the updated POM if anyone is interested.
>
>Scott
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 28, 2003 8:39 AM
>To: [EMAIL PROTECTED]
>Subject: Re: deploy using ftp
>
>
>
>Hrm, sounds like you cannot see the FTP optional Ant tasks underneath
>Maven.
>
>You definitely added the jars to the [root] section of forehead.conf?
>
>Regards,
>
>     Mike
>
>
>
>|--------+------------------------>
>|        |          [EMAIL PROTECTED]|
>|        |          rg.uk         |
>|        |                        |
>|        |          2003-10-28    |
>|        |          07:20         |
>|        |          Please respond|
>|        |          to users      |
>|        |                        |
>|--------+------------------------>
>
>
>
>>
---------------------------------------------------------------------------
>>
>>
>-----------------------------------------------|
>  |
>|
>  |      To:     [EMAIL PROTECTED]
>|
>  |      cc:
>|
>  |      Subject:     Re: deploy using ftp
>|
>
>
>
>>
---------------------------------------------------------------------------
>>
>>
>-----------------------------------------------|
>
>
>
>
>I'm still having some problems with this. I've installed it as you said
>to do, but all that is happening is the entire goal is echoed to output,
>as in tags and properties. Any ideas?
>
>thanks
>Daniel
>
>
>[EMAIL PROTECTED] wrote:
>
>
>
>>----- Forwarded by Michael J. Brown/JPMCHASE on 2003-10-27 15:55 -----
>>Michael J. Brown FORT Marketer Technology - Tel GDP 3-6359
>>|--------+------------------------>
>>|        |          Michael J.    |
>>|        |          Brown         |
>>|        |                        |
>>|        |          2003-10-27    |
>>|        |          15:52         |
>>|        |                        |
>>|--------+------------------------>
>> >
>>
>>
>
----------------------------------------------------------------------------

>----------------------------------------------|
>
>
>
>> |
>>
>>
>|
>
>
>> |      To:     [EMAIL PROTECTED]
>>
>>
>|
>
>
>> |      cc:
>>
>>
>|
>
>
>> |      Subject:     Re: deploy using ftp(Document link: Michael J.
>>
>>
>Brown)                                                  |
>
>
>> >
>>
>>
>
----------------------------------------------------------------------------

>----------------------------------------------|
>
>
>
>>
>>Hi,
>>
>>That's fine :)
>>
>>The ant-optional and commons-net will need to be in your maven lib
>>directory.  Also edit forehead.conf so Maven can see these jars.
>>
>>The code should go into the site plugin.jelly file, not into your
>>maven.xml.  Then just change your maven.site.deploy.method property to
ftp
>>and you should be away.  You need to create the directory on the server
as
>>the plugin will not do this automatically for you.  We decided this was a
>>Good Thing.  The directory has the same name as your project id.
>>
>>Cheers,
>>
>>    Mike
>>
>>
>>
>>|--------+------------------------>
>>|        |          [EMAIL PROTECTED]|
>>|        |          rath.ac.uk    |
>>|        |                        |
>>|        |          2003-10-27    |
>>|        |          15:44         |
>>|        |                        |
>>|--------+------------------------>
>> >
>>
>>
>
----------------------------------------------------------------------------

>----------------------------------------------|
>
>
>
>> |
>>
>>
>|
>
>
>> |      To:     [EMAIL PROTECTED]
>>
>>
>|
>
>
>> |      cc:
>>
>>
>|
>
>
>> |      Subject:     Re: deploy using ftp
>>
>>
>|
>
>
>> >
>>
>>
>
----------------------------------------------------------------------------

>----------------------------------------------|
>
>
>
>>
>>
>>Hi,
>>
>>Its actually this patch that I have been trying to use. How do I use it
>>properly? I have copied the code into my maven.xml file and I am using
>>ant-optional-1.5.2 and commons-net and netcomponents as dependencies but
>>I still
>>receive:
>>taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be
>>found
>>
>>thanks
>>Daniel
>>
>>ps sorry if you have received this already from another address, my
>>webmail isn't working properly today :(
>>
>>
>>Quoting [EMAIL PROTECTED]:
>>
>>
>>
>>>I extended the site plugin to do this - take a look:
>>>
>>>     http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-703
>>>
>>>HTH,
>>>
>>>     Mike
>>>
>>>
>>>
>>--
>>Daniel Massie
>>http://www.dmassie.org.uk
>>
>>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>--
>Daniel Massie
>http://www.dmassie.org.uk
>
>
>
>
>---------------------------------------------------------------------
>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