Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27249 > unrolled thread
| Started by | Andrea Checchia <andrew1buffon@gmail.com> |
|---|---|
| First post | 2014-01-07 00:37 -0800 |
| Last post | 2014-01-07 22:26 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | Andrea Checchia <andrew1buffon@gmail.com> |
|---|---|
| Date | 2014-01-07 00:37 -0800 |
| Subject | Problem cycles dependency plug-in - Eclipse OSGI |
| Message-ID | <7ab6576e-7598-4f6a-b1fb-f7ca3363a0b6@googlegroups.com> |
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? Andrew
[toc] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2014-01-07 09:19 -0500 |
| Message-ID | <lah2e6$rjg$1@dont-email.me> |
| In reply to | #27249 |
On 01/07/2014 03:37 AM, 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? > > > Andrew > Wow. org.adempiere.* looks like a big complex project. Probably best to ask at that community how to sort build process. There's a link from their Wiki Main page: <http://wiki.idempiere.org/en/Main_Page> "If no one is answering you maybe you need to know How To Ask Questions The Smart Way" <http://www.catb.org/esr/faqs/smart-questions.html>
[toc] | [prev] | [next] | [standalone]
| From | Marcel Müller <news.5.maazl@spamgourmet.org> |
|---|---|
| Date | 2014-01-07 22:26 +0100 |
| Message-ID | <52cc7107$0$9508$9b4e6d93@newsspool1.arcor-online.net> |
| In reply to | #27249 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web