Changeset 21400

Show
Ignore:
Timestamp:
01.01.2010 23:00:54 (9 years ago)
Author:
davidb
Message:

Development of JdbmAPI that supports -- as a persistent session -- interaction with the JDBM database

Location:
main/trunk/greenstone2/common-src/src/jdbmedit
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/jdbmedit/Makefile

    r21397 r21400  
    11 
    2 GSDL_DIR = ../../.. 
     2GSDL_DIR  = ../../.. 
    33 
    4 OBJECTS = Jdb2Txt.class Txt2Jdb.class JdbGet.class \ 
    5   JdbSet.class JdbDel.class JdbKeys.class 
     4OBJECTS   = JdbmAPI.class Jdb2Txt.class Txt2Jdb.class JdbGet.class \ 
     5            JdbSet.class JdbDel.class JdbKeys.class 
     6 
     7 
     8JDBM_JAR  = ../../packages/jdbm/jdbm-1.0/dist/jdbm-1.0.jar 
    69 
    710all: JDBMWrapper.jar 
     
    1518 
    1619%.class: %.java 
    17     javac -cp lib/jdbm-1.0.jar:. $< 
     20    javac -cp $(JDBM_JAR):. $< 
    1821 
    1922 
    2023clean: 
    21     /bin/rm -f *.class 
     24    /bin/rm -f *.class test.lg test.jdb 
    2225 
    2326distclean: clean 
    2427    /bin/rm -f JDBMWrapper.jar 
     28 
     29test-api: 
     30    java -cp $(JDBM_JAR):JDBMWrapper.jar JdbmAPI test