You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by do...@apache.org on 2007/04/20 11:39:49 UTC

svn commit: r530718 - in /incubator/felix/sandbox/donsez/mavenobr: ./ build.obrindex.from.mavenrepo.xml

Author: donsez
Date: Fri Apr 20 02:39:48 2007
New Revision: 530718

URL: http://svn.apache.org/viewvc?view=rev&rev=530718
Log: (empty)

Added:
    incubator/felix/sandbox/donsez/mavenobr/
    incubator/felix/sandbox/donsez/mavenobr/build.obrindex.from.mavenrepo.xml   (with props)

Added: incubator/felix/sandbox/donsez/mavenobr/build.obrindex.from.mavenrepo.xml
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/mavenobr/build.obrindex.from.mavenrepo.xml?view=auto&rev=530718
==============================================================================
--- incubator/felix/sandbox/donsez/mavenobr/build.obrindex.from.mavenrepo.xml (added)
+++ incubator/felix/sandbox/donsez/mavenobr/build.obrindex.from.mavenrepo.xml Fri Apr 20 02:39:48 2007
@@ -0,0 +1,53 @@
+<project name="MavenOBR"
+	default="build.index"
+	basedir=".">
+	
+	<description>
+	This project builds the ORBv2 index from a local Maven repository
+	</description>
+	
+	<!-- author: Didier Donsez -->
+
+	<property name="bindex.jar.url" value="http://bundles.osgi.org/build/jar/bindex.jar"/>
+		
+	<!-- set global properties for this build -->
+
+	<property name="repository.dir" value="C:\Docume~1\Donsez\.m2\repository"/>
+	<property name="repository.name" value="Maven Repository"/>
+	<property name="repository.file" value="repository.xml"/>
+	<property name="repository.url" value="http://www-adele.imag.fr/users/Didier.Donsez/dev/osgi"/>
+	<property name="url.template" value="${repository.url}/%p/%f"/>
+	
+	<!-- set the classpath for the task -->
+	<property name="task.classpath" value="./bin;bindex.jar"/>	
+	<taskdef name="bindex"
+		classname="bundles.obr.bindex.ant.BindexTask"
+		classpath="${task.classpath}"/>
+	
+	<target name="init">
+		<!-- do some initialization tasks here -->
+		<!-- for instance get the, http://bundles.osgi.org/build/jar/bindex.jar -->
+	</target>
+	
+	<target name="build.index" depends="init">
+		<bindex
+			root="${repository.dir}"
+			name="${repository.name}"
+			repositoryFile="${repository.file}"
+			urlTemplate="${url.template}"
+			quiet="false"
+			licenseUrl="${repository.url}/LICENSE.TXT"
+		>
+			<fileset dir="${repository.dir}">
+				<include name="**/*.jar"/>
+				<exclude name="**/*-src.jar"/>
+				<exclude name="**/*-src*.jar"/>
+				<exclude name="**/embeddedlibs/*.jar"/>
+				<exclude name="**/lib/*.jar"/>
+				<exclude name="**/libs/*.jar"/>
+				<exclude name="**/externallibs/*.jar"/>
+			</fileset>
+		</bindex>
+	</target>
+</project>
+

Propchange: incubator/felix/sandbox/donsez/mavenobr/build.obrindex.from.mavenrepo.xml
------------------------------------------------------------------------------
    svn:eol-style = native