Show
Ignore:
Timestamp:
07.05.2010 21:11:22 (10 years ago)
Author:
ak19
Message:

1. More changes to makefiles: rm JDBMWrapper.jar and jdbm.jar on clean. 2. DB files (argdb, users, key, history) now not only for gdbm but to work with other db types like jdbm, sqlite and mssql.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/collectset.cpp

    r22050 r22067  
    339339      { 
    340340#ifdef USE_SQLITE 
    341     sqlitedbclass *sql_db_ptr = new sqlitedbclass(); 
     341    sqlitedbclass *sql_db_ptr = new sqlitedbclass(gsdlhome); 
    342342    db_ptr = sql_db_ptr; 
    343343 
     
    361361      { 
    362362#ifdef USE_MSSQL 
    363     mssqldbclass *mssql_db_ptr = new mssqldbclass(); 
     363    mssqldbclass *mssql_db_ptr = new mssqldbclass(gsdlhome); 
    364364    db_ptr = mssql_db_ptr; 
    365365 
     
    388388    if (db_ptr == NULL) { 
    389389#ifdef USE_GDBM 
    390       db_ptr = new gdbmclass(); 
     390      db_ptr = new gdbmclass(gsdlhome); 
    391391#else 
    392392    cerr << "Warning: infodbtype of 'gdbm' was not compiled in to " << endl;