Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse

- Original Message - 
From: Herve AGNOUX [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 8:30 AM
Subject: Re: dist:deploy where and how ?


 Le Samedi 06 Mars 2004 22:39, Emmanuel Venisse a écrit :
 
  Perhaps with this properties :
 
  maven.scp.executable=scp -P port
  maven.ssh.executable=ssh -p port
 

 Unfortunately, I say to maven :

 maven.ssh.executable=/usr/bin/ssh -l me -p port www.my-little-compagny.com

It's not nessary to define -l and server address. This parameters are added
by plugin.


 And maven answers me :

 Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -l
me
 -p port www.my-little-compagny.com: not found

 (with the good values, of course).


 -- 
 SARL diaam informatique - 04 50 44 26 54
 Ingenierie, développements de systèmes d'information
 http://www.diaam-informatique.com


 -
 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]



Re: dist:deploy where and how ?

2004-03-08 Thread Herve AGNOUX
Le Lundi 08 Mars 2004 09:13, Emmanuel Venisse a écrit :

 It's not nessary to define -l and server address. This parameters are added
 by plugin.


Ok, but the result is always the same ; the property :

maven.ssh.executable=/usr/bin/ssh -p xxx

gives :

[echo]
Moving distributions.tar.gz to the 
/public/html/maven/product/distributions on www.my-little-compagny.com


BUILD FAILED
File.. file:/home/herve/.maven/plugins/maven-deploy-plugin-1.1/
Element... ant:exec
Line.. 90
Column 53
Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -p xxx 
: not found
Total time: 42 seconds
Finished at: Mon Mar 08 09:33:56 CET 2004


... and of course I have ssh at /usr/bin/ssh and xxx is the good port.


-- 
SARL diaam informatique - 04 50 44 26 54
Ingenierie, développements de systèmes d'information
http://www.diaam-informatique.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse
OK, I think that ant exec task add some quotes if executable string contains
spaces.
So, it execute /usr/bin/ssh -p XXX rest of command line

You can modify the deploy plugin and add to it a ssh parameter.

Emmanuel

- Original Message - 
From: Herve AGNOUX [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 9:41 AM
Subject: Re: dist:deploy where and how ?


 Le Lundi 08 Mars 2004 09:13, Emmanuel Venisse a écrit :
 
  It's not nessary to define -l and server address. This parameters are
added
  by plugin.
 

 Ok, but the result is always the same ; the property :

 maven.ssh.executable=/usr/bin/ssh -p xxx

 gives :

 [echo]
 Moving distributions.tar.gz to the
 /public/html/maven/product/distributions on www.my-little-compagny.com


 BUILD FAILED
 File.. file:/home/herve/.maven/plugins/maven-deploy-plugin-1.1/
 Element... ant:exec
 Line.. 90
 Column 53
 Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -p
xxx
 : not found
 Total time: 42 seconds
 Finished at: Mon Mar 08 09:33:56 CET 2004


 ... and of course I have ssh at /usr/bin/ssh and xxx is the good port.


 -- 
 SARL diaam informatique - 04 50 44 26 54
 Ingenierie, développements de systèmes d'information
 http://www.diaam-informatique.com


 -
 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]



Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse
I updated the deploy plugin. for support maven.ssh.args and maven.scp.args
properties
Could you test it?

Emmanuel

- Original Message - 
From: Emmanuel Venisse [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 9:53 AM
Subject: Re: dist:deploy where and how ?


 OK, I think that ant exec task add some quotes if executable string
contains
 spaces.
 So, it execute /usr/bin/ssh -p XXX rest of command line

 You can modify the deploy plugin and add to it a ssh parameter.

 Emmanuel

 - Original Message - 
 From: Herve AGNOUX [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Sent: Monday, March 08, 2004 9:41 AM
 Subject: Re: dist:deploy where and how ?


  Le Lundi 08 Mars 2004 09:13, Emmanuel Venisse a écrit :
  
   It's not nessary to define -l and server address. This parameters are
 added
   by plugin.
  
 
  Ok, but the result is always the same ; the property :
 
  maven.ssh.executable=/usr/bin/ssh -p xxx
 
  gives :
 
  [echo]
  Moving distributions.tar.gz to the
  /public/html/maven/product/distributions on www.my-little-compagny.com
 
 
  BUILD FAILED
  File.. file:/home/herve/.maven/plugins/maven-deploy-plugin-1.1/
  Element... ant:exec
  Line.. 90
  Column 53
  Execute failed: java.io.IOException: java.io.IOException:
/usr/bin/ssh -p
 xxx
  : not found
  Total time: 42 seconds
  Finished at: Mon Mar 08 09:33:56 CET 2004
 
 
  ... and of course I have ssh at /usr/bin/ssh and xxx is the good port.
 
 
  -- 
  SARL diaam informatique - 04 50 44 26 54
  Ingenierie, développements de systèmes d'information
  http://www.diaam-informatique.com
 
 
  -
  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]



Re: dist:deploy where and how ?

2004-03-08 Thread Herve AGNOUX
Le Lundi 08 Mars 2004 11:51, Emmanuel Venisse a écrit :
 I updated the deploy plugin. for support maven.ssh.args and maven.scp.args
 properties
 Could you test it?


I'm sorry, I understand nothing. I have downloaded the plugin from 
http://maven.apache.org/reference/plugins/deploy/, but I dont'see any 
difference in plugin.jelly !?


Now, if I do mave dist:deploy I obtain :

dist:build:

[tar] Building tar: /home/herve/[...]/distributions.tar
[gzip] Building: /home/herve/[...]/distributions.tar.gz
[delete] Deleting: /home/herve/[...]/distributions.tar
[echo]
Moving distributions.tar.gz to the /public/[...]/distributions on 
www.my-little-compagny.com

[exec] ssh: connect to host www.my-little-compagny.com port 22: Connection 
timed out
[exec] [ERROR] Result: 1
[exec] [ERROR] Result: 129


In my build.properties :

maven.scp.executable=scp
maven.ssh.executable=ssh
maven.ssh.args=-p xx
maven.scp.args=-P xx





And I thank you for your help !

-- 
SARL diaam informatique - 04 50 44 26 54
Ingenierie, développements de systèmes d'information
http://www.diaam-informatique.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Incze Lajos
On Mon, Mar 08, 2004 at 09:47:13PM +0100, Herve AGNOUX wrote:
 Le Lundi 08 Mars 2004 11:51, Emmanuel Venisse a écrit :
  I updated the deploy plugin. for support maven.ssh.args and maven.scp.args
  properties
  Could you test it?
 
 
 I'm sorry, I understand nothing. I have downloaded the plugin from 
 http://maven.apache.org/reference/plugins/deploy/, but I dont'see any 
 difference in plugin.jelly !?
 

Maybe, it is updated in the cvs.

incze

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-07 Thread Herve AGNOUX
Le Samedi 06 Mars 2004 22:39, Emmanuel Venisse a écrit :

 Perhaps with this properties :

 maven.scp.executable=scp -P port
 maven.ssh.executable=ssh -p port


Unfortunately, I say to maven :

maven.ssh.executable=/usr/bin/ssh -l me -p port www.my-little-compagny.com

And maven answers me :

Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -l me 
-p port www.my-little-compagny.com: not found

(with the good values, of course).


-- 
SARL diaam informatique - 04 50 44 26 54
Ingenierie, développements de systèmes d'information
http://www.diaam-informatique.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



dist:deploy where and how ?

2004-03-06 Thread Herve AGNOUX
Hi,

I'm a newbee with maven.

I'm trying to deploy my application to a server. Deploy, I hope, means copy 
the jars of my application in a FTP location, where my costumers can obtain 
it. (and others things).

In my build.properties I have :

maven.username=me
maven.repo.central=www.my-little-compagny.com

But when I launch maven dist:deploy, maven try to connect by FTP with the 
name [EMAIL PROTECTED], not only me ; the FTP refuse the 
connexion. How can I say to maven It's only me and not [EMAIL PROTECTED] ? 



-- 
SARL diaam informatique - 04 50 44 26 54
Ingenierie, développements de systèmes d'information
http://www.diaam-informatique.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]