开发者

IKVM Apache FOP

开发者 https://www.devze.com 2023-01-27 23:57 出处:网络
I am trying to compile the Apache FOP v1.0 library to a .NET DLL. I followed the instructions in: Using ApacheFOP v1.0 in .NET application

I am trying to compile the Apache FOP v1.0 library to a .NET DLL. I followed the instructions in: Using ApacheFOP v1.0 in .NET application

However when i run the ikvmc command i get a number of warnings (which i can live with), and then an error:

System.ArgumentException: An Item with the same key has already been added.

Can anyone point me in the direction of how to fix this? Any help on this will be greatly appreciated开发者_StackOverflow中文版.

Thanks Jay


This is an ikvm regression in the development snapshot caused by the unnecessary -reference:IKVM.OpenJDK.Core.dll. If you remove that it should work, but like Horcrux7 pointed out, -recurse is not intended to be used like this either. So you can simply do:

ikvmc D:\fop\build*.jar -version:1.0 -out:D:\fop\fop.dll


Which warnings do you receive? See the ikvmc error messages. For the exception you should give us the stacktrace and what you do as the exception occur. Also should you write which ikvm version do you use.


Try NFOP, it does not depend on IKVM.

0

精彩评论

暂无评论...
验证码 换一张
取 消