You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Chow <er...@gmail.com> on 2005/02/03 06:01:33 UTC

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: maven ftp failed !!!

Posted by Arnaud HERITIER <ah...@gmail.com>.
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:eric138@gmail.com] 
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org