IKVM Apache FOP

发布于 2024-10-06 00:36:04 字数 361 浏览 0 评论 0原文

我正在尝试将 Apache FOP v1.0 库编译为 .NET DLL。我按照以下说明进行操作: 在 .NET 应用程序中使用 ApacheFOP v1.0

但是,当我运行ikvmc 命令我收到一些警告(我可以忍受),然后是一个错误:

System.ArgumentException:已添加具有相同键的项目。

谁能指出我如何解决这个问题的方向? 对此的任何帮助将不胜感激。

谢谢 杰伊

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.

Thanks
Jay

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

熊抱啵儿 2024-10-13 00:36:04

这是开发快照中的 ikvm 回归,由不必要的 -reference:IKVM.OpenJDK.Core.dll 引起。如果你删除它应该可以工作,但就像 Horcrux7 指出的那样, -recurse 也不适合这样使用。所以你可以简单地这样做:

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

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

極樂鬼 2024-10-13 00:36:04

您收到哪些警告?请参阅 ikvmc 错误消息。对于异常,您应该向我们提供堆栈跟踪以及异常发生时您执行的操作。您还应该写下您使用哪个 ikvm 版本。

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.

三寸金莲 2024-10-13 00:36:04

尝试NFOP,它不依赖于IKVM。

Try NFOP, it does not depend on IKVM.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文