tweak example <lib/> declarations so license files aren't added to classpath, also fix so langid deps are included

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2012-03-27 22:30:26 +00:00
parent 4859bd8b30
commit 3657a6a6ec
1 changed files with 21 additions and 13 deletions

View File

@ -52,33 +52,41 @@
<lib dir="./lib" /> <lib dir="./lib" />
--> -->
<!-- A dir option by itself adds any files found in the directory to <!-- A 'dir' option by itself adds any files found in the directory
the classpath, this is useful for including all jars in a to the classpath, this is useful for including all jars in a
directory. directory.
--> -->
<lib dir="../../contrib/extraction/lib" /> <!--
<lib dir="../../contrib/clustering/lib/" /> <lib dir="../add-everything-found-in-this-dir-to-the-classpath" />
<lib dir="../../contrib/velocity/lib" /> -->
<!-- When a regex is specified in addition to a directory, only the <!-- When a 'regex' is specified in addition to a 'dir', only the
files in that directory which completely match the regex files in that directory which completely match the regex
(anchored on both ends) will be included. (anchored on both ends) will be included.
--> -->
<lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" /> <lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" />
<lib dir="../../dist/" regex="apache-solr-clustering-\d.*\.jar" /> <lib dir="../../contrib/extraction/lib" regex=".*\.jar" />
<lib dir="../../dist/" regex="apache-solr-langid-\d.*\.jar" />
<lib dir="../../dist/" regex="apache-solr-velocity-\d.*\.jar" />
<!-- If a dir option (with or without a regex) is used and nothing <lib dir="../../dist/" regex="apache-solr-clustering-\d.*\.jar" />
<lib dir="../../contrib/clustering/lib/" regex=".*\.jar" />
<lib dir="../../dist/" regex="apache-solr-langid-\d.*\.jar" />
<lib dir="../../contrib/langid/lib/" regex=".*\.jar" />
<lib dir="../../dist/" regex="apache-solr-velocity-\d.*\.jar" />
<lib dir="../../contrib/velocity/lib" regex=".*\.jar" />
<!-- If a 'dir' option (with or without a regex) is used and nothing
is found that matches, it will be ignored is found that matches, it will be ignored
--> -->
<lib dir="/total/crap/dir/ignored" /> <lib dir="/total/crap/dir/ignored" />
<!-- an exact path can be used to specify a specific file. This <!-- an exact 'path' can be used instead of a 'dir' to specify a
will cause a serious error to be logged if it can't be loaded. specific file. This will cause a serious error to be logged if
it can't be loaded.
--> -->
<!-- <!--
<lib path="../a-jar-that-does-not-exist.jar" /> <lib path="../a-jar-that-does-not-exist.jar" />
--> -->
<!-- Data Directory <!-- Data Directory