I agree with Blaine in that if you just run any component of HSQLDB as a 
Java program it will be easier to understand and tweak.

I had a second look at those scripts. It seems they actually take the 'cp' 
from calling the common function which is in /hsqldb/lib. HSQLDB components 
do not need any context variable such as JAVA_HOME etc. so they can be run 
just like any simple "hello world" application. Just check out the possible 
command line arguments for different properties.

Fred

----- Original Message ----- 
From: "Blaine Simpson" <[EMAIL PROTECTED]>
To: <hsqldb-developers@lists.sourceforge.net>
Sent: 28 December 2004 15:35
Subject: Re: [Hsqldb-developers] Problem with runUtil.sh


Amit Handa wrote:

>Thanks Fred!
>
>But still I feel they should work, as they help a starter
>to understand the way hsql works.
>
>
That's debatable.  Give the following 2 command sets to a Java developer
and ask them
what they can infer from each about how Hsqldb works.

    runUtil.sh DatabaseManagerSwing

    export CLASSPATH=/path/to/hsqldb/lib/hsqldb.jar
    java org.hsqldb.util.DatabaseManagerSwing

Then, if the developer needs to adjust things a bit...  Suppose their
query uses up
all of their RAM.  Any Java developer who knows how to use the -X... args
will know how to adjust the 2nd command, but will have to learn how to
do it with
runUtil.sh... (if the latter is possible... I don't remember because I
don't use it).

I'm not saying that I'm right and you're wrong.  I'm saying that it is
"debatable"
whether runUtil.sh helps a starter to understand the way hsql works.  I have
shown why I believe that, at least in some cases, it hinders an
understanding
of how Hsqldb works.

>I can volunteer to help rectify the scripts,
>if you can incorporate the changes back.
>
>thanks,
>Amit
>
>fredt wrote:
>
>
>>It is assumed that people know how to run a Java program in their 
>>particular
>>environment. The supplied short scripts are just examples to provide 
>>hints.
>>
>>Fred
>>
>>----- Original Message ----- 
>>From: "Amit Handa" <[EMAIL PROTECTED]>
>>To: <hsqldb-developers@lists.sourceforge.net>
>>Sent: 27 December 2004 06:17
>>Subject: [Hsqldb-developers] Problem with runUtil.sh
>>
>>
>>Hi,
>>
>>I am trying to run the runUtil.sh from the version 1.7.3.
>>
>>In this script there is a cp variable which should point to classpath.
>>But is never initialized to anywhere until it is used :(.
>>
>>Am I missing anything here ?
>>
>>thanks,
>>Amit
>>
>>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
hsqldb-developers mailing list
hsqldb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to