如何在Windows上开发Apple Java Extensions? [英] how can I develop Apple Java Extensions on Windows?

查看:121
本文介绍了如何在Windows上开发Apple Java Extensions?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Windows上进行多平台测试时,由于在特殊的Mac自定义任务中使用了com.apple.eawt代码,Eclipse在项目中显示错误令人厌烦。更糟糕的是,如果我在Windows上导出一个可运行的jar,它不会在mac上运行,因为未解决的编译问题。

When I do multi-platform testing on Windows it gets annoying that Eclipse shows errors in the project because of the com.apple.eawt code that I have in a special Mac customization task. Worse yet, if I export a runnable jar on Windows, it won't run on mac because of the unresolved compilation problems.

什么是最好的方式让Windows Java和com.apple.eawt平安生活我无法看到我能够将代码分解到一个jar,因为它需要访问很多程序的状态。

What's the best way to let Windows Java and com.apple.eawt live in peace? I can't see how I would be able to spin off the code to a jar, since it requires access to lots of the program's state.

推荐答案

我创建了一个更新的jar来解决这个问题。 GitHub来源 here
它主持在 maven central

I created an updated jar to solve this problem. GitHub source here. It's hosted on maven central

这篇关于如何在Windows上开发Apple Java Extensions?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆