Mercurial > public > develkit
comparison 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 |
comparison
equal
deleted
inserted
replaced
38:ec63736cd2a3 | 39:a2f3a6a2ec2d |
---|---|
33 <attribute name="jar" description="input jar"/> | 33 <attribute name="jar" description="input jar"/> |
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 <sequential> | 39 <sequential> |
39 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/> | 40 <echo message="OSGI-ifying @{jar} as @{symbolicName};@{version}" level="info"/> |
40 <echoproperties destfile="${build.dir}/ivydeps.txt"> | 41 <echoproperties destfile="${build.dir}/ivydeps.txt"> |
41 <propertyset> | 42 <propertyset> |
42 <propertyref prefix="ivydeps"/> | 43 <propertyref prefix="ivydeps"/> |
47 inputPath="${basedir}/@{jar}" | 48 inputPath="${basedir}/@{jar}" |
48 outputPath="${basedir}/@{jar}" | 49 outputPath="${basedir}/@{jar}" |
49 bundleVersion="@{version}" | 50 bundleVersion="@{version}" |
50 bundleSymbolicName="@{symbolicName}" | 51 bundleSymbolicName="@{symbolicName}" |
51 failOnWarnings="true" | 52 failOnWarnings="true" |
52 manifestTemplatePath="@{template}"> | 53 manifestTemplatePath="@{template}" |
54 osgiProfilePath="@{profile}"> | |
53 <property name="bundle.name" value="@{name}"/> | 55 <property name="bundle.name" value="@{name}"/> |
54 <propertyset> | 56 <propertyset> |
55 <propertyref prefix="ivy"/> | 57 <propertyref prefix="ivy"/> |
56 <mapper type="glob" from="ivydeps.*" to="*"/> | 58 <mapper type="glob" from="ivydeps.*" to="*"/> |
57 </propertyset> | 59 </propertyset> |