GayaBalan / ivybeans

Automatically exported from code.google.com/p/ivybeans
0 stars 0 forks source link

ivy-beans does not properly resolve dynamic revisions #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Environment : 
ivybeans  Latest Development Build, com-googlecode-ivybeans-module.nbm, 
netbeans: NetBeans IDE Dev (Build nbms-and-javadoc-10211-on-20130131)
OS: Win 7 Pro SP1
jdk: jdk1.7.0_03

Description :
We're using dynamic revisions in ivy (latest-integration). 
Assume we have three libraries: liba, libb, libc where the dependency tree 
looks like this:
libc -> libb -> liba
("a -> b " means a depends on b)
All three libraries use status="integration" within the info tag and 
rev="latest-integration" within the dependency tags.
When changing publishing liba locally e.g. I can build libc via ant 
command-line and it will resolve the newly published liba.
When doing a force resolve in Netbeans, it still resolves the old revision. The 
only work-around is to also re-publish libb (eventhough nothing has changed) to 
make ivy-beans to resove liba correctly.

I assume, that ivy-beans resolves internally (not using the ivy-impl.xml) and 
not uses the attribute resolveMode="dynamic" for resolving. I've already 
modified the ivy-impl to add this attribute, but I guess ivy-beans directly 
calls the ivy jar and not using ant when doing the lib resolution.

If it's the case, the should be a gui options or at least a property to enable 
dynamic resolution.

Original issue reported on code.google.com by jan.we...@googlemail.com on 5 Jun 2013 at 8:57