You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by heelha <he...@gmail.com> on 2008/02/27 10:36:40 UTC

Ant spawn problem

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.
-- 
View this message in context: http://www.nabble.com/Ant-spawn-problem-tp15709532p15709532.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org