ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: How can i take environnement variable to an other computer
Date Mon, 12 May 2003 16:01:35 GMT
Have a look at the manual page of ant for the property task.
<property environment="env"/> reads the complete environment variables ant
is running with and creates properties beginning all with env.
such as env.PATH, env.LOGNAME, env.xyz, ....

To take your variables to a different computer, ant includes different tasks
to execute remote scripts. You can download the latest version of ant
(nightly builds) and try your luck with the new ssh (Secure Shell) tasks.
Otherwise ant includes ftp, telnet, ...

Antoine
----- Original Message -----
From: "Remi Gubry" <repagu@yahoo.com>
To: <user@ant.apache.org>
Sent: Monday, May 12, 2003 3:15 PM
Subject: How can i take environnement variable to an other computer


> Hello,
> Do you know if i can take environnement variable to an
> other computer on the same network with ant? (I need
> it to call a .bat to another PC which contains its own
> variables)
> tanks
> repagu
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


Mime
View raw message