I really miss the newer functions of a modern Eclipse implementation. Things like cool plugins such as Checkstyle, auto-javadoc, ease of JUnit testing.
我真的很想念现代Eclipse实现的新功能。喜欢酷炫的插件,比如Checkstyle,auto-javadoc,JUnit测试的简易性。
I always did this whilst developing Notes Java Agents, and it was a great time saver.
我在开发Notes Java Agents时总是这样做,这是一个很好的节省时间。
I'm trying to do this with my new XPages project but I'm stumbling on how to include diverse OSGI libraries.
我正在尝试使用我的新XPages项目,但我在如何包含各种OSGI库方面遇到了麻烦。
Can anyone help?
有人可以帮忙吗?
2 个解决方案
#1
In addition to Jesse's answer: a colleague uses Eclipse only to develop in our XPages stuff - for the Java part only. We all use a local on-disk-version of the project that can be imported into Eclipse workspace. You then can use the editors and benefits of current Eclipse versions. Caveat also: you always have to refresh/sync the sources from your on-disk-project in DDE to test. Regarding JUnit tests: we also use them and doing even automated build-tests on a Jenskins server with that method
除了Jesse的回答:一位同事只使用Eclipse来开发我们的XPage东西 - 仅适用于Java部分。我们都使用可以导入Eclipse工作区的项目的本地磁盘版本。然后,您可以使用当前Eclipse版本的编辑器和优势。警告:您始终必须刷新/同步DDE中的磁盘项目中的源以进行测试。关于JUnit测试:我们也使用它们,并使用该方法在Jenskins服务器上进行自动构建测试
#2
The quickest way to set up an Eclipse environment for XPages development is the XPages SDK. That should point to your Notes/Domino installations and create the Target Platform stuff for you. If you have additional libraries, you can either install them into Eclipse via the Help -> Install New Software option or add them to the Target Platform in Preferences -> Plug-in Development -> Target Platform.
为XPage开发设置Eclipse环境的最快方法是XPages SDK。这应该指向您的Notes / Domino安装并为您创建Target Platform的东西。如果您有其他库,可以通过帮助 - >安装新软件选项将它们安装到Eclipse中,或者将它们添加到首选项 - >插件开发 - >目标平台中的目标平台。
There's a huge caveat, though: this sort of XPages development refers to library development specifically, not writing XPages applications. There isn't really currently a good way to do actual-XPages dev in Eclipse without losing tooling.
但是有一个很大的警告:这种XPages开发特别指的是库开发,而不是编写XPages应用程序。目前还没有一种很好的方法可以在不丢失工具的情况下在Eclipse中执行实际的XPage开发。
#1
In addition to Jesse's answer: a colleague uses Eclipse only to develop in our XPages stuff - for the Java part only. We all use a local on-disk-version of the project that can be imported into Eclipse workspace. You then can use the editors and benefits of current Eclipse versions. Caveat also: you always have to refresh/sync the sources from your on-disk-project in DDE to test. Regarding JUnit tests: we also use them and doing even automated build-tests on a Jenskins server with that method
除了Jesse的回答:一位同事只使用Eclipse来开发我们的XPage东西 - 仅适用于Java部分。我们都使用可以导入Eclipse工作区的项目的本地磁盘版本。然后,您可以使用当前Eclipse版本的编辑器和优势。警告:您始终必须刷新/同步DDE中的磁盘项目中的源以进行测试。关于JUnit测试:我们也使用它们,并使用该方法在Jenskins服务器上进行自动构建测试
#2
The quickest way to set up an Eclipse environment for XPages development is the XPages SDK. That should point to your Notes/Domino installations and create the Target Platform stuff for you. If you have additional libraries, you can either install them into Eclipse via the Help -> Install New Software option or add them to the Target Platform in Preferences -> Plug-in Development -> Target Platform.
为XPage开发设置Eclipse环境的最快方法是XPages SDK。这应该指向您的Notes / Domino安装并为您创建Target Platform的东西。如果您有其他库,可以通过帮助 - >安装新软件选项将它们安装到Eclipse中,或者将它们添加到首选项 - >插件开发 - >目标平台中的目标平台。
There's a huge caveat, though: this sort of XPages development refers to library development specifically, not writing XPages applications. There isn't really currently a good way to do actual-XPages dev in Eclipse without losing tooling.
但是有一个很大的警告:这种XPages开发特别指的是库开发,而不是编写XPages应用程序。目前还没有一种很好的方法可以在不丢失工具的情况下在Eclipse中执行实际的XPage开发。