Running The HSQLDB org.hsqldb.Server Java in the background!

2011-02-03 Thread Santhosh Nayak

Hi,
I tried to run the HSQLdb server using the maven exec:java plugin. But
the Server is starting in the background. But my requirement needs it to run
in the background, since I want to execute the sql scripts using the same
command prompt.So,
1) Is there any way to tell the maven to run exec-maven-plugin java goal
in the background? 
2) And what is best way to shutdown the hsqldb server using maven
(goals)?

thanks,
Santhosh

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Running-The-HSQLDB-org-hsqldb-Server-Java-in-the-background-tp3369095p3369095.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



maven antrun plugin with sql task closing the maven process itself

2011-02-16 Thread Santhosh Nayak

Hi,
   I'm using maven antrun plugin to shutdown the hsqldb connection after the
unit test.
I have binded the antrun run goal with the post-integration-test.
And in that goal I'm actually running a sql script having shutdown command.
when I run the "mvn post-integration-test" in the parent directory, hsqldb
connection is closing gracefully. But after the execution of the
shutdown.sql script in antrun. Its stopping there without leaving any
message (such as build error, build failure, build success). And also it is
not executing the tests of the remaining submodules. I'm kind of confused
with this behavior of maven antrun.
Can any one help in this regard.

Thanks,
Santhosh
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/maven-antrun-plugin-with-sql-task-closing-the-maven-process-itself-tp3387689p3387689.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven antrun plugin with sql task closing the maven process itself

2011-02-17 Thread Santhosh Nayak

yes, I'm using fork mode to create(start)  hsqldb as seperate process. And
for closing antrun sql task, there is nothing called fork mode.

Thanks,
Santhosh
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/maven-antrun-plugin-with-sql-task-closing-the-maven-process-itself-tp3387689p3388898.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org