Exporting libs from a module

Is it possible to configure a module so that any module which depends on it,
doesn't have to define all the libraries again (I seem to remember that
there existed an export option for each library in a previous build)?

///Odd


5 comments
Comment actions Permalink

There's always the solution to define the libraries as Project Libraries or Global Libraries.

0
Comment actions Permalink

Patrik Andersson wrote:

There's always the solution to define the libraries as Project Libraries or Global Libraries.


Yes, but then you have to make sure you've added all of those libraries to
each module which depends on the given module. What was being asked for was
the ability to say that module M exports libraries A, B and C and to have
those libraries automatically added to the classpath of any module which
depends on M.

For the OP: this has never existed in Aurora... yet. It was discussed a fair
bit several months ago IIRC, but the final word on the matter was that it
wouldn't be implemented until after the release of Aurora (maybe version 4.1).

Hope that helps,
Vil.
--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

0
Comment actions Permalink

I don't see how global libraries helps much, as they are stored in the
individual developers idea intallation directory (ie, not sharable by SCM).

Patrik Andersson wrote:

There's always the solution to define the libraries as Project Libraries or Global Libraries.


0
Comment actions Permalink

This is one of the two major shortcomings that the current module implementation has. (The other is that module dependencies are not transitive, e.g. if B depends on A and C depends on B, you still have to configure C manually, so that it also depends on A.)
JetBrains said that this will not make it into Aurora, but will rather be addressed in the next release after it.

0
Comment actions Permalink

Ok, counting down towards 4.1... ;)

///Odd


"Stephen Kelvin" <mail@gremlin.info> wrote in message
news:6306002.1075127797361.JavaMail.itn@is.intellij.net...

This is one of the two major shortcomings that the current module

implementation has. (The other is that module dependencies are not
transitive, e.g. if B depends on A and C depends on B, you still have to
configure C manually, so that it also depends on A.)

JetBrains said that this will not make it into Aurora, but will rather be

addressed in the next release after it.


0

Please sign in to leave a comment.