Looks like something has broken with the packager resolver in ivy 2.2.0.
If you checkout Ivy Roundup and run ant -Dresolve.mod=xerces
-Dresolve.rev=2.9.1 clean resolve, it will generate this error:
[ivy:resolve]
/home/archie/projects/ivyroundup/trunk/build/resolve/build/workspace/org.apache.xerces/xerces/2.9.1/packager-output.xml:138:
Warning: Could not find file
/home/archie/projects/ivyroundup/trunk/build/resolve/build/workspace/org.apache.xerces/xerces/2.9.1/binarchive/xerces-2_9_1/serializer.jar
to copy.
>From what I can tell it looks like this change in packager.xsl has caused
it:
---
build.good/resolve/build/workspace/org.apache.xerces/xerces/2.9.1/packager.xsl
2010-07-12 17:30:33.000000000 -0500
+++
build.bad/resolve/build/workspace/org.apache.xerces/xerces/2.9.1/packager.xsl
2010-07-12 17:35:16.000000000 -0500
@@ -419,9 +420,9 @@
<xsl:when test="$type = 'zip' or $type = 'war' or $type =
'jar'">
<unzip src="{$file}" dest="{$dir}">
<xsl:if test="$includes">
- <fileset dir=".">
+ <patternset>
<xsl:copy-of select="$includes"/>
- </fileset>
+ </patternset>
</xsl:if>
</unzip>
</xsl:when>
@@ -438,9 +439,9 @@
</xsl:when>
</xsl:choose>
<xsl:if test="$includes">
- <fileset dir=".">
+ <patternset>
<xsl:copy-of select="$includes"/>
- </fileset>
+ </patternset>
</xsl:if>
</untar>
</xsl:when>
Reverting that change makes things work again.
I filed IVY-1205 <https://issues.apache.org/jira/browse/IVY-1205>.
-Archie
On Thu, Jul 8, 2010 at 6:56 AM, Maarten Coene <[email protected]>wrote:
> Jul 05, 2010 - The Ivy project is pleased to announce its 2.2.0-rc1
> release.
> This is the first candidate release of Ivy 2.2.0.
>
> Ivy is a tool for managing (recording, tracking, resolving and
> reporting) project dependencies, characterized by flexibility,
> configurability, and tight integration with Apache Ant.
>
> This is a release candidate for 2.2.0 final, meaning that no changes
> except bug fixes will occur between this release candidate and 2.2.0 final.
> Problems found at this phase can be fixed in the final release, so now
> is a good time to download and use it. If no outstanding bugs are reported
> in the coming weeks, this release candidate will be promoted as the 2.2.0
> final release.
>
> Key features of the 2.2.0 release are
> * enhanced Maven2 compatibility, with several bug fixes and more
> pom features covered
> * new parent mechanism for Ivy files
> * numerous bug fixes as documented in Jira and in the release notes
>
> We encourage all users of Ivy to update to this new version.
>
> Issues should be reported to:
> https://issues.apache.org/jira/browse/IVY
>
> Download the 2.2.0-rc1 release at:
> http://ant.apache.org/ivy/download.cgi
>
> More information can be found on the Ivy website:
> http://ant.apache.org/ivy/
>
> Regards,
> Maarten Coene
>
>
>
>
>
--
Archie L. Cobbs