ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1205) Package resolver broken in 2.2.0-RC1
Date Mon, 12 Jul 2010 22:47:49 GMT
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.


Mime
View raw message