diff osgi-ant-bundlor.xml @ 39:a2f3a6a2ec2d

CM-125: allow OSGI profile to be specified
author smith@nwoca.org
date Thu, 19 May 2011 17:16:49 -0400
parents ec63736cd2a3
children 5f8d6291cc66
line wrap: on
line diff
--- a/osgi-ant-bundlor.xml	Thu May 19 12:37:37 2011 -0400
+++ b/osgi-ant-bundlor.xml	Thu May 19 17:16:49 2011 -0400
@@ -35,6 +35,7 @@
             <attribute name="name" description="Bundle Name" default="${application.title}"/>
             <attribute name="version" description="Bundle Version" default="${ivy.revision}"/>
             <attribute name="template" description="Bundle Template" default="${basedir}/template.mf"/>
+            <attribute name="profile" description="OSGI Profile" default=""/>
             <sequential>
                 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/>
                 <echoproperties destfile="${build.dir}/ivydeps.txt">
@@ -49,7 +50,8 @@
                     bundleVersion="@{version}"
                     bundleSymbolicName="@{symbolicName}"
                     failOnWarnings="true"
-                    manifestTemplatePath="@{template}">
+                    manifestTemplatePath="@{template}"
+                    osgiProfilePath="@{profile}">
                     <property name="bundle.name" value="@{name}"/>
                     <propertyset>
                         <propertyref prefix="ivy"/>