There is a Java tool (called Mallet) http://mallet.cs.umass.edu/download.php that I want to use in my .NET project.
To convert this tool to a .NET library first, I tried to create it in a single .jar file using Apache Ant. I did everything that follows the instructions in the link above.
Download the developer version from the Mercurial repository.
Download Apache Ant, install JDK, set JAVA_HOME var to use Apache Ant.
Using Ant, I created one mallet.jar file.
And then I would convert mallet.jar to a .NET library using IKVMC. When converting, I have many warnings, such as:
Warning IKVMC0108: not a class file "cc/mallet/util/tests/TestPriorityQueue$1.cl ass", including it as resource (class format error "51.0")
Despite these warnings, mallet.dll was created. But when I try to reference it from my .NET project, it looks "empty". It does not have classes or namespaces. I remember to reference IKVM.OpenJDL.Core.
And itβs unusual that I canβt find any problems on Google.
I think the problem is warnings. And I never worked with Ant, and I definitely donβt understand the whole process.
source share