You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by br...@apache.org on 2014/01/09 08:55:44 UTC
svn commit: r1556755 -
/ace/trunk/org.apache.ace.gogo/src/org/apache/ace/gogo/repo/ContinuousDeployer.java
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());
}