diff osgi-ant-bundlor.xml @ 37:ba7ae19e40a0

CM-125: output file to assist in creating OSGI template.
author smith@nwoca.org
date Mon, 09 May 2011 18:09:30 -0400
parents 82a5d5a000fe
children ec63736cd2a3
line wrap: on
line diff
--- a/osgi-ant-bundlor.xml	Sat May 07 11:22:58 2011 -0400
+++ b/osgi-ant-bundlor.xml	Mon May 09 18:09:30 2011 -0400
@@ -9,7 +9,7 @@
     
     <ssdtant:add-dependency target="-post-jar" depends="-osgi-jar"/>
 
-     <target name="-osgi-jar"            depends="-init-osgi,ivy-info">
+    <target name="-osgi-jar"            depends="-init-osgi,ivy-info">
         <ssdtosgi:jar jar="${dist.jar}"/>
     </target>
 
@@ -37,6 +37,12 @@
             <attribute name="template" description="Bundle Template" default="${basedir}/template.mf"/>
             <sequential>
                 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/>
+                <echoproperties destfile="${build.dir}/ivydeps.txt">
+                    <propertyset>
+                        <propertyref prefix="ivydeps"/>
+                        <mapper type="glob" from="ivydeps.*" to="*"/>
+                    </propertyset>    
+                </echoproperties>
                 <bundlor:bundlor
                     inputPath="${basedir}/@{jar}"
                     outputPath="${basedir}/@{jar}"
@@ -48,7 +54,7 @@
                     <propertyset>
                         <propertyref prefix="ivy"/>
                         <mapper type="glob" from="ivydeps.*" to="*"/>
-                    </propertyset>
+                    </propertyset>                    
                 </bundlor:bundlor>
             </sequential>
         </macrodef>