source: trunk/indexers/lucene-gs/src/org/greenstone/LuceneWrapper/Makefile@ 12255

Last change on this file since 12255 was 12255, checked in by mdewsnip, 18 years ago

Upgraded the version of Lucene from 1.4.1 to 2.0.0... what's the worst that could happen?

  • Property svn:keywords set to Author Date Id Revision
File size: 588 bytes
Line 
1
2
3#CLASSPATH = ./lib/lucene-1.4.jar:./lib/soap.jar:./lib/xercesImpl.jar:./lib/xalan.jar:./lib/xml-apis.jar
4LUCENE_JAR = ./lib/lucene-core-2.0.0.jar
5CLASSPATH = $(LUCENE_JAR):classes
6
7
8compile:
9 mkdir -p classes
10 javac -classpath $(CLASSPATH):. -d classes *.java
11
12jar:
13 cd classes && jar xf ../$(LUCENE_JAR)
14 jar cvf LuceneWrap.jar -C classes .
15
16install:
17 install LuceneWrap.jar ../../../../../../bin/java/.
18
19build:
20 java -classpath $(CLASSPATH):. BuildXMLColl `pwd` test
21
22search:
23 java -classpath $(CLASSPATH):. Search `pwd`/collect/test/building/idx
24
25clean:
26 /bin/rm -f classes/*.class
27
Note: See TracBrowser for help on using the repository browser.