ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1556755 - /ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java
Date Thu, 09 Jan 2014 07:55:44 GMT
Author: bramk
Date: Thu Jan  9 07:55:43 2014
New Revision: 1556755

URL: http://svn.apache.org/r1556755
Log:
ACE-448 CD should treat fragments as bundles

Modified:
    ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java

Modified: ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java?rev=1556755&r1=1556754&r2=1556755&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java (original)
+++ ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java Thu
Jan  9 07:55:43 2014
@@ -160,7 +160,7 @@ public class ContinuousDeployer {
     private Resource deploySnapshotResource(Resource resource, Version snapshotVersion) throws
Exception {
 
         File file = m_developmentRepo.get(getIdentity(resource), getVersion(resource).toString(),
Strategy.EXACT, null);
-        if (getType(resource).equals("osgi.bundle")) {
+        if (getType(resource).equals("osgi.bundle") || getType(resource).equals("osgi.fragment"))
{
             file = getBundleWithNewVersion(file, snapshotVersion.toString());
         }
 



Mime
View raw message