ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sills" <DSi...@datasourceinc.com>
Subject 2 Questions for ivyIDE
Date Tue, 20 Mar 2012 16:56:06 GMT
All:

I love working with Eclipse and ivyIDE with 2 exceptions, and I wonder
if I am just missing something.

My environment consists of a company-wide repository, where I place the
results of building my projects, and of course a local repository, which
sometimes though not always has folders for some of the same projects.
As an example, let's assume that my project, say, "xxx-encryption"
depends on "xxx-common". All is well and Ivy does well with it.

However, I add some functionality to "xxx-common", up the build number,
and rebuild. Great. Using Eclipse, I resolve "xxx-encryption" and it
gets the correct updated value for the version number. In order to
update the "xxx-encryption" Ivy files, I build "xxx-encryption" even
though there have not been any changes to the project itself, only its
dependencies. The company-wide repository's version of ivy.xml is
correctly updated with the appropriate dependency on the new version of
"xxx-common". However, the local repository's version of ivy.xml is not!
This means that when I have a third project, say "xxx-web", that depends
on "xxx-encryption" and try to resolve that project, the old (now
incorrect) version of "xxx-common" is taken, since the local
repository's version is read first if it exists.

What am I missing? I find myself constantly manually updating the files
in the local repository in order to get the transitive dependencies
right.

Also, can someone explain to me why my Ivy container in ivyIDE doesn't
allow me to put source code locations on the JARs? That would be hugely
helpful in debugging, especially in a situation where I have a lot of
smaller projects that depend on each other and I assemble them as needed
for a specific requirement. Or do I have to create source JAR files for
each project using Ivy to make that happen? And will it happen if I do
make source JAR files?

Many thanks for anyone who can answer either or both of these questions.

David Sills


Mime
View raw message