Ignore:
Timestamp:
2010-05-19T20:48:22+12:00 (14 years ago)
Author:
ak19
Message:

JDBM works on Windows now: Dr Bainbridge fixed the Java code by commenting out calls to system.err which were creating DOS prompts that wouldn't exit. Will need to redirect the output eventually, but am committing this working version (since in the early commit containing the USE_GDBM and USE_JDBM changes for Windows, only GDBM was working). Have now tested combinations of both flags in separate SVN checkouts, both with LOCAL_LIBRARY and APACHE_HTTPD turned on during compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/jdbmedit/JdbGet.java

    r21403 r22124  
    5959    public static void main(String[] args)
    6060    {
     61    //System.err.println("Running JdbmEdit");
    6162
    6263    if (args.length != 2) {
     
    6768    String key    = args[1];
    6869
     70    //System.err.println("Args: " + args[0] + " " + args[1]);
     71
    6972        try {
    7073
    7174            JdbmAPI jdbm_api = new JdbmAPI(dbname,true);
     75        //System.err.println("Constructed jdbm_api");
    7276            String val = jdbm_api.get(key);
    7377        utf8out.println(val);
Note: See TracChangeset for help on using the changeset viewer.