ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Robert H - MWT" <>
Subject RE: Changing user inside ant script
Date Fri, 25 Apr 2003 20:06:19 GMT
Use sudo.

-Rob A

-----Original Message-----
From: Marie-Josee Blais []
Sent: Friday, April 25, 2003 12:47 PM
Subject: Changing user inside ant script

I need to execute a bash script from ant. I want to su to root and then
call my bash script. This does not work. su returns "standard in must be
a tty". Is there anyway of specifying the user used for an exec task ?

I need this because I have configured cruisecontrol to rebuild every day
and I want to be able to install my software and set correct permissions
on my files.

Thanks !

Marie-Josee Blais <>
Miranda Technologies inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message