Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Ant spawn problem

heelha

2008-02-27


Author LoginPost Reply

We are using ant in hudson CI tool for starting weblogic server. Part of Ant
script is :

<target name="start-weblogic">
  <parallel>
    <daemons>
      <exec dir="${startWeblogicDir}" executable="sh" os="HP-UX"
spawn="false">
        <arg value="-c"/>
        <arg value="startWebLogic.sh"/>
      </exec>
    </daemons>
 </parallel>
</target>

We use nohup command in the startWeblogic.sh for recording logs to a file.
When this target is launched, weblogic starts. But nothing records in log
file.

if ant script is used like

<target name="start-weblogic">
 
      <exec dir="${startWeblogicDir}" executable="sh" os="HP-UX"
spawn="false">
        <arg value="-c"/>
        <arg value="startWebLogic.sh"/>
   
</target>

logs are recorded and ant hangs.

How can I start weblogic server either start weblogic without ant hangs and
record logs to file.
--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.