Rodrigue ... | 29 Jun 19:21 2013

the credentials tag in ivysettings.xml

Hi everybody,

I'm facing an issue here concerning the credentials tag supposed to be
supported by the ivysettings xml specification (
http://ant.apache.org/ivy/history/latest-milestone/settings/credentials.html
)

Since my repository is protected using a http-authentication, I would like
to use the credentials tag to parameterize the username and passwd values.
I just tried by entering the values (username and passwd) directly without
success.

I have the feeling that this credentials tag is not considered during the
resolve of the dependencies, am I wrong?

Thank you for any help

BR
Rodrigue
Colin Surprenant | 24 Jun 19:10 2013
Picon

problem getting "native" dependency

Hi,

I am having troubles finding the "right way" to fetch some "native"
dependencies with Ivy and I am hoping someone can point me in the
right direction.

My project has a dependency on the org-jruby:jruby-core artifact
http://mvnrepository.com/artifact/org.jruby/jruby-core/1.7.4. One of
the jruby-core dependency is com.github.jnr:jffi
http://mvnrepository.com/artifact/com.github.jnr/jffi/1.2.5 and jffi
has also a "native" artifact which I need to fetch.

By default, specifying a transitive dependency on jruby-core does not
fetch the jffi-native artifact, just the "compile" scope jar file.
jffi-native is in the "runtime" scope and so far the only way I was
able to fetch it is using this dependency declaration:

<dependency org="com.github.jnr" name="jffi" rev="1.2.5" conf="default">
  <artifact name="jffi" type="jar" />
  <artifact name="jffi" type="jar" m:classifier="native"/>
</dependency>

I tried using Ivy conf for compile and runtime but it does not fetch
jffi-native. here's what I tried:

<configurations>
  <conf name="compile" visibility="public" description="default dependencies" />
  <conf name="runtime" visibility="public" description="runtime dependencies" />
</configurations>

(Continue reading)

Mark Thornton | 24 Jun 11:35 2013

lastest-revision 1.0.b2 > 2.0.2

This is ivy 2.3.0 again with the latest-revision conflict manager.
Why is 1.0.b2 evicting 2.0.2?

Mark


xml-apis by xml-apis

Revision: 1.0.b2

Home Page http://xml.apache.org/commons/#external
Status release
Publication 20070209003046
Resolver central
Configurations compile, master(*), runtime, compile(*), runtime(*), master
Artifacts size 107 kB (0 kB downloaded, 107 kB in cache)
Licenses The Apache Software License, Version 2.0
Required by
Organisation Name Revision In Configurations Asked Revision
xalan xalan 2.6.0 compile 2.0.2
dom4j dom4j 1.6.1 optional, compile, runtime 1.0.b2
Dependencies
No dependency
Artifacts
Name Type Ext Download Size
xml-apis jar jar no 107 kB

Revision: 2.0.2

Status
Publication
Resolver
Configurations compile, master(*), compile(*), master
Artifacts size 0 kB (0 kB downloaded, 0 kB in cache)
Evicted by 1.0.b2 in latest-revision conflict manager
Required by
Organisation Name Revision In Configurations Asked Revision
xalan xalan 2.6.0 compile 2.0.2


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/

Gmane