It's weird,

In general the XML code is shown when Jelly doesn't understand it.

Did you try to define a namespace for ant tasks ?

<project xmlns:ant="jelly:ant" ......>

 <ant:ftp ...>
...
 <ant:ftp>      


Arnaud
 

> -----Message d'origine-----
> De : Eric Chow [mailto:[EMAIL PROTECTED] 
> Envoy� : jeudi 3 f�vrier 2005 06:02
> � : Maven User List
> Objet : maven ftp failed !!!
> 
> Hello,
> 
> It seems to use the FTP function failed in Maven goal.
> 
> 
> I add a goal in maven.xml as following :
> 
> 
> 
> <goal name="ftpx">
>       
>    <ftp server="mdsesrv10.economia.gov.mo"
>        userid="hkc"
>        password="eric88"
>        remotedir="Maven">
>          <fileset dir="c:/temp/site"/>
>     <ftp>     
> 
> </goal>
> 
> 
> 
> When I type "maven ftpx", it just show 
> 
> D:\Projects\DSE\oldweb\dse>maven ftpx
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> BUILD SUCCESSFUL
> Total time: 1 seconds
> Finished at: Thu Feb 03 12:59:51 GMT+08:00 2005
> 
> 
> 
> 
> After I change the goal as following
> 
> <goal name="ftpx">
>       
>    <ftp server="mdsesrv10.economia.gov.mo"
>        userid="hkc"
>        password="eric88"
>        remotedir="Maven">
>          <fileset dir="c:/temp/site"/>
>     <ftp>     
> 
>     <echo>Testing FTP end .... </echo>
> 
> </goal>
> 
> 
> It shows the following message,   STRANGE !!!
> 
> 
> D:\Projects\DSE\oldweb\dse>maven ftpx
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> build:start:
> 
> ftpx:
> <ftp password="eric88" userid="hkc" server="mdsesrv10.economia.gov.mo"
> remotedir="Maven"></ftp>
> 
> [echo] Testing FTP end ....
> BUILD SUCCESSFUL
> Total time: 1 seconds
> Finished at: Thu Feb 03 13:00:39 GMT+08:00 2005
> 
> ---------------------------------------------------------------------
> 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