I want to create a target that starts my servers. (One is tomcat, the other an EJB container. They are <java> and <wlrun> tasks respectively.) I've written the two subtasks and they each run fine. Then I grouped them into a separate empty task that depends on them both. The problem is that the first task (being a server) never returns, so the second task never starts. Yes, I'm using fork="true". Is there any way to have Ant start the threads separately and not wait for the result codes? I know I could put two invocations of Ant into a batch file and run that from the command line. (Or maybe with <exec>. Does it wait?), but that seems inelegant solution.
