Skip to content

Commit

Permalink
Build changes to support creating an OSGi bundle
Browse files Browse the repository at this point in the history
This isn't merged into the org.uncommons.antlib - that's something I
figure I'll leave to the pros.
  • Loading branch information
dleblanc committed Oct 25, 2012
1 parent 52d900d commit 2213e98
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.xml
Expand Up @@ -125,6 +125,15 @@
depends="core, demo"
description="Generate the project distribution." >
<uncommons:dist />

<typedef resource="aQute/bnd/ant/taskdef.properties" classpathref="base.path" />
<bnd classpath="${dist.dir}/${artifact.identifier}.jar"
eclipse="false"
failok="false"
exceptions="true"
files="uncommons-maths.bnd"
output="${dist.dir}"/>

<mkdir dir="${dist.dir}/src" />
<copy todir="${dist.dir}/src" flatten="true">
<fileset dir="." includes="**/${build.dir}/*-src.jar"/>
Expand Down
Binary file added lib/compiletime/bnd/bnd-1.50.0.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions uncommons-maths.bnd
@@ -0,0 +1,5 @@
Bundle-Name: Uncommons Maths
Bundle-SymbolicName: org.uncommons.maths
Bundle-Version: ${version}
Export-Package: *;version=${version}

0 comments on commit 2213e98

Please sign in to comment.