Bah, those are quite old instructions.. you don't need any of those.. just install OAIRepository and run ./update .. Include OAIRepository using only:
@include( $IP.'/extensions/OAI/OAIRepo.php' );
And don't use any of the authentication and audit stuff unless you know what you're doing (or have a private wiki).
p.s. please use talk pages for discussing software troubleshooting, so it doesn't get lost in mailing list archive.
cheers, r.
Daniel Barrett wrote:
You need to install OAIRepository, there is no other way to do incremental updates.
Thanks Robert. I tried installing OAIRepository at http://www.mediawiki.org/wiki/Extension:OAIRepository and got to the org.wikimedia.lsearch.ranks.RankBuilder step, which bombed out with " Could not find the main class: org.wikimedia.lsearch.ranks.RankBuilder." Any suggestions?
$ java -Xmx256m -cp ./LuceneSearch.jar org.wikimedia.lsearch.ranks.RankBuilder wikidb.xml wikidb Exception in thread "main" java.lang.NoClassDefFoundError: org/wikimedia/lsearch/ranks/RankBuilder Caused by: java.lang.ClassNotFoundException: org.wikimedia.lsearch.ranks.RankBuilder at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: org.wikimedia.lsearch.ranks.RankBuilder. Program will exit.
DanB
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l