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]
