From: <my...@us...> - 2009-01-25 13:43:36
|
Revision: 1524 http://aperture.svn.sourceforge.net/aperture/?rev=1524&view=rev Author: mylka Date: 2009-01-25 13:43:30 +0000 (Sun, 25 Jan 2009) Log Message: ----------- added the patch that generates the new sesame 2.2.3-osgi bundle Added Paths: ----------- branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/ branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/README.txt branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/build.xml branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/openrdf-sesame-2.2.3-onejar.bnd Added: branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/README.txt =================================================================== --- branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/README.txt (rev 0) +++ branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/README.txt 2009-01-25 13:43:30 UTC (rev 1524) @@ -0,0 +1,24 @@ +The OSGI-enabled version of the sesame onejar have been created as follows: + +(steps 1-4 are automated by the enclosed build.xml ant script). + +1. Downloaded the Sesame 2.2.1 onejar release from sourceforge: +http://heanet.dl.sourceforge.net/sourceforge/sesame/openrdf-sesame-2.2.1-onejar.jar +The openrdf-sesame-2.2.1-onejar.jar got copied into this folder + +2. Downloaded the bnd tool v. 0.249 from aQute: +http://www.aqute.biz/repo/biz/aQute/bnd/0.0.249/bnd-0.0.249.jar +the bnd got copied into this folder + +3. Wrote the bnd file (included in this folder) + +4. With three files in this folder (sesame,bnd jar and the bundle definition) executed +java -jar bnd-0.0.249.jar wrap + -output openrdf-sesame-2.2.1-onejar-osgi.jar + -properties openrdf-sesame-2.2.1-onejar.bnd + openrdf-sesame-2.2.1-onejar.jar + +(Obviously the entire command needs to go in the same line, the linebreaks have been +included for readability). + +5. Copied the resulted openrdf-sesame-2.2.1-onejar-osgi.jar into the lib folder. \ No newline at end of file Property changes on: branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/README.txt ___________________________________________________________________ Added: svn:mime-type + text/plain Added: branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/build.xml =================================================================== --- branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/build.xml (rev 0) +++ branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/build.xml 2009-01-25 13:43:30 UTC (rev 1524) @@ -0,0 +1,52 @@ +<?xml version="1.0"?> + +<project name="bundle" basedir="." default="build"> + + <target name="init" description="initialize variables used in all other targets"> + + + + <property name="remote.folder" value="http://heanet.dl.sourceforge.net/sourceforge/sesame/" /> + <property name="original.name" value="openrdf-sesame-2.2.3-onejar" /> + + + <property name="new.name" value="${original.name}-osgi" /> + <property name="bnd.transformation.file" value="${original.name}.bnd"/> + <property name="original.jar" value="${original.name}.jar" /> + <property name="original.url" value="${remote.folder}${original.jar}" /> + <property name="new.jar" value="${new.name}.jar" /> + <property name="bnd.folder" value="http://www.aqute.biz/repo/biz/aQute/bnd/0.0.249/"/> + <property name="bnd.jar" value ="bnd-0.0.249.jar"/> + <property name="bnd.url" value="${bnd.folder}${bnd.jar}"/> + </target> + + <target name="download" description="downloads the jar and the bnd tool"> + <get src="${original.url}" dest="${original.jar}"/> + <get src="${bnd.url}" dest="${bnd.jar}"/> + </target> + + <target name="call-bnd" description="calls the bnd tool"> + <java jar="${bnd.jar}" fork="true" failonerror="true"> + <arg value="wrap"/> + <arg value="-output"/> + <arg value="${new.jar}"/> + <arg value="-properties"/> + <arg value="${bnd.transformation.file}"/> + <arg value="${original.jar}"/> + </java> + </target> + + <target name="clean" description="deletes bnd and the original jar"> + <delete> + <fileset dir="." includes="${bnd.jar},${original.jar}"/> + </delete> + </target> + + <!-- generates all three jars --> + <target name="build" description="builds the bundle" depends="init,download,call-bnd"> + </target> + + <target name="dist" description="builds the bundle and deletes unneeded files" + depends="build,clean"/> + +</project> \ No newline at end of file Property changes on: branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/build.xml ___________________________________________________________________ Added: svn:mime-type + text/plain Added: branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/openrdf-sesame-2.2.3-onejar.bnd =================================================================== --- branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/openrdf-sesame-2.2.3-onejar.bnd (rev 0) +++ branches/smila-prep-branch/aperture/patches/sesame-2.2.3-onejar-osgi/openrdf-sesame-2.2.3-onejar.bnd 2009-01-25 13:43:30 UTC (rev 1524) @@ -0,0 +1,12 @@ +-nouses true +Bundle-Name: Sesame 2.2.3 onejar. +Bundle-ClassPath: . +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.openrdf.sesame2 +Bundle-Version: 2.2.3 +Bundle-Vendor: Aduna Software, packaged by DFKI GmbH +Bundle-Localization: plugin +Eclipse-RegisterBuddy: org.semanticdesktop.common.log +Eclipse-BuddyPolicy: registered +Import-Package: org.slf4j, *;resolution:=optional +Export-Package: *;version=2.2.3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |