0

我迫切需要运行一些 AspectJ 代码(在加载时编织它),但正在考虑的应用程序正在部署为 RCP 可执行文件。是否可以针对此 RCP 应用程序运行 AspectJ?如果没有,是否有任何明智的方法来规避这个问题?

谢谢

4

1 回答 1

0

Instead of deleting the question, I'll just answer here as I believe it will be useful to someone in the future.

It is possible to do so. You'll just have to run your RCP application, open jvisualvm and get the jvm arguments, java arguments, as well as the main class. With all that, we're set to launch the RCP application through the java command the standard way.

于 2013-04-18T14:23:07.987 回答