Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

make the jar less broken -- however, it still requires a "lib" dir with lucene.jar and libreadline-java.jar

Daniel Naber6dd382334c6a
diff --git a/sandbox/contributions/lucli/META-INF/MANIFEST.MF b/sandbox/contributions/lucli/META-INF/MANIFEST.MF
index ea9d56c67e6..bd81eaf32ce 100644
--- a/sandbox/contributions/lucli/META-INF/MANIFEST.MF
+++ b/sandbox/contributions/lucli/META-INF/MANIFEST.MF
@@ -1 +1,2 @@
-Main-Class: LuceneLine
+Main-Class: lucli.Lucli
+Class-Path: lib/libreadline-java.jar lib/lucene.jar
diff --git a/sandbox/contributions/lucli/build.xml b/sandbox/contributions/lucli/build.xml
index 78ca92b43d8..9e8a9702d04 100644
--- a/sandbox/contributions/lucli/build.xml
+++ b/sandbox/contributions/lucli/build.xml
@@ -18,5 +18,12 @@
<property name="src.dir" location="src"/>
+ <target name="dist" depends="compile" description="Create JAR">
+ <jar jarfile="${dist.dir}/${dist.name}.jar"
+ basedir="${build.classes.dir}"
+ manifest="META-INF/MANIFEST.MF"
+ />
+ </target>
+
<import file="../common.xml"/>
</project>