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
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?
> Gord Nickerson
> Faculty of Media and Information Studies
> NCB 288
> greenstone-users mailing list