Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27252
| Date | 2014-01-07 22:26 +0100 |
|---|---|
| From | Marcel Müller <news.5.maazl@spamgourmet.org> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Problem cycles dependency plug-in - Eclipse OSGI |
| References | <7ab6576e-7598-4f6a-b1fb-f7ca3363a0b6@googlegroups.com> |
| Message-ID | <52cc7107$0$9508$9b4e6d93@newsspool1.arcor-online.net> (permalink) |
| Organization | Arcor |
On 07.01.14 09.37, Andrea Checchia wrote: > Good morning everyone. > > I have created in Eclipse a plug-in Fragment-Project, called Project B. > Project B depends on a Required Plug-ins that will call Project A, it is normal plug-in project, which in turn depends on other plug-in, for example "org.adempiere.base" - "org.adempiere.ui" - "org.adempiere.ui.zk" ...... > > When I compile my Project B, there is a situation of loop cycles stops me compile the project. > How can I fix this problem, please? AFAIK Java/Eclipse can't handle cyclic dependencies. It might work if the dependencies are build step by step but a clean build will not run. In such situations I always split the projects in a way that the dependencies build a directed graph. I.e. extract the part of A where B depends on into a separate jar file and the part of B where A depends on also. In some cases a fifth project may be needed where both extracted projects depend on. It might also be required to apply PIMPL to remove dependencies. If nothing helps you might create a mock project with the public API but without any content and, of course, no dependencies. This project is only used to compile the dependent project. It is never used at run time. I have seen something like that at SAP PI. hth Marcel
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem cycles dependency plug-in - Eclipse OSGI Andrea Checchia <andrew1buffon@gmail.com> - 2014-01-07 00:37 -0800 Re: Problem cycles dependency plug-in - Eclipse OSGI Jeff Higgins <jeff@invalid.invalid> - 2014-01-07 09:19 -0500 Re: Problem cycles dependency plug-in - Eclipse OSGI Marcel Müller <news.5.maazl@spamgourmet.org> - 2014-01-07 22:26 +0100
csiph-web