I have a bunch of eclipse plugins projects. Everything works fine when I run them from eclipse but when I try to create exe from the plugins I get the following error
我有一堆eclipse插件项目。当我从eclipse运行它们时,一切正常,但是当我尝试从插件创建exe时,我得到以下错误
A cycle was detected when generating the classpath Plugin A, Plugin B, Plugin C, Plugin D, Plugin B
在生成类路径插件A,插件B,插件C,插件D,插件B时检测到循环
How can I resolve this issue?
我该如何解决这个问题?
Thanks
1 个解决方案
#1
It means for example :
它意味着例如:
Plugin A has a dependency to plugin B
and
Plugin B has a dependency to plugin A
You need to refactor your code so that you don't have this problem anymore. Try to determine which code/plugin is overused, and optimize the distribution, even if that means havings some code duplicate.
您需要重构代码,以便不再出现此问题。尝试确定哪些代码/插件被过度使用,并优化分发,即使这意味着有一些代码重复。
And before that, try cleaning your project or restart eclipse, we never know...
在此之前,尝试清理您的项目或重启eclipse,我们永远不会知道......
#1
It means for example :
它意味着例如:
Plugin A has a dependency to plugin B
and
Plugin B has a dependency to plugin A
You need to refactor your code so that you don't have this problem anymore. Try to determine which code/plugin is overused, and optimize the distribution, even if that means havings some code duplicate.
您需要重构代码,以便不再出现此问题。尝试确定哪些代码/插件被过度使用,并优化分发,即使这意味着有一些代码重复。
And before that, try cleaning your project or restart eclipse, we never know...
在此之前,尝试清理您的项目或重启eclipse,我们永远不会知道......