Commit Graph

323 Commits

Author SHA1 Message Date
Erik Hatcher 4f84a76e7b add JavaCC .jj/.java uptodate check with warning notice
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156448 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 21:17:11 +00:00
Erik Hatcher c33696e120 Because we're doing something atypical, storing generated artifacts in the repository, its tricky to ensure
up-to-dateness.  Because generation is an infrequent activity, deleting the main .java file for each of the .jj
files is good enough to ensure everything gets regenerated.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156445 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:28:25 +00:00
Erik Hatcher 823851222b correct target path for jjdoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156433 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 16:18:37 +00:00
Erik Hatcher 5f67460ad2 Add new PrecedenceQueryParser so others can try it out and discuss any issues with it. TestPrecedenceQueryParser is
a clone of TestQueryParser with two noted changes - one within testQPA and with the testPrecedence method.  testPrecedence
was added to TestQueryParser to show its awkward behavior (and ensure it doesn't change).

Modified build to use Ant's <javacc> task, instead of launching directly with <java>, which has built-in dependency
checking. 



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156431 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 16:08:02 +00:00
Daniel Naber c1623f84b8 increase version number from 1.5 to 1.9, so that the jar is called lucene-1.9-rc1-dev.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151795 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 23:57:02 +00:00
Bernhard Messer a48937b2c5 add task "test-deprecated" to run deprecated test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150695 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 18:24:35 +00:00
Doug Cutting a5302cb962 Add GCJ target. Also change datestamp of jar to per-day rather than
per-second so that other targets can be based on the jar file without
having to be rebuilt every second.  And fixed a typo.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150526 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 18:16:50 +00:00
Otis Gospodnetic bcaf26108e - Applied patch from http://issues.apache.org/bugzilla/show_bug.cgi?id=30360
PR: 30360
Submitted by:	Paul Elschot
Reviewed by:	Otis Gospodnetic


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150442 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:38:46 +00:00
Doug Cutting de1ea95568 Preparing for 1.4 final release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150369 13f79535-47bb-0310-9956-ffa450edef68
2004-07-01 17:40:41 +00:00
Otis Gospodnetic cdd9601158 - Switched to UTF-8 file encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150360 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 20:24:20 +00:00
Doug Cutting 441b8dee40 Preparing for 1.4RC3 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150335 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:20:04 +00:00
Doug Cutting 1ed81e4fdc Changed so that 'ant jar' works again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150328 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:28:37 +00:00
Erik Hatcher 77e80269d3 add descriptive failure if junit.jar is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150282 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 23:53:21 +00:00
Doug Cutting 6c04afefc8 Preparing for 1.4RC2 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150270 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:32:11 +00:00
Doug Cutting 7a6938c5f8 Preparing for 1.4-RC1 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150261 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 23:20:54 +00:00
Erik Hatcher 100c877a90 oops, lost special DSTAMP/TSTAMP overrides in the last commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150253 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 09:54:49 +00:00
Erik Hatcher 64d7ba6087 make current year dynamic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150252 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 09:42:28 +00:00
Doug Cutting ab65732567 Add "compile" target; turn on deprecation checking by default; remove
an unused property.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150204 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 18:13:30 +00:00
Erik Hatcher 11deffd715 Fix todo in build file for building WAR demo. Submitted by Jean-Fran��ois Halleux
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150163 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 16:05:53 +00:00
Doug Cutting 561ec3714a pre-release commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150160 13f79535-47bb-0310-9956-ffa450edef68
2003-12-26 18:05:27 +00:00
Doug Cutting a0384c45ff Update for RC3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150142 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 22:01:47 +00:00
Erik Hatcher ae5b2cc6b7 cleanup velocity.log; set sys property for test cases to use for test files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150116 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 01:59:55 +00:00
Doug Cutting 4e6bd151d1 prepare for rc2 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150112 13f79535-47bb-0310-9956-ffa450edef68
2003-10-22 14:43:17 +00:00
Erik Hatcher f08368a613 add dataDir VM property for test cases to use
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150107 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:07:02 +00:00
Otis Gospodnetic 34df355b2d - Added target descriptions, so ant -projecthelp lists them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150093 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:15:14 +00:00
Dmitry Serebrennikov 71bbc1396f Added demo to junit's classpath. This is needed by some of the new test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150062 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:23:18 +00:00
Erik Hatcher aad53f0dba major build process cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150051 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 17:45:32 +00:00
Erik Hatcher 9f8e6fcaf1 test failure = build failure.
also, added XML test output capture and a standalone
generate-test-reports target to make HTML test
results reports.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150046 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 18:09:28 +00:00
Erik Hatcher 404a71b517 More build file cleanup - making target names
more sensible in an effort to start splitting the
coupling between the demo, tests, and core.  Test
target is now "test" ("test-unit" alias remains).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150045 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 17:42:35 +00:00
Erik Hatcher 7965b58fa2 fix manifest generation, which was broken by the previous indentation cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150044 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 17:19:19 +00:00
Erik Hatcher 0b605a3b8f Cosmetic - reformatted. I'm embarking on some
refactorings to accomodate a snazzy new demo app
and wanted to get indentation cleanup committed
in one commit so the later meatier commits won't
have whitespace diffs also.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150043 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 16:56:18 +00:00
Erik Hatcher 6a5940e08b allow @todo tags without warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150040 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 09:25:35 +00:00
Erik Hatcher 2af2d85877 PR 19468, but not exactly as it was done in the provided patches. JavaCC is no longer required to build Lucene, but can be run optionally
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150017 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 01:51:33 +00:00
Erik Hatcher 7e199825c1 allow isolation of a single unit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150004 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 10:49:44 +00:00
Erik Hatcher 624995b302 clean up test build procedure slightly
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150002 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 10:37:09 +00:00
Erik Hatcher a89de10f25 #22344 - changed enum to enumerator
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150001 13f79535-47bb-0310-9956-ffa450edef68
2003-08-12 09:22:23 +00:00
Otis Gospodnetic 8a9ebad004 - Excluded JUnit Jar from .zip and .tgz builds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149998 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 01:24:14 +00:00
Otis Gospodnetic 43df3cc6e6 - Updated JavaCC references.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149997 13f79535-47bb-0310-9956-ffa450edef68
2003-06-11 17:43:47 +00:00
Doug Cutting 6772e7567d Added a public, extensible scoring API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149885 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 17:31:27 +00:00
Otis Gospodnetic 92667aa0e8 - Added Specification-* entries to the manifest.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149866 13f79535-47bb-0310-9956-ffa450edef68
2002-10-19 16:08:59 +00:00
Otis Gospodnetic a01c9c3389 - Modified targets ininit and jar, in order to get a custom MANIFEST.MF in a
Jar file.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149865 13f79535-47bb-0310-9956-ffa450edef68
2002-10-19 16:06:04 +00:00
Otis Gospodnetic 961638b87f - Added encoding to javadocs target.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149860 13f79535-47bb-0310-9956-ffa450edef68
2002-09-23 04:08:55 +00:00
Otis Gospodnetic 2ae2c8682f - Reverted back to the previous revision (1.29).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149857 13f79535-47bb-0310-9956-ffa450edef68
2002-09-20 02:17:14 +00:00
Otis Gospodnetic 4ec9f571ce - Changed javadocs target to show package/protected/public classes and
members.
- Reindented.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149850 13f79535-47bb-0310-9956-ffa450edef68
2002-09-19 04:21:02 +00:00
Doug Cutting 22f068248d Renamed a new class and updated some javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149815 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 22:11:34 +00:00
Doug Cutting 28eb95821f Added support for remote searching via RMI.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149814 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 21:54:38 +00:00
Otis Gospodnetic 312ae29d61 - Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149778 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 15:34:41 +00:00
Peter Carlson 4f1e425d92 Modified build.xml source target build to include the default.properties instead of the build.properties since the build.properties is for override features and the default.properties wasn't being included.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149749 13f79535-47bb-0310-9956-ffa450edef68
2002-05-13 20:18:42 +00:00
Brian Goetz 2a96b329a8 Add escape character to query parser (backslash); add unit test for escape character; wrap TokenMgrError with ParseException in QueryParser.parse
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149736 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 21:59:44 +00:00
Otis Gospodnetic be31efa0fc - Added explicit encoding.
A fix for bug #7019.
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7019
PR: 7019
Obtained from:	Raymond
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149731 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 15:16:18 +00:00
Otis Gospodnetic 27017fae14 - Fix for bug 7017:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7017
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149712 13f79535-47bb-0310-9956-ffa450edef68
2002-03-11 00:43:21 +00:00
Jon Scott Stevens 5a36725d4a implemented what i proposed on the mailing list with regards
to having a default.properties define the properties and
allow people to define their own properties easily by creating
a build.properties file.

I also updated the documentation to clearly lay out what one needs
to do to define their own properties.

-jon


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149709 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 22:18:28 +00:00
Otis Gospodnetic 7540cf659d - Moved properties from build.properties in here. build.properties should be
removed and replaced by build.properties.sample.
  Targets docweb-index and docweb-war I have commented out since it requires
  an Ant task that is not a part of Ant distribution yet.  These should be
  uncommented when this task makes it into the Ant distribution.
PR:
Obtained from:
Submitted by:	Erik Hatcher
Reviewed by:	Otis Gospodnetic


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149706 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 01:10:58 +00:00
Otis Gospodnetic 76947ae37c - Updated JavaCC URL.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149678 13f79535-47bb-0310-9956-ffa450edef68
2002-02-13 16:52:02 +00:00
Doug Cutting 26f5fbf0c0 Fixed binary package to only include demo & jsp sources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149654 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 23:20:04 +00:00
Andrew C. Oliver e120b8bd51 PR:
Obtained from:
Reviewed by:	Doug Cutting / Lucene Community
new demo build target
added getting started guide
modified tests
moved demo to demo subpackage
added war demo


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149646 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 15:01:32 +00:00
Otis Gospodnetic 20c937d3c0 - Added a few targets to allow creation of a source-only distribution.
- Excluded *.java files from the binary distribution.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149628 13f79535-47bb-0310-9956-ffa450edef68
2001-11-19 01:19:23 +00:00
Otis Gospodnetic 521b01730c - Added "jar-src" target to allow creation of a jar file that includes only
the source code.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149625 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 22:37:25 +00:00
Doug Cutting 8b3d41f04f added README, CHANGES and BUILD files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149623 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 17:23:04 +00:00
Brian Goetz 49bd4164b8 Fix tests so they compile; fix ant file so it compiles tests properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149617 13f79535-47bb-0310-9956-ffa450edef68
2001-11-01 01:13:00 +00:00
Doug Cutting 1c31f33cce Added source code into distribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149612 13f79535-47bb-0310-9956-ffa450edef68
2001-10-19 17:15:19 +00:00
Doug Cutting cfc5237e20 Removed broken build scripts and their libs. Build requires separate ant installation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149606 13f79535-47bb-0310-9956-ffa450edef68
2001-10-10 16:36:12 +00:00
Doug Cutting d3c9282362 Added demo files to distribution. Fixed calls to demo in overview.html.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149601 13f79535-47bb-0310-9956-ffa450edef68
2001-10-02 18:31:22 +00:00
Doug Cutting 80509b4eb0 moved api.html into javadoc as overview; fixed links to javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149599 13f79535-47bb-0310-9956-ffa450edef68
2001-10-02 15:54:16 +00:00
Doug Cutting a2ac9a68f1 Changed javadoc to not include private classes, to include links to JDK docs, and to have correct copyright.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149590 13f79535-47bb-0310-9956-ffa450edef68
2001-09-25 19:07:06 +00:00
Doug Cutting b08e28c383 fixed javadoc target
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149585 13f79535-47bb-0310-9956-ffa450edef68
2001-09-24 22:33:21 +00:00
Jason van Zyl ee21057865 - fixing the "package" target so that the package-zip and package-tgz
targets will work.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149583 13f79535-47bb-0310-9956-ffa450edef68
2001-09-19 01:09:28 +00:00
Jason van Zyl f62bf88dbc - cleaning up some more files for the test target
- trying to generate the docs with ant installed and not
  the script and am having no luck.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149581 13f79535-47bb-0310-9956-ffa450edef68
2001-09-18 17:49:23 +00:00
Jason van Zyl 4fc06ae583 - import fixes in the test src tree
- the test target appears to depend on classes in the demo src
  tree so i added the dep to the test target. test target
  still isn't working but getting there.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149580 13f79535-47bb-0310-9956-ffa450edef68
2001-09-18 17:35:57 +00:00
Jason van Zyl 864293c622 - fixes required to make the demo build. i missed some import statements.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149579 13f79535-47bb-0310-9956-ffa450edef68
2001-09-18 17:21:38 +00:00
Jason van Zyl 4e68f4be90 - getting the "demo" target to work.
the build.properties is a bit of a mess. i'll get the test target(s)
  working than i'll clean it up.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149578 13f79535-47bb-0310-9956-ffa450edef68
2001-09-18 17:04:21 +00:00
Jason van Zyl 7fb01d68ac - build file for lucene, incorporates ted's work. i have only tried
building the jar but i will keep testing. figured i would get
  everything into the repository.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149575 13f79535-47bb-0310-9956-ffa450edef68
2001-09-18 16:31:24 +00:00
Sam Ruby 5a2615650e Initial revision
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149565 13f79535-47bb-0310-9956-ffa450edef68
2001-09-11 21:44:36 +00:00