Mark Thornton | 23 Jun 11:43 2013

circular eviction

The following is an excerpt from a dependency report produced by Ivy 2.3.0

I do not see why version 2.3.68 is being evicted by [2.3.13,)

Regards,
Mark Thornton

ImmutableCollections by com.optrak.utility

Revision: 2.3.68

Home Page
Status release
Publication 20130620151700
Resolver nexus-releases
Configurations compile, master(*), runtime, compile(*), runtime(*), master
Artifacts size 0 kB (0 kB downloaded, 0 kB in cache)
Evicted by [2.3.13,) in latest-revision conflict manager
Required by
Organisation Name Revision In Configurations Asked Revision
com.optrak.utility Time 2.3.52 compile, runtime [2.3.13,)
com.optrak.utility Commons 2.3.34 default, compile, runtime, master [2.3.34,)
com.optrak.utility Core 2.3.75 default, compile, runtime, master [2.3.68,)

Revision: [2.3.13,)

Status
Publication
Resolver
Configurations master(*), compile(*), runtime(*), master
Artifacts size 0 kB (0 kB downloaded, 0 kB in cache)
Evicted by in latest-revision conflict manager
Required by
Organisation Name Revision In Configurations Asked Revision
com.optrak.utility Time 2.3.52 compile, runtime [2.3.13,)
com.optrak.utility Core 2.3.75 default, compile, runtime, master [2.3.68,)


Mark Thornton | 22 Jun 16:04 2013

artifactreport, retrieve and mapper

It seems to me that if I use a mapper in retrieve, then the retrieve 
locations reported by artifactreport will no longer be accurate. Am I 
missing something? Should artifactreport be extended to also take a 
mapper element or perhaps the retrieve pattern and mappers should be 
abstracted into a separate element common to both retrieve and 
artifactreport.

Regards,
Mark Thornton

Creager, Greg | 19 Jun 23:38 2013
Picon

ivy report, no branch information

I find the html reporting in ivy very helpful to our organization but one thing that is missing is the branch
information about the artifact.

You get all kinds of good information now (revision, status, resolver, configuration etc...), but the
vital branch info is missing. If I have two very similar builds that only vary by branch, it is very
difficult to quickly see what component was used.
Charles Duffy | 14 Jun 19:47 2013
Picon

Revision mapping (in namespace.xml) => inconsistent module descriptor

Howdy, all --

I'm trying to map a 3rd-party artifact which has been locally referred to
with the revision number "1.0.0" but is upstream "1.0" using a namespace.

I've posted a complete reproducer (ivysettings.xml, build.xml, and output)
here: https://gist.github.com/charles-dyfis-net/5783838

It looks like the reverse mapping isn't working correctly, causing
validation of the imported descriptor to fail. I've seen this happen when
the reverse mapping isn't functional, but I'm pretty sure that isn't the
case here -- and can't find any places in Ivy's test suite where revision
mapping is tested (grepping for fromsystem and tosystem in the test suite's
XML files comes up for no cases where rev is specified).

Am I missing something here?
Charles Duffy | 13 Jun 22:10 2013
Picon

Unexpected behavior from *-> <at> (mapping configurations not like-named)

Howdy --

I have a wrapper with the following:

<ivy-module version="1.0">
<info organisation="shims.spring" module="spring-web-servlet"
revision="3.0.5.RELEASE"/>
<configurations>
<conf name="default"/><conf name="master"/><conf name="compile"/>
<conf name="provided"/><conf name="runtime"/><conf name="test"/>
<conf name="system"/><conf name="sources"/><conf name="javadoc"/>
<conf name="optional"/>
</configurations>
<publications/>
<dependencies>
<dependency org="spring" name="spring-webmvc" rev="3.0.5.RELEASE"
conf="*-> <at> "/>
</dependencies>
</ivy-module>

My expectation is that this will map local to remote configurations only
for those which are like-named.

However, this expectation doesn't hold up in reality -- for some reason,
the "compile" configuration in the shim gets mapped to the "optional"
configuration in the target:

== resolving dependencies
shims.spring#spring-web-servlet;3.0.5.RELEASE->spring#spring-webmvc;3.0.5.RELEASE
[compile->optional]
== resolving dependencies spring#spring-webmvc;3.0.5.RELEASE->rome#rome;1.0
[optional->master(*)]

Why could this happen? How can I prevent it?
David Weintraub | 12 Jun 19:20 2013
Picon

Bug in Ivy Report -- Ignores "outputpattern" parameter

I tried using <ivy:report> with the "outputpattern" parameter, but couldn't get it to work.

I believe (I'm not a developer) traced the error back to the source:
src/java/org/apache/ivy/ant/IvyReport.java. It looks like the program never checks for the
outputpattern parameter. Instead, it looks at the property "ivy.report.output.parameter" and uses
that. This property is set by default when you use Ivy.

The only way I could change the name of ivy reports is to unset the property ivy.report.output.parameter
and then set that property to the value I want. Unsetting it, and using the parameter "outputpattern"
doesn't work because src/java/org/apache/ivy/ant/ivyReport.java will set it to the "default" if it
isn't set.

In the end, changing the names of these reports failed to set the link names correctly. 

Either this error should be fixed, or the parameter undocumented.

--
David Weintraub
qazwart@...

perl -e 'print "Just another second rate Perl Hacker\n";'

Carsten.Pfeiffer | 8 Jun 16:00 2013
Picon

AUTO: Carsten Pfeiffer ist außer Haus (Rückkehr am 01.07.2013)


Ich kehre zurück am 01.07.2013.

In dringenden Fällen, kontaktieren Sie bitte
Erwin<punkt>Tratar<at>gebit<punkt>de oder
Tom<punkt>Krauss<at>gebit<punkt>de.

Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht  "Re:
Mailing list still alive?" gesendet am 08.06.2013 11:19:14.

Diese ist die einzige Benachrichtigung, die Sie empfangen werden, während
diese Person abwesend ist.

Jean-Louis Boudart | 4 Jun 18:22 2013
Picon

Re: Check available updates for libs in ivy

Hi,

As far as i know there is no "quick way" to do this yet.

As this feature is also neededi have spend a couple of hours on
it yesterday. I have a something working and i would be able to commit it
soon.

Basically it's a new ant task. The task try to resolve all libs with a
configurable revision (latest.release) by default and log :

   - dependency updates
   - new transitive dependencies
   - missing transitive dependencies (in case you upgrade a dependency and
   one of it's dependency disappear you rely on a new version)

The task  will be a post resolve task [1], so all commons attributes would
be available including inline="true" :p.

As mentioned before you will be able to change the revision to check so if
you want to see potential updates including "integration" revision you
could do something like :
<ivy:displaydependencyupdate revisiontocheck="latest.integration"/>

Would this cover your need ?

[1]
http://ant.apache.org/ivy/history/latest-milestone/use/postresolvetask.html

PS: the name of the task and attributes is not the final one :p if you have
a better idea you're welcome

2013/6/3 Mykhailo Oleksiuk <mykhailo.oleksiuk@...>

> Hi,
>
> Unfortunately I didn't get response from ivy-user group.
>
> Dev guys, could you help me with my question?
>
> > Is it possible to get list of libs that are not up-to-date in quick
> way(ivy command/script/ant task etc)?
>
>
> Thanks,
> Mykhailo.
>
>
> ---------- Forwarded message ----------
> From: Mykhailo Oleksiuk <mykhailo.oleksiuk@...>
> Date: Tue, May 28, 2013 at 10:09 AM
> Subject: Check available updates for libs in ivy
> To: ivy-user@...
>
>
> Hi,
>
> We have a big project with 100+ libs defined in ivy.xml.
>
> Is it possible to get list of libs that are not up-to-date in quick way(ivy
> command/script/ant task etc)?
>
> --
> Regards,
> Mykhailo Oleksiuk.
>
>
>
> --
> Regards,
> Mykhailo Oleksiuk.
>

--

-- 
Jean Louis Boudart
Independent consultant
Apache EasyAnt commiter http://ant.apache.org/easyant/
George Baxter | 31 May 06:25 2013

.ivy2/cache 'stuff'

Hi all,

I've recently reallocated where the default cache is for my ivy-ant build, but I noticed several things are
still ending up in my .ivy2/cache directory.. for example, files are created related to my projects:

-rw-r--r--  1 george  staff  27840 May 30 21:08 com.xxx-base-test.xml
-rw-r--r--  1 george  staff   4650 May 30 21:08 ivy-report.css
-rw-r--r--  1 george  staff  21507 May 30 21:08 ivy-report.xsl
-rw-r--r--  1 george  staff   2127 May 30 21:06 resolved-com.xxx-base-working@...
-rw-r--r--  1 george  staff   1930 May 30 21:06 resolved-com.xxx-base-working@...

What exactly are these files?  Are they used during/for the build?  or are they simply diagnostic output?

George Baxter

marcdb | 30 May 13:32 2013
Picon

Publish ivy files without artifacts


Hello,

Does anybody know if it is possible to publish only the ivy-files and not
the artifacts ? I would like to publish the ivy-files in two locations (with
different pattern), but the actual artifacts should only be published once.

Tx,
Marc
--

-- 
View this message in context: http://old.nabble.com/Publish-ivy-files-without-artifacts-tp35570428p35570428.html
Sent from the ivy-user mailing list archive at Nabble.com.

Mykhailo Oleksiuk | 28 May 09:09 2013
Picon

Check available updates for libs in ivy

Hi,

We have a big project with 100+ libs defined in ivy.xml.

Is it possible to get list of libs that are not up-to-date in quick way(ivy
command/script/ant task etc)?

--

-- 
Regards,
Mykhailo Oleksiuk.

Gmane