Follow on: I've removed the weblogic and it is still there. If I remove the unit testing it goes away. I now have junit running with a fork="true" and it seems to be OK. But I can't get WLS to run in a separate VM using the <wlrun> task, I could just do a java to get it to run, but it seems to defeat the purpose. Is it possible to have an <ant> call run in a seperate VM? Maybe it would be nice to have a <fork> task that forked to run the tasks within??? Thanks, Alan.
-----Original Message----- From: Alan Pearlman Spencer Sent: 28 November 2001 09:28 To: Ant Users List Subject: Problem with classes still loaded from WLS... Hi All, I have an anoying.interesting problem. I have a build script that runs from CruiseControl. It builds everything, runs unit tests, starts weblogic, runs system tests and then finishes. But, the next time it runs it tries to remove the previous build, but it says it can't delete the .jar files. I presume that this is because weblogic loaded the jar files and is not letting go even though it has been shut down (as it runs in the same VM as the build). I would like to have the <wlrun> task run in a separate VM, but I can't seem to get it to do this... Any idea Thanks, Alan. Alan Pearlman-Spencer MobileAware Ltd. 3225 Lake Drive, National Digital Park, CityWest Business Campus, Dublin 24. Ireland. Phone: +353 (0)1 2410 500 Fax: +353 (0)1 2410 501 -- 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]>