ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: WLRun Frustrations...
Date Wed, 13 Jun 2001 19:43:48 GMT
Couldn't get it to work either - I just started weblogic/Server using the
java task. I guess behind the scenes it's the same what happens with the
runwl task.

 -----Original Message-----
From: 	Alan Gates [] 
Sent:	Tuesday, June 12, 2001 7:52 PM
Subject:	Re: WLRun Frustrations...


Ant doesn't have any concept of background processing.  Even if you use 
the java task with fork=yes, ant still waits for the separate process 
(JVM) to finish.  So your aproach of using the java task won't work.

Were the class-not-found errors for the class that implements wlrun 
(WLRun) or for weblogic?  If they're for WLRun you may need to get the 
optional.jar from the ant website (at  you want 
to download the file
jakarta-ant-1.3-optional.jar) and make sure it's in your classpath.


McNamara, Sean (Contractor) wrote:

>Greets all-
>After much searching, testing, archive digging, and cursing, I'm at the
>point where I'm in need of some outside help.
>I'm trying to configure an automated Run/Test process for a system we're
>developing using Ant and Weblogic v5.10.  The problem I am having has to do
>with starting up weblogic in order to run the tests.
>We have several targets, one to build the project, package it, build the
>tests, start weblogic, run the tests, stop weblogic, but are having
>completing the cycle.
>It appears that starting weblogic stops the build-process in it's tracks.
>spent quite some time trying to start weblogic through the wlrun command,
>but kept receiving class-not-found exceptions, as a result, I'm starting it
>via the <java> command with fork="yes".
>The build process is as follows:
>The server gets started fine, but once it's running I don't receive any
>output.  I tried putting an <ECHO> immediately after the startup, and do
>see it on the console.
>If I open another shell, and manually shutdown weblogic using the Admin
>class, I DO see my test output.
>What am I missing that would allow me to successfully complete this
>build-deploy-test process?

View raw message