ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Adding sh script in ant
Date Mon, 13 Feb 2006 09:51:50 GMT

Hi Bejoy,
          Try this
<target name="env-var" >
		<exec dir="dir/where/"
executable="sh" os="Linux" failonerror="true" >
			<arg line="" />


-----Original Message-----
From: bejoy []
Sent: Monday, February 13, 2006 2:20 PM
Subject: Adding sh script in ant

Hi ,

I have a Shell Script to set the environment variables("").I
want to
put this script into my ant build sothat before doing any task the env
variables has to set.How can I call this script in my build.xml.

Thanks in advance,

This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient or received it in
error, please contact the sender by reply e-mail and destroy all copies
of the original message. Please do not copy it for any purpose or
disclose its contents.

Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.

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

View raw message