I'm trying to write a plugin that starts and stops an instance of the
HSQLDB server. The Server class provides a main method so that you can
run it from the command line or start it programmatically. If I run it
from the command line it starts up and then keeps running (the jvm
doesn't exit) which is what it's supposed to do. If call main() from a
normally java app and run that java app it does the same thing. But for
some reason if I call main() from with execute() in my plugin the server
just starts and then stops. Any suggestions? Is there something about
the way maven plugins treat threads that I don't know about?

Another thing to note is that if I run the plugin from the commandline
the 'build' completes successfully and the server is shut down. But if I
run it from within eclipse then the build still exits but the server is
still running. Any help would be great.

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to