changeset 35:7df554d8c4c1

CM-125: correct error in bundlor property mapping
author smith@nwoca.org
date Sat, 07 May 2011 11:09:46 -0400
parents 2704c479a05f
children 82a5d5a000fe
files osgi-ant-bundlor.xml sonar-ant.xml
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/osgi-ant-bundlor.xml	Tue Apr 26 11:29:03 2011 -0400
+++ b/osgi-ant-bundlor.xml	Sat May 07 11:09:46 2011 -0400
@@ -39,7 +39,7 @@
                     <property name="bundle.name" value="@{name}"/>
                     <propertyset>
                         <propertyref prefix="ivy"/>
-                        <mapper type="glob" from="ivydeps." to="*"/>
+                        <mapper type="glob" from="ivydeps.*" to="*"/>
                     </propertyset>
                 </bundlor:bundlor>
             </sequential>
--- a/sonar-ant.xml	Tue Apr 26 11:29:03 2011 -0400
+++ b/sonar-ant.xml	Sat May 07 11:09:46 2011 -0400
@@ -16,10 +16,17 @@
     <ssdtant:add-dependency target="init" depends="-sonar-init"/>
 
     <target name="-sonar-init">
-        <echo message="Sonar: Active"/>
+        <if>
+            <isset property="sonar.enabled"/>
+            <then>
+                <echo message="Sonar: Active"/>
+            </then>
+        </if>
         <if>
             <contains string="${ant.project.invoked-targets}" substring="sonar"/>
-            <then> <property name="ignore.failing.tests" value="true"/> </then>
+            <then>
+                <property name="ignore.failing.tests" value="true"/>
+            </then>
         </if>
         <property name="sonar.active" value="true"/>
     </target>