Hi Ben, When I started the port of 1.4.0 back in late Sept of this year, someone did mention IKVM on SF.net (under the dotLucene project) and my response was this:
<from_dotLucene> There are advantages and disadvantages to both approaches. Ikvmc's approach will mean that you don't have direct access to the source code. You still have to work in the Java world if you have to modify the code. Also, from within your C# code, you still have to deal with the look-and-feel of a Java API call. I see Ikvmc's approach as a quick-and-dirty solution and is useful when all that you care about is running Java programs in a .NET VM environment -- that's all. There is, by the way, yet a third approach. You can port and open the Java code in J#. Doing so the code will now run in .NET VM, you will get direct access to the Java source code, but you are still stuck in the look-and-feel of the Java API calls from your C# code. I preface the approach that we are taking here. Once the code port is done, which is really not that hard (I will outline how I got it to the state that it is at now in few days) you can now take full advantage of C#, .NET, MS tech., etc. </from_dotLucene> Finally, while my first port attempt of ver 1.4.0 took me about a month, the port from 1.4.0 to 1.4.3, too me only 3 night; total hours is less then 8. The tools help a lot. Regards, -- George Aroush -----Original Message----- From: Ben Litchfield [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 9:18 PM To: [EMAIL PROTECTED] Subject: .NET Version of Lucene I know there has been talk about a .NET version of lucene. I have been looking into doing something similar for PDFBox and came across a project called IKVM http://www.ikvm.net/ I don't believe it has been mentioned on this list. It is a little different approach than what I people have been trying. It uses the GNU classpath to bring all of the newer JDK classes into .NET and you can run a command line app to create a DLL from a jar. So for example ikvmc.exe -reference:ikvm.gnu.classpath.dll -reference:IKVM.AWT.WinForms.dll -out:bin\lucene-1.4.2.dll external\lucene-1.4.2.jar The drawback is that you will need to include the ikvm.gnu.classpath.dll in your project which is about 3 megs, but to be able to use lucene in .NET and not have to use a manual process when a new version comes out is pretty cool. I have not gotten around to running the junit tests yet, but that is next. For PDFBox, which depends on ANT/junit/log4j/lucene, I was able to run the jar->DLL process for each of those projects and run PDFBox in .NET jar->without a problem. One licensing note, GNU Classpath is released as GPL "with an exception", allowing it to be rereleased under a different license. See http://www.gnu.org/software/classpath/license.html for more details. Ben --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
