Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 61392 invoked from network); 25 Jan 2001 16:22:02 -0000 Received: from mail2.oven.com (208.178.52.43) by h31.sny.collab.net with SMTP; 25 Jan 2001 16:22:02 -0000 Received: from nyc2-firewall.oven.com (nyc2-firewall.oven.com [208.178.52.178]) by mail2.oven.com (Postfix) with ESMTP id 42A899511 for ; Thu, 25 Jan 2001 11:20:00 -0500 (EST) Received: from Rhombus (dhcp-nyc2-154.ny.oven.com [10.7.0.154]) by nyc2-firewall.oven.com (Postfix) with SMTP id 983639E7A for ; Thu, 25 Jan 2001 11:20:32 -0500 (EST) From: "Michael Fortson" To: "Ant-User" Subject: and j2eeunit Date: Thu, 25 Jan 2001 11:18:27 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Does anyone have any examples of starting weblogic (5.1) from ant using in order to run unit tests (say, with junit + j2eeunit) against it during the build? So far, I have a 'start_weblogic' target (which uses wlrun), and my 'testj2ee' target depends on that. However, wlrun starts weblogic in the foreground, so the start_weblogic dependency is never actually satisfied unless weblogic exits... There are some examples of using ant to test j2ee components provided along with the j2eeunit package, but it provides separate scripts for bash and windows to get weblogic running, and the scripts invoke ant only after weblogic has already been started. I'm trying to find a way to have ant start weblogic and run tests against it all from the build.xml file (and have it work on solaris, linux, hpux, and windows). Any ideas? -Mike