You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Archie Cobbs (JIRA)" <ji...@apache.org> on 2010/07/13 02:59:49 UTC
[jira] Resolved: (IVY-1205) Package resolver broken in 2.2.0-RC1
[ https://issues.apache.org/jira/browse/IVY-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Archie Cobbs resolved IVY-1205.
-------------------------------
Resolution: Invalid
False alarm... turns out that the bug was really in the Xerces packager.xml file, but was not revealed until the fix for IVY-1179 made it visible.
> Package resolver broken in 2.2.0-RC1
> ------------------------------------
>
> Key: IVY-1205
> URL: https://issues.apache.org/jira/browse/IVY-1205
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0-RC1
> Reporter: Archie Cobbs
>
> 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:
> {noformat}
> [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.
> {noformat}
> From what I can tell it looks like this change in packager.xsl has caused it:
> {noformat}
> --- 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>
> {noformat}
> Reverting that change makes things work again.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.