ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1368807 - in /ant/ivy/core/trunk/src/java/org/apache/ivy/osgi: p2/P2MetadataParser.java updatesite/UpdateSiteLoader.java
Date Fri, 03 Aug 2012 07:07:59 GMT
Author: hibou
Date: Fri Aug  3 07:07:59 2012
New Revision: 1368807

URL: http://svn.apache.org/viewvc?rev=1368807&view=rev
Log:
fix tests: call "finish" when the entire p2 repository has been parsed

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/p2/P2MetadataParser.java
    ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoader.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/p2/P2MetadataParser.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/p2/P2MetadataParser.java?rev=1368807&r1=1368806&r2=1368807&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/p2/P2MetadataParser.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/p2/P2MetadataParser.java Fri Aug  3 07:07:59
2012
@@ -59,7 +59,6 @@ public class P2MetadataParser implements
         } catch (ParserConfigurationException e) {
             throw new SAXException(e);
         }
-        p2Descriptor.finish();
     }
 
     static class RepositoryHandler extends DelegetingHandler {

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoader.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoader.java?rev=1368807&r1=1368806&r2=1368807&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoader.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoader.java Fri Aug
 3 07:07:59 2012
@@ -100,6 +100,7 @@ public class UpdateSiteLoader {
         if (!populateP2Descriptor(repoUri, p2Descriptor)) {
             return null;
         }
+        p2Descriptor.finish();
         return p2Descriptor;
     }
 



Mime
View raw message