Charles, The answer is simple : The runservertests tasks starts a thread an calls the start_target on that thread ... It it completely normal that when you start Tomcat (or any other server) it waits until you stop it.
Cheers, -Vincent > -----Original Message----- > From: Charles Brunson [mailto:[EMAIL PROTECTED]] > Sent: 01 May 2002 22:06 > To: Vincent Massol > Subject: Re: start tomcat target > > Vincent Massol wrote: > > > Charles, > > > > I believe it seems to hang simply because the URL you have defined in > > testURL is not a valid URL and thus the runservertests task thinks the > > server is not yet started. I don't think it is a problem of background > > process as it works well here and you're using the fork="yes" attribute. > > > > You can start Ant in debug mode if you wish to get some debug info from > > the runservertests task (ant -debug your_target). > > > > Thanks > > -Vincent > > > > > I think I misstated my problem. ant hangs for me if I just do "ant > start_tomcat" > which is what leads me to believe that the problem is that my start_tomcat > target starts up a java process that doesn't exit so it just sits there > waiting for that process to end. > > I can't imagine why others aren't seeing this same problem (if what I've > said above is really the problem) so I'm assuming it's something that > I'm missing. > > I just don't see how you can have an ant target that starts a java process > that doesn't finish until you do something else. > > I don't think I'm explaining this very well ;^) > > I've already found a way around the problem but it's an ugly solution. > > > > > -- > Chuck Brunson > x56912 > 719-277-6912 > [EMAIL PROTECTED] > AIM: chuck9206 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
