changeset 40:5f8d6291cc66

Allow bundlor to be configure to fail/not fail on warning
author smith@nwoca.org
date Tue, 07 Jun 2011 15:12:29 -0400
parents a2f3a6a2ec2d
children 139a3611ae99
files osgi-ant-bundlor.xml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/osgi-ant-bundlor.xml	Thu May 19 17:16:49 2011 -0400
+++ b/osgi-ant-bundlor.xml	Tue Jun 07 15:12:29 2011 -0400
@@ -36,6 +36,7 @@
             <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=""/>
+            <attribute name="failOnWarning" description="fail for warnings" default="true"/>
             <sequential>
                 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/>
                 <echoproperties destfile="${build.dir}/ivydeps.txt">
@@ -49,7 +50,7 @@
                     outputPath="${basedir}/@{jar}"
                     bundleVersion="@{version}"
                     bundleSymbolicName="@{symbolicName}"
-                    failOnWarnings="true"
+                    failOnWarnings="@{failOnWarning}"
                     manifestTemplatePath="@{template}"
                     osgiProfilePath="@{profile}">
                     <property name="bundle.name" value="@{name}"/>