Thank you very much ! It's exactly what I was looking for. 2005/11/19, Brett Porter <[EMAIL PROTECTED]>: > > fork just menas it starts a new jvm, not that it is run simulataneously. > > In Maven 1.0 or 1.1, you can use <j:thread> - see the FAQ. This will > spawn it for the life of the build. > > To have it live beyond the build will require Maven 1.1, and the spawn > argument from Ant 1.6 (see ants docs). > > - Brett > > On 11/19/05, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: > > I created a preGoal for test:test in order to start up a HSQLDB database > > before I run my Spring and Hibernate JUnit tests. So I would like the > HSQL > > server to be started in another thread. Here is the preGoal I added to > my > > maven.xml file : > > > > <preGoal name="test:test"> > > <ant:path id="hsql.classpath"> > > <ant:path refid="maven.dependency.classpath"/> > > </ant:path> > > > > <ant:java classname="org.hsqldb.Server" fork="true"> > > <ant:arg value="-database.0 tagspotdb"/> > > <ant:arg value="-dbname.0 tagspotdb"/> > > <ant:classpath refid="hsql.classpath"/> > > </ant:java> > > </preGoal> > > > > From what I understood, fork="true" should make it, but it doesn't. And > when > > I run "maven test", HSQL starts up and the maven process halts. > > Do you have any idea why that doesn't work and how I could solve that > issue > > ? > > > > Thx in advance > > > > -- > > Sébastien Arbogast > > > > Blog : http://www.sebastien-arbogast.com > > The Epseelon Project : http://www.epseelon.org > > Projet Phénix : http://phenix.netbios.fr > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Sébastien Arbogast Blog : http://www.sebastien-arbogast.com The Epseelon Project : http://www.epseelon.org Projet Phénix : http://phenix.netbios.fr
