comparison osgi-ant-bundlor.xml @ 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
comparison
equal deleted inserted replaced
39:a2f3a6a2ec2d 40:5f8d6291cc66
34 <attribute name="symbolicName" description="Bundle Symbolic Name" default="${ivy.organisation}.${ivy.module}"/> 34 <attribute name="symbolicName" description="Bundle Symbolic Name" default="${ivy.organisation}.${ivy.module}"/>
35 <attribute name="name" description="Bundle Name" default="${application.title}"/> 35 <attribute name="name" description="Bundle Name" default="${application.title}"/>
36 <attribute name="version" description="Bundle Version" default="${ivy.revision}"/> 36 <attribute name="version" description="Bundle Version" default="${ivy.revision}"/>
37 <attribute name="template" description="Bundle Template" default="${basedir}/template.mf"/> 37 <attribute name="template" description="Bundle Template" default="${basedir}/template.mf"/>
38 <attribute name="profile" description="OSGI Profile" default=""/> 38 <attribute name="profile" description="OSGI Profile" default=""/>
39 <attribute name="failOnWarning" description="fail for warnings" default="true"/>
39 <sequential> 40 <sequential>
40 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/> 41 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/>
41 <echoproperties destfile="${build.dir}/ivydeps.txt"> 42 <echoproperties destfile="${build.dir}/ivydeps.txt">
42 <propertyset> 43 <propertyset>
43 <propertyref prefix="ivydeps"/> 44 <propertyref prefix="ivydeps"/>
47 <bundlor:bundlor 48 <bundlor:bundlor
48 inputPath="${basedir}/@{jar}" 49 inputPath="${basedir}/@{jar}"
49 outputPath="${basedir}/@{jar}" 50 outputPath="${basedir}/@{jar}"
50 bundleVersion="@{version}" 51 bundleVersion="@{version}"
51 bundleSymbolicName="@{symbolicName}" 52 bundleSymbolicName="@{symbolicName}"
52 failOnWarnings="true" 53 failOnWarnings="@{failOnWarning}"
53 manifestTemplatePath="@{template}" 54 manifestTemplatePath="@{template}"
54 osgiProfilePath="@{profile}"> 55 osgiProfilePath="@{profile}">
55 <property name="bundle.name" value="@{name}"/> 56 <property name="bundle.name" value="@{name}"/>
56 <propertyset> 57 <propertyset>
57 <propertyref prefix="ivy"/> 58 <propertyref prefix="ivy"/>