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
|
---|
4 | LUCENE_JAR = ./lib/lucene-core-2.0.0.jar
|
---|
5 | CLASSPATH = $(LUCENE_JAR):classes
|
---|
6 |
|
---|
7 |
|
---|
8 | compile:
|
---|
9 | mkdir -p classes
|
---|
10 | javac -classpath $(CLASSPATH):. -d classes *.java
|
---|
11 |
|
---|
12 | jar:
|
---|
13 | cd classes && jar xf ../$(LUCENE_JAR)
|
---|
14 | jar cvf LuceneWrap.jar -C classes .
|
---|
15 |
|
---|
16 | install:
|
---|
17 | install LuceneWrap.jar ../../../../../../bin/java/.
|
---|
18 |
|
---|
19 | build:
|
---|
20 | java -classpath $(CLASSPATH):. BuildXMLColl `pwd` test
|
---|
21 |
|
---|
22 | search:
|
---|
23 | java -classpath $(CLASSPATH):. Search `pwd`/collect/test/building/idx
|
---|
24 |
|
---|
25 | clean:
|
---|
26 | /bin/rm -f classes/*.class
|
---|
27 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.