Support Cyclic module dependencies

I thought "Cyclic module dependencies" is supported in Irida?

How come Irida complains on two modules depending on each other?

5 comments
Comment actions Permalink

What do you mean by Idea complaining?
If a warning in Settings/Paths, then this is just to remind you, that using
cyclic dependant modules results in them factored to chunks and
e.g. compiled together.

Eugene.

"nick" <no_mail@jetbrains.com> wrote in message
news:21632106.1118883045594.JavaMail.itn@is.intellij.net...
>I thought "Cyclic module dependencies" is supported in Irida?
>

How come Irida complains on two modules depending on each other?

>



0
Comment actions Permalink

Thank you very much for your reply.

These is what my project structure is:

I have 3 modules.
hr (war module)

  • source path:

c:\project\hr\src\web
c:\project\hr\src\common

hr_EJB (EJB module)

  • source path:

c:\project\hr\src\business

system (java module)

  • source path:

c:\project\system\src

dependencies
1. classes in
depends on classes in
and vice-versa
(that's why i put them in one module)

2. depends on and vice-versa.
(cyclic dependency between war and ejb module)
depends on

  • Classes in contains Data Transfer Objects and Data Transfer Utility.


3. depends on system module.

please see the attached file.

Thank you very much.



Attachment(s):
war.png
ejb.png
cyclic.png
0
Comment actions Permalink

I got exactly the same error as nick in Irida 3370.

0
Comment actions Permalink

Again, this problem persists in 3425

0
Comment actions Permalink

Sorry for the crosspost.

What happens is that Cyclic Module Dependencies are allowed between JAVA modules, but not between Web, EJB or J2EE modules (or between those and JAVA modules).

This is true as of version build 3425

0

Please sign in to leave a comment.