A while back I did something like this with the Jelly threads package.
Roughly:
<j:thread>
<java classname="com.mycompany.MyServer"
dir="${maven.test.dir}"
fork="yes">
<classpath>
<path refid="maven.dependency.classpath"/>
</classpath>
</java>
</j:thread>
Maybe you can do something similar, but use Ant's exec instead of java
task? More info on Jelly thread tags can be found here:
http://jakarta.apache.org/commons/jelly/libs/threads/tags.html
Jeff
On Thu, 24 Jun 2004, at 13:57:13 [GMT +0300] Maksimenko Alexander
wrote:
> G�schl,Siegfried wrote:
>>Hi Alexander,
>>
>>I'm not sure but is it possible to start the HTTP server in a plugin taking care of
>>the internals?!
>>
>>Cheers,
>>
>>Siegfried Goeschl
>>
> I've looked at jetty plugin but it simply calls <java fork="true"> this
> action suspends execution of ant script
>>Hi!
>>I need to start my http server in another jvm before starting my tests. I noticed
>>that <ant:java fork="true"> stops execution of the ant script
>>until the java process finishes, so I can't use it to reach my goal. <ant:parallel>
>>works properly only for <ant:java fork="false">. :( Is there any solution for my
>>problem?
>>
> -
> Maksimenko Alexander
> Softwarium, www.softwarium.net
--
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]