home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Lucene example source code file (backwards-readme.txt)

This example Lucene source code file (backwards-readme.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Lucene tags/keywords

after, after, ant, ant, check, commit, copy, lucene, lucene, run, the, the, this

The Lucene backwards-readme.txt source code

This folder contains the src/ folder of the previous Lucene major version.

The test-backwards ANT task compiles the previous version's tests (bundled) against the
previous released lucene-core.jar file (bundled). After that the compiled test classes
are run against the new lucene-core.jar file, created by ANT before.

After tagging a new Lucene *major* version (tag name "lucene_solr_X_Y_0") do the following
(for minor versions never do this); also always use the x.y.0 version for the backwards folder,
later bugfix releases should not be tested (the reason is that the new version must be backwards
compatible to the last base version, bugfixes should not taken into account):

* cd lucene/backwards
* svn rm src/test src/test-framework lib/lucene-core*.jar
* svn commit (1st commit; you must do this, else you will corrupt your checkout)
* svn cp https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_X_Y_0/lucene/src/test-framework src
* svn cp https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_X_Y_0/lucene/src/test src
* Copy the lucene-core.jar from the last release tarball to lib.
* Check that everything is correct: The backwards folder should contain a src/ folder
  that now contains "test" and "test-framework". The files should be the ones from the last version.
* Run "ant test-backwards"
* Commit the stuff again (2nd commit)

Other Lucene examples (source code examples)

Here is a short list of links related to this Lucene backwards-readme.txt source code file:



my book on functional programming

 

new blog posts

 

Copyright 1998-2019 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.