ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li, Jerry" <>
Subject how to escape & in ant
Date Fri, 20 Sep 2002 23:05:00 GMT
Hi, All:

I have a target as shown below:

	<!-- a target to start weblogic -->
	<target name="startWeblogicOnUnix" depends="init">
		<echo message="starting weblogic server   please wait..."/>
		<exec executable="/usr/bin/sh" os="SunOS" dir="${WC_HOME}">
			<arg line="nohup &"/>
		<sleep seconds="30"/> 
	<!-- end: a target to start weblogic -->

How Could I escape & in ant and make this target to work?

thanks in advance,


Note:  The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message