[MKSearch-dev] Test scripts for JSpider plugin properties with database storage

Chris Croome chris at webarchitects.co.uk
Wed Feb 8 12:07:46 GMT 2006


Hi

On Wed 11-Jan-2006 at 06:56:48PM -0000, Phil Shaw wrote:
> 
> I've created a new DatabasePropertiesCheck class that loads a plugin
> properties file, checks the necessary parameters, then loads the
> database driver and attempts to make a connection.
> 
> I also created a set of bash scripts, the path of the properties file
> is the only argument, e.g.:
> 
> $mk_home/bin/gij-pgsql-test.sh
> /home/chris/mksearch/conf/rdfstore/plugins/rdfstore.properties
> 
> Or
> 
> $mk_home/bin/java-pgsql-test.sh
> /home/chris/mksearch/conf/rdfstore/plugins/rdfstore.properties

For the record these are in $mk_home/bin/test/ and they work fine, these
are the commands I have used to run them:

  $mk_home/bin/test/gij-pgsql-test.sh \
  $mk_home/conf/rdfstoredb/plugins/rdfstore.properties 

  $mk_home/bin/test/java-pgsql-test.sh \
  $mk_home/conf/rdfstoredb/plugins/rdfstore.properties

Chris

-- 
Chris Croome                               <chris at webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   


More information about the MKSearch-dev mailing list