ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject starting weblogic from ant
Date Thu, 25 Jul 2002 12:31:12 GMT
Dear all,

We are trying to get make a script for cruisecontrol.  The script needs to
first build our application, and then deploy it.  The building is no
problem, but the starting of weblogic is.

We have tried out 2 alternatives:

      1     start weblogic like in the script below.  But then ant just
stops after weblogic is started.

      2     run the weblogic in a parallel task, but then we don't know
when weblogic is started.
            So we would need some kind of check to know when weblogic is
completely started

Any help would be very much appreciated,

<target name="start.weblogic">
            <echo message="Debug:
                  <java classname="weblogic.Server" fork="yes" dir="F:
\Work\Bea\wlserver6.0" classpath="${classpath};${weblogic.classpath}">
                        <jvmarg value="-hotspot"/>
                        <jvmarg value="-ms64m"/>
                        <jvmarg value="-mx64m"/>
                        <jvmarg value="-Djava.library.path
                        <jvmarg value="-Dweblogic.Domain=mydomain"/>
                        <jvmarg value="-Dweblogic.Name=myserver"/>
                        <jvmarg value="-Dbea.home=${bea.home}"/>
                        <jvmarg value=""/>
                        <jvmarg value="
*******************Internet Email Confidentiality Footer*******************

Privileged/Confidential Information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.

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

View raw message