cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1214719 - /cxf/dosgi/trunk/distribution/multi-bundle/src/main/xsl/felix_buildsystem_config.xslt
Date Thu, 15 Dec 2011 11:57:51 GMT
Author: sergeyb
Date: Thu Dec 15 11:57:51 2011
New Revision: 1214719

URL: http://svn.apache.org/viewvc?rev=1214719&view=rev
Log:
Minor updates to multibundle distro to get correct file uris generated on Unix

Modified:
    cxf/dosgi/trunk/distribution/multi-bundle/src/main/xsl/felix_buildsystem_config.xslt

Modified: cxf/dosgi/trunk/distribution/multi-bundle/src/main/xsl/felix_buildsystem_config.xslt
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/multi-bundle/src/main/xsl/felix_buildsystem_config.xslt?rev=1214719&r1=1214718&r2=1214719&view=diff
==============================================================================
--- cxf/dosgi/trunk/distribution/multi-bundle/src/main/xsl/felix_buildsystem_config.xslt (original)
+++ cxf/dosgi/trunk/distribution/multi-bundle/src/main/xsl/felix_buildsystem_config.xslt Thu
Dec 15 11:57:51 2011
@@ -9,7 +9,7 @@ org.osgi.framework.startlevel.beginning=
 felix.auto.start.<xsl:value-of select="$Offset"/>=http://repo2.maven.org/maven2/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
     <xsl:for-each select="//bundles/bundle">
       <xsl:variable name="i" select="position() + count(//bundles/felix_deps) + $Offset"/>
-felix.auto.start.<xsl:value-of select="$i"/>=file:/<xsl:value-of select="$TargetDir"/><xsl:value-of
select="text()"/>
+felix.auto.start.<xsl:value-of select="$i"/>=file:<xsl:if test="not(starts-with($TargetDir,'/'))"><xsl:value-of
select="'/'"/></xsl:if><xsl:value-of select="$TargetDir"/><xsl:value-of
select="text()"/>
     </xsl:for-each>
   </xsl:template>
 </xsl:transform>



Mime
View raw message