Thanx,
I will be able to test it this evening...

regards,

Ruud
Actuallu, I meant the maven error.
There are some things before you get a compiled 1.8 version.
First, you need a working mmbase 1.8 maven build, because you have to install the mmbase 1.8 jars in the maven repository Second, the mmbase dependency in the project file of the lucene module should be set to the mmbase 1.8 jar Third, you need the lucene-core-1.9-final.jar and lucene-misc-1.9-final.jar from lucene.apache.org and install it in your local maven repository.

I did this and placed my result on the maven repository on mmapps.sourceforge.net. I haven't tested the result so let me know if it is not ok.
The files are at
http://mmapps.sourceforge.net/distributions/mmapps/jars/ (only the jar)
http://mmapps.sourceforge.net/distributions/mmapps/mmbase-modules/ (zip archive with all required files)

Regards,

Nico


Ruud Prein wrote:

Thanx,
The error: The return variable of the getModule has been changed. I think thats all that need to be changed. Further more, the project.xml of Maven does not work anymore.

  I am trying to install the Lucene module 1.7.9. After following the
  install instruction i get the following error:
2006-05-23 23:27:23,333 INFO org.mmbase.module.Module - Starting module
  lucenemodule
  2006-05-23 23:27:23,334 FATAL   org.mmbase.servlet.MMBaseStartThread -
  Could not instantiate the MMBase module! java.lang.NoSuchMethodError
org.mmbase.module.Module.getModule(Ljava/lang/String;)Ljava/lang/Object;

  2006-05-23 23:27:23,334 ERROR   org.mmbase.servlet.MMBaseStartThread -
  java.lang.NoSuchMethodError:
org.mmbase.module.Module.getModule(Ljava/lang/String;)Ljava/lang/Object;

          at
net.sf.mmapps.modules.lucenesearch.LuceneModule.init(LuceneModule.java:93)
          at org.mmbase.module.Module.startModule(Module.java:125)
          at org.mmbase.module.Module.startModules(Module.java:317)
          at org.mmbase.module.Module.getModule(Module.java:360)
          at org.mmbase.module.Module.getModule(Module.java:334)
          at org.mmbase.module.core.MMBase.getMMBase(MMBase.java:534)
          at
  org.mmbase.servlet.MMBaseStartThread.run(MMBaseStartThread.java:40)

I will give it a try right now. Could you post the error you get?

Nico


Ruud Prein wrote:

Hoi,

I know what needs to be done, but I dont get it to compile with Maven. My knowledge of Maven is limited.

Ruud

Sorry, I had read your mail and forgot to ask Wouter what the status was of the 1.8 version of lucene on sf.net. We got the lucene module working on 1.8 a while ago, but we didn't had the time to incorporate it in sf.net. Don't know if Wouter found the time later.

Wouter, can you let me know what you have done with the changes for 1.8?

Nico

Ruud Prein wrote:

Thanx,

But with maven the module as it was downloaded from sourceforge does not compile anymore...

groet, Ruud

Ruud Prein wrote:
   Hi,

I am trying to install the Lucene module 1.7.9. After following the
   install instruction i get the following error:
2006-05-23 23:27:23,333 INFO org.mmbase.module.Module - Starting module
   lucenemodule
2006-05-23 23:27:23,334 FATAL org.mmbase.servlet.MMBaseStartThread - Could not instantiate the MMBase module! java.lang.NoSuchMethodError org.mmbase.module.Module.getModule(Ljava/lang/String;)Ljava/lang/Object;

2006-05-23 23:27:23,334 ERROR org.mmbase.servlet.MMBaseStartThread -
   java.lang.NoSuchMethodError:
org.mmbase.module.Module.getModule(Ljava/lang/String;)Ljava/lang/Object;

           at
net.sf.mmapps.modules.lucenesearch.LuceneModule.init(LuceneModule.java:93) at org.mmbase.module.Module.startModule(Module.java:125) at org.mmbase.module.Module.startModules(Module.java:317)
           at org.mmbase.module.Module.getModule(Module.java:360)
           at org.mmbase.module.Module.getModule(Module.java:334)
at org.mmbase.module.core.MMBase.getMMBase(MMBase.java:534)
           at
org.mmbase.servlet.MMBaseStartThread.run(MMBaseStartThread.java:40)
   It looks like the module is not compatable with mmbase 1.8 ??




Seems like that. It probably only needs recompilation. I think the
'getModule' method of Module returned Object, which was very silly, and therefor changed to return Module now. This gives no compile time problems, but sadly,
it does give this kind of run-time issues....


Michel



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers





_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers





_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers


_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers





_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to