Skip to content
Browse files

was not including config files

  • Loading branch information...
1 parent 918ff04 commit 8ae7fb6108b6cb6ad24e885bc2fd8acbc642d212 @nova77 nova77 committed
Showing with 12 additions and 3 deletions.
  1. +12 −3 esa-lucene/build.xml
View
15 esa-lucene/build.xml
@@ -5,9 +5,10 @@
<!-- set global properties for this build -->
<property name="src" location="src"/>
- <property name="build" location="build"/>
- <property name="dist" location="dist"/>
- <property name="lib" location="lib"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="dist"/>
+ <property name="lib" location="lib"/>
+ <property name="config" location="src/config"/>
<property name="version" value="1.0.1"/>
<path id="lib.classpath">
@@ -41,6 +42,13 @@
<fileset dir="${lib}"/>
</copy>
+ <!--
+ <copy todir="${dist}/esa-lucene-${version}/config">
+ <fileset dir="${config}">
+ <include name="*.*"/>
+ </fileset>
+ </copy> -->
+
<pathconvert refid="lib.classpath" pathsep=" " property="lib.classpath.jar-format">
<chainedmapper>
<flattenmapper />
@@ -51,6 +59,7 @@
<!-- Put everything in ${build} and ${share} into esa-lucene.jar -->
<jar destfile="${dist}/esa-lucene-${version}/esa-lucene-${version}.jar">
<fileset dir="${build}" />
+ <zipfileset dir="${config}" prefix="config"/>
<manifest>
<attribute name="Main-Class" value="edu.wiki.index.ESAWikipediaIndexer" />
<attribute name="Class-Path" value="${lib.classpath.jar-format}" />

0 comments on commit 8ae7fb6

Please sign in to comment.
Something went wrong with that request. Please try again.