ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Williams <spamhammer1...@gmail.com>
Subject IvyIdea Question
Date Mon, 17 Jan 2011 21:07:07 GMT
Hi,

I'm not sure if this is the right forum for this topic, but I didn't see any
IvyIdea specific mailing lists.

I've been attempting to get the latest 0.9beta4 plugin to work with Idea
9.0.4. I have a project containing several modules. Each module has an Ivy
file associated with it, and each Ivy file has several configurations
listed. I have selected the ones that I wish to resolve in the module
settings (compile, runtime, test, source, javadoc). I can see by the
plugin's output and the contents of my cache that all the appropriate
dependencies are being retreived. However, I have encountered two problems.

The first problem occurs with the "Include Configuration Name" setting
disabled. After a resolve when I go to the "IvyIDEA" dependency in the
module settings dependency list, it only lists the class jars of one of the
configurations it resolved (compile). Interestingly, if I disable 'compile',
then only the 'runtime' dependencies show. If I disable 'runtime', only the
'sources' show. Then 'javadoc', then 'test'. I have read through the output
with logging turned up all the way, and no errors or warnings are output.

If I enable the project setting "Include Configuration Name", multiple
module libraries are created (IvyIDEA-compile, IvyIDEA-runtime, etc) and all
the appropriate jar files show up therein. However, from an IDE linking
perspective, Idea does not pick up on the sources or javadoc because they
aren't linked to the class files.

The first thing I mentioned seems like a bug... does anyone know if this is
the intended behavior? For the other issue, is there any way you know of I
can work around the IDE not picking up the sources/javadoc when it is
contained in a seperate module library from the class jars without having to
manually add it myself?

Thanks in advance,

-Jonathan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message