Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 45441 invoked from network); 6 Jul 2002 22:53:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Jul 2002 22:53:31 -0000 Received: (qmail 12067 invoked by uid 97); 6 Jul 2002 22:53:41 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 12051 invoked by uid 97); 6 Jul 2002 22:53:40 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 12038 invoked by uid 98); 6 Jul 2002 22:53:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Resin on Mac OS X Date: Sat, 6 Jul 2002 17:52:58 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Unfortunately, this is by design. waits for the child process to complete. We may have a new for Ant 1.6 for an equivalent of that 'starts and forgets' child processes. I'm not sure it would work, but have you tried to a shell script that does "httpd &"? The script would complete, and ant would have the 'hand' back. --DD -----Original Message----- From: Gabriel Pack [mailto:grpack@yahoo.com] Sent: Saturday, July 06, 2002 5:44 PM To: ant-user@jakarta.apache.org Subject: Resin on Mac OS X I would like to have Ant start Resin as part of a deployment process. Previously, I was developing on Windows 2000. I had Resin set up as an NT service. I used the exec task to issue a "net start" command, and everything worked fine. I've moved over to Mac OS X now, and the command to start Resin as a daemon process is "httpd start". When I issue this from a shell prompt, Resin spawns in the background with no problems. If I try to exec the command from within Ant, Resin starts; but it hangs Ant, as if Resin isn't starting in the background. I even tried exec on "httpd &", but Ant says that "&" is illegal. My software versions are Ant 1.4.1, JVM 1.3.1, Mac OS X 10.1.5, and Resin 2.1.1. Any insights would be appreciated. __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: