Try using start instead of cmd, that might work.
<exec dir="${WC_HOME}" executable="start" os="Windows 2000">
<arg line="startWeblogic.cmd"/>
</exec>
"Li, Jerry" wrote:
> Hi, there:
>
> is there any way to let the last echo target get executed without stopping
> weblogic?
> The problem I am facing now is that the last echo target gets displayed only
> after I stop weblogic in another DOS shell. My goal is to implement a
> parallel process of weblogic while ant script continues.
>
> <target name="deploy2Weblogic" depends="init">
> <antcall target="createWlsJ2eeApps"/>
> <copy todir="${WC_HOME}">
> <fileset
> dir="${DELIVERABLE_DIR}${FILE_SEP}Weblogic"/>
> </copy>
> <exec dir="${WC_HOME}" executable="cmd" os="Windows 2000">
> <arg line="/c start startWeblogic.cmd"/>
> </exec>
> <echo message="Build Finished"/>
> </target>
>
> Appreciate your help.
>
> Jerry
>
> --------------------------------------------------------------------------
> 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.
> --------------------------------------------------------------------------
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>