ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1369162 - /ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java
Date Fri, 03 Aug 2012 18:49:58 GMT
Author: hibou
Date: Fri Aug  3 18:49:58 2012
New Revision: 1369162

URL: http://svn.apache.org/viewvc?rev=1369162&view=rev
Log:
Use the default status rather than an hard coded status

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java?rev=1369162&r1=1369161&r2=1369162&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/osgi/repo/AbstractOSGiResolver.java Fri Aug
 3 18:49:58 2012
@@ -200,7 +200,7 @@ public abstract class AbstractOSGiResolv
             Collections.singletonMap(CAPABILITY_EXTRA_ATTR, md.getModuleRevisionId().toString()));
 
         DefaultModuleDescriptor capabilityMd = new DefaultModuleDescriptor(capabilityRev,
-                "release", new Date());
+                getSettings().getStatusManager().getDefaultStatus(), new Date());
 
         String useConf = BundleInfoAdapter.CONF_USE_PREFIX + dd.getDependencyRevisionId().getName();
 



Mime
View raw message