Re: multiple warning IKVMC0100
Jeroen Frijters <[email protected]> Tue, 31 May 2016 11:27:52 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Marcel, The classes (and interfaces) listed under __<Unloadable> are classes that are present in the jar file that you compiled, but that ikvmc was not able to compile due to missing base classes/interfaces. You'll need to find the jars that pmd-apex-5.5.0.jar depends on (Java doesn't have a module system, so this can not be determined from the jar itself, you'll need to look at the documentation) and recursively find the dependencies for them as well. Once you have all the jars, you can use ikvmc to compile them all at once or separately (but if you compile them separately, you must reference the dependencies). Regards, Jeroen > -----Original Message----- > From: Marcel Gómez [mailto:[email protected]] > Sent: Tuesday, May 31, 2016 7:23 > To: [email protected] > Subject: [Ikvm-developers] multiple warning IKVMC0100 > > Hey guys! > I'm a .Net developer. I started dealing with pmd 5.5.0 a few days ago > and was able to compile the whole project in order to convert some > libraries to .Net DLLs. That's ok. > The thing is I'm getting a lot a warnings about classes not found during > convertion using ikvmc.exe, so my questions are: > > 1- if the warning points to a class I can not expect that class to be > included in the DLL file ?? > > 2- after some DLL was created by ikvmc I added the reference to my .Net > project and some classes are missing, not exactly the same classes > described in the warnings. I open the DLL with the .NET disasembler tool > ILDASM.exe and there is some public classes and public interfaces > included below a node named "__<Unloadable>". > > > > > What this means? What should I do to be able to access those classes and > interfaces from my .Net project? > > Notes: > i- this is the command line I use to convert from .jar to .dll: > > ikvmc -target:library pmd\lib\pmd-apex-5.5.0.jar > > ii- this is the output of that command: > > IKVM.NET <http://IKVM.NET> Compiler version 8.1.5717.0 Copyright (C) > 2002-2015 Jeroen Frijters http://www.ikvm.net/ > > note IKVMC0002: Output file is "pmd-apex-5.5.0.dll" > warning IKVMC0100: Class "net.sourceforge.pmd.cpd.AbstractTokenizer" not > found warning IKVMC0100: Class > "net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler" not found > warning IKVMC0100: Class "net.sourceforge.pmd.lang.VisitorStarter" not > found warning IKVMC0100: Class > "net.sourceforge.pmd.lang.AbstractLanguageVersionHandler" not found > warning IKVMC0100: Class "net.sourceforge.pmd.lang.BaseLanguageModule" > not found warning IKVMC0100: Class > "net.sourceforge.pmd.lang.AbstractParser" not found warning IKVMC0100: > Class "net.sourceforge.pmd.lang.ParserOptions" not found warning > IKVMC0100: Class "net.sourceforge.pmd.lang.ast.AbstractNode" not found > warning IKVMC0100: Class "net.sourceforge.pmd.lang.ast.Node" not found > warning IKVMC0100: Class "apex.jorje.semantic.ast.visitor.AstVisitor" > not found warning IKVMC0100: Class > "net.sourceforge.pmd.lang.rule.AbstractRule" not found warning > IKVMC0100: Class > "net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor" not found > warning IKVMC0100: Class > "net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory" not found > warning IKVMC0100: Class "net.sourceforge.pmd.lang.rule.XPathRule" not > found warning IKVMC0100: Class > "net.sourceforge.pmd.cpd.AbstractLanguage" not found warning IKVMC0100: > Class "org.apache.commons.io.IOUtils" not found warning IKVMC0100: Class > "net.sourceforge.pmd.lang.ast.ParseException" not found warning > IKVMC0100: Class "apex.jorje.semantic.tester.EmptySymbolProvider" not > found warning IKVMC0100: Class > "apex.jorje.semantic.tester.TestAccessEvaluator" not found warning > IKVMC0100: Class "apex.jorje.semantic.tester.TestQueryValidators$Noop" > not found warning IKVMC0100: Class > "com.google.common.collect.ImmutableList" not found warning IKVMC0100: > Class "apex.jorje.semantic.compiler.CompilerStage" not found warning > IKVMC0100: Class "apex.jorje.semantic.compiler.ApexCompiler" not found > warning IKVMC0100: Class > "apex.jorje.semantic.compiler.ApexCompiler$Builder" not found warning > IKVMC0100: Class "apex.jorje.semantic.compiler.CompilationInput" not > found warning IKVMC0100: Class > "org.apache.commons.lang3.reflect.FieldUtils" not found warning > IKVMC0100: Class "apex.jorje.semantic.compiler.CompilerContext" not > found warning IKVMC0100: Class "apex.jorje.semantic.compiler.CodeUnit" > not found warning IKVMC0100: Class > "apex.jorje.semantic.compiler.CompilerOperation" not found warning > IKVMC0100: Class "apex.jorje.semantic.compiler.SourceFile" not found > warning IKVMC0100: Class > "apex.jorje.semantic.compiler.SourceFile$Builder" not found warning > IKVMC0100: Class "apex.jorje.semantic.tester.TestQueryValidators" not > found warning IKVMC0100: Class "net.sourceforge.pmd.util.StringUtil" not > found > > Thanks in advance! > > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers