Re: [greenstone-users] Q: Adding -collectdir to gli.bat

From Michael Dewsnip
DateMon, 01 Nov 2004 12:12:27 +1300
Subject Re: [greenstone-users] Q: Adding -collectdir to gli.bat
In-Reply-To (1097757021-416e715db4f3e-mail-uwo-ca)
Hi Gord,

The GLI doesn't have this option at present (import.pl and buildcol.pl do), but
it would obviously be useful. I've added it to our "to do" list, and hopefully it
will make it into the next release.

If you know a bit of Java you could add this option yourself. You'll need to add
code for parsing the option in GetOpt.java, and modify getCollectDir() in
util/Utility.java to use the value you've specified. However, I imagine there
will be other things you'll need to change to run the GLI in a network
environment. The GLI writes other files to the local drive -- you'll need to fix
these up too, and you'll have to worry about where the "modelcol" directory is,
etc. etc. We need to tidy all this up, and it will probably be a bit of work.

Another option is to install the GLI applet on a server and have people run it
over the network. Collection files will be stored on the network drive in this
case.

Regards,

Michael

Gord Nickerson wrote:

> We installed Greenstone on a windows 2003 server (local library install).
>
> However the default is to have their collections on the local workstation C:
> drive which is no good in a network environment.
>
> I see there is a -collectdir option that could be added to gli.bat so they can
> save collection to their U: drive, has anyone modified gli.bat to use a mapped
> drive? And if so, can you send me their changes so i can see how it works?
>
> thanks
> --
> Gord Nickerson
> Faculty of Media and Information Studies
> NCB 288
> x86659
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users