Hi,

> I see org.h2.util.StartBrowser.openURL(String url) in the src tree but
> not the Javadocs. Would it be appropriate to add a main method that
> invokes openURL() in order to open a browser from the command line?

I'm not sure if it makes sense to call this method from a script. The
script doesn't 'know' the URL, it just guesses it. I believe it's
better to start the browser from the server, as in:

ava org.h2.tools.Server -web -browser

> Your servers do the right thing, but the "while [ $READY -eq 0 ]"
> seems to be required to prevent the browser from opening the URL
> before the server is up.

Probably it is required in your case because you start the browser
from the script and not from the java application.

> Process ids are always a problem; I should probably write this in
> Java! :-)

If you found a way to get the process ID from within Java then please
tell us. We need a solution that is: cross platform (including
Windows), works for Java 1.4 and newer, is relatively simple (no
dependencies), and does not require JNI.


Regards,
Thomas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to