Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 52510 invoked by uid 99); 20 Aug 2004 01:34:42 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [80.91.224.249] (HELO main.gmane.org) (80.91.224.249) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 18:34:40 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BxyIg-0001LS-00 for ; Fri, 20 Aug 2004 03:34:38 +0200 Received: from nat-156.corp.finaplex.com ([12.174.80.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Aug 2004 03:34:38 +0200 Received: from jbarrett by nat-156.corp.finaplex.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Aug 2004 03:34:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cactus-user@jakarta.apache.org From: Jeff Barrett Subject: ant integration and starting/stoping container w/ ant tasks Date: Thu, 19 Aug 2004 18:34:34 -0700 Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: nat-156.corp.finaplex.com User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en Sender: news X-Virus-Checked: Checked I'm having a conceptual problem here, or at least I think I am. The tasks I seem to need to automate testing with cactus and ant (e.g. or ) require me to specify what tasks to call to start and stop the server. I have one task that starts the server, but it just calls a java ant task. Let's call it weblogic-start. These other tasks could certainly call weblogic-start no problem. But, as far as I understand it, the thread of control wouldn't return from the call to weblogic-start since it hangs around as long as the server is running. Control would never return to the or tasks so that they could then run the tests. Assuming I'm right about this, I'm guessing I would need the ant task that starts the server to call some script that will start the server but detach control from it. Any ideas how to do that? I'm working on a windows machine -- is there some way I can maybe startup weblogic as a windows service from an ant task? Thanks.