[jboss-osgi-commits] JBoss-OSGI SVN: r94322 - in projects/jboss-osgi/projects: osgitck and 9 other directories.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Sun Oct 4 18:07:50 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-10-04 18:07:49 -0400 (Sun, 04 Oct 2009)
New Revision: 94322

Added:
   projects/jboss-osgi/projects/osgitck/
   projects/jboss-osgi/projects/osgitck/r4v42/
   projects/jboss-osgi/projects/osgitck/r4v42/.classpath
   projects/jboss-osgi/projects/osgitck/r4v42/.project
   projects/jboss-osgi/projects/osgitck/r4v42/ant.properties.example
   projects/jboss-osgi/projects/osgitck/r4v42/build.xml
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/.project
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/ant.properties.example
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/server.xml
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/tomcat-users.xml
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/build.xml
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/config.xml
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/hudson.tasks.Maven.xml
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/jobs/
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/jobs/osgi.core.tests/
   projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/jobs/osgi.core.tests/config.xml
   projects/jboss-osgi/projects/osgitck/r4v42/overlay/
   projects/jboss-osgi/projects/osgitck/r4v42/overlay/cnf/
   projects/jboss-osgi/projects/osgitck/r4v42/overlay/cnf/build.bnd
Log:
Add initial osgitck setup

Added: projects/jboss-osgi/projects/osgitck/r4v42/.classpath
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/.classpath	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/.classpath	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: projects/jboss-osgi/projects/osgitck/r4v42/.project
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/.project	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/.project	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>osgitck-r4v42</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: projects/jboss-osgi/projects/osgitck/r4v42/ant.properties.example
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/ant.properties.example	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/ant.properties.example	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,13 @@
+#
+# A sample ant properties file
+#
+# $Id: ant.properties.example 3995 2007-07-26 08:52:45Z thomas.diesler at jboss.com $
+
+# The location of the OSGi TCK
+osgitck.zip=/home/tdiesler/svn/r4v42-core-cmpn-final.zip
+
+# The location of the aQute Bnd 
+aQute.bnd.jar=/home/tdiesler/.m2/repository/biz/aQute/aQute.bnd/0.0.366-SNAPSHOT/aQute.bnd-0.0.366-SNAPSHOT.jar
+
+# The location of the framework
+jboss.osgi.framework.jar=/home/tdiesler/.m2/repository/org/jboss/osgi/runtime/jboss-osgi-framework/1.0.0-SNAPSHOT/jboss-osgi-framework-1.0.0-SNAPSHOT-all.jar

Added: projects/jboss-osgi/projects/osgitck/r4v42/build.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/build.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/build.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!--  JBoss, the OpenSource J2EE webOS                                      -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
+
+<!-- $Id: build.xml 93515 2009-09-15 07:18:21Z thomas.diesler at jboss.com $ -->
+
+<project default="setup">
+
+  <property name="target.dir" value="${basedir}/target" />
+
+  <!-- ================================================================== -->
+  <!-- Initialization                                                     -->
+  <!-- ================================================================== -->
+
+  <target name="init">
+
+    <!-- Check if ant.properties is available -->
+    <available property="ant.properties.available" file="${basedir}/ant.properties" />
+    <fail message="Cannot find ant.properties. Did you copy/edit ant.properties.example?" unless="ant.properties.available" />
+
+    <property file="${basedir}/ant.properties" />
+
+    <!-- Check if the osgitck zip is available -->
+    <available property="osgitck.zip.available" file="${osgitck.zip}" />
+    <fail message="Cannot find: ${osgitck.zip}" unless="osgitck.zip.available" />
+
+    <!-- Check if the aQute.bnd jar is available -->
+    <available property="aQute.bnd.available" file="${aQute.bnd.jar}" />
+    <fail message="Cannot find: ${aQute.bnd.jar}" unless="aQute.bnd.available" />
+
+    <!-- Check if the jboss.osgi.framework jar is available -->
+    <available property="jboss.osgi.framework.available" file="${jboss.osgi.framework.jar}" />
+    <fail message="Cannot find: ${jboss.osgi.framework.jar}" unless="jboss.osgi.framework.available" />
+
+    <!-- Check if the osgitck dir is available -->
+    <property name="osgitck.dir" value="${target.dir}/r4v42-core-cmpn-final" />
+    <available property="osgitck.dir.available" file="${osgitck.dir}" />
+    <property name="jboss.framework.repo.dir" value="${osgitck.dir}/licensed/repo/org.jboss.osgi.framework" />
+
+  </target>
+
+  <!-- ================================================================== -->
+  <!-- Setup                                                              -->
+  <!-- ================================================================== -->
+
+  <!-- Unzip the OSGi TCK-->
+  <target name="unzip-osgitck" depends="init" unless="osgitck.dir.available">
+    <unzip src="${osgitck.zip}" dest="${target.dir}" />
+  </target>
+
+  <target name="setup" depends="init,unzip-osgitck">
+
+    <!-- Check if the osgitck dir is available -->
+    <fail message="Cannot find: ${osgitck.dir}" unless="osgitck.dir.available" />
+
+    <!-- Overlay the TCK setup -->
+    <copy todir="${osgitck.dir}" overwrite="true">
+      <fileset dir="${basedir}/overlay" />
+    </copy>
+
+    <!-- Copy the OSGi Framework -->
+    <mkdir dir="${jboss.framework.repo.dir}" />
+    <copy file="${jboss.osgi.framework.jar}" tofile="${jboss.framework.repo.dir}/org.jboss.osgi.framework-1.0.0.jar" overwrite="true" />
+
+    <!-- Copy the aQute.bnd -->
+    <copy file="${aQute.bnd.jar}" tofile="${osgitck.dir}/licensed/repo/biz.aQute.bnd/biz.aQute.bnd-latest.jar" overwrite="true" />
+  </target>
+
+  <!-- ================================================================== -->
+  <!-- Clean                                                              -->
+  <!-- ================================================================== -->
+
+  <target name="clean">
+    <delete dir="${target.dir}" />
+  </target>
+
+</project>

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/.project
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/.project	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/.project	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>hudson</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/ant.properties.example
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/ant.properties.example	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/ant.properties.example	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,29 @@
+#
+# A sample ant properties file
+#
+# $Id: $
+
+# JDK settings
+java.home.jdk15=/usr/java/jdk1.5.0_19
+java.home.jdk16=/usr/java/jdk1.6.0_14
+
+# Hudson QA Environment
+hudson.username=changeme
+hudson.password=changeme
+
+hudson.root=/home/hudson/workspace/hudson/org.osgi
+
+hudson.host=localhost
+hudson.admin.port=8250
+hudson.http.port=8280
+
+hudson.mail.recipients=
+hudson.smtp.host=localhost
+
+# Hudson (1.290)
+apache-tomcat=5.5.27
+sun-hudson=2402/128862
+
+# authentication cancelled error
+# https://hudson.dev.java.net/issues/show_bug.cgi?id=3936
+

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/server.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/server.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/server.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<Server port="@hudson.admin.port@" shutdown="SHUTDOWN">
+
+  <GlobalNamingResources>
+    <!-- Used by Manager webapp -->
+    <Resource 
+  name="UserDatabase" auth="Container"
+  type="org.apache.catalina.UserDatabase"
+        description="User database that can be updated and saved"
+        factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
+        pathname="conf/tomcat-users.xml" />
+  </GlobalNamingResources>
+
+  <Service name="Catalina">
+
+    <Connector port="@hudson.http.port@" />
+
+    <!-- This is here for compatibility only, not required
+    <Connector port="8009" protocol="AJP/1.3" />
+    -->
+
+    <Engine name="Catalina" defaultHost="localhost">
+      <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
+      <Host name="localhost" appBase="webapps"/>
+    </Engine>
+    
+  </Service>
+</Server>

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/tomcat-users.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/tomcat-users.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/apache-tomcat/conf/tomcat-users.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='utf-8'?>
+<tomcat-users>
+  <role rolename="admin"/>
+  <user username="@hudson.username@" password="@hudson.password@" roles="admin"/>
+</tomcat-users>

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/build.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/build.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/build.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!--  JBoss, the OpenSource J2EE webOS                                      -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
+
+<!-- $Id: $ -->
+
+<project>
+  
+  <property name="hudson.dir" value="${basedir}"/>
+  <property name="hudson.target.dir" value="${hudson.dir}/target"/>
+  <property name="project.root.dir" value="${basedir}/.."/>
+
+  <!-- ================================================================== -->
+  <!-- Hudson Jobs                                                        -->
+  <!-- ================================================================== -->
+  <macrodef name="copyjobs">
+     <sequential>
+        <copy todir="${hudson.home}/jobs" overwrite="true">
+          <fileset dir="${hudson.dir}/hudson-home/jobs">
+            <include name="*/config.xml"/>
+          </fileset>
+          <filterset>
+            <filter token="hudson.osgi.url" value="${hudson.osgi.url}"/>
+            <filtersfile file="${hudson.dir}/ant.properties"/>
+          </filterset>
+        </copy>
+     </sequential>
+  </macrodef>
+  
+  <!-- ================================================================== -->
+  <!-- Initialization                                                     -->
+  <!-- ================================================================== -->
+  
+  <target name="init">
+    <!-- Check if ant.properties is available -->
+    <available property="ant.properties.available" file="${basedir}/ant.properties"/>
+    <fail message="Cannot find ant.properties. Did you copy/edit ant.properties.example?" unless="ant.properties.available"/>
+    
+    <property file="${basedir}/ant.properties"/>
+  </target>
+  
+  <target name="init-hudson" depends="init">
+    <property name="hudson.tomcat" value="${hudson.root}/apache-tomcat"/>
+    <property name="hudson.home" value="${hudson.root}/hudson-home"/>
+    
+    <echo/>
+    <echo message="hudson.root = ${hudson.root}"/>
+    <echo message="hudson.home = ${hudson.home}"/>
+    <echo/>
+    
+    <available file="${hudson.root}" property="hudson.root.available"/>
+    <available file="${hudson.tomcat}" property="hudson.tomcat.available"/>
+    <fail message="Hudson root not available: ${hudson.root}" unless="hudson.root.available"/>
+    
+    <property name="hudson.username.${hudson.username}" value="true"/>
+    <fail message="Cannot use default hudson username: ${hudson.username}" if="hudson.username.changeme"/>
+    <property name="hudson.password.${hudson.password}" value="true"/>
+    <fail message="Cannot use default hudson password: ${hudson.password}" if="hudson.password.changeme"/>
+  </target>
+  
+  <target name="init-thirdparty" depends="init-hudson">
+    <property name="thirdparty.dir" value="${hudson.target.dir}/thirdparty"/>
+    <mkdir dir="${thirdparty.dir}"/>
+    <available property="apache.tomcat.available" file="${thirdparty.dir}/apache-tomcat.zip"/>
+    <available property="sun.hudson.available" file="${thirdparty.dir}/hudson.war"/>
+  </target>
+	
+  <!-- 
+    Get thirdparty dependencies 
+  -->
+  <target name="thirdparty" depends="init-thirdparty,get-tomcat,get-hudson">
+  </target>
+  <target name="get-tomcat" depends="init-thirdparty" unless="apache.tomcat.available">
+    <get src="http://www.apache.org/dist/tomcat/tomcat-5/v${apache-tomcat}/bin/apache-tomcat-${apache-tomcat}.zip" dest="${thirdparty.dir}/apache-tomcat.zip" usetimestamp="true" verbose="true"/>
+  </target>
+  <target name="get-hudson" depends="init-thirdparty" unless="sun.hudson.available">
+    <get src="https://hudson.dev.java.net/files/documents/${sun-hudson}/hudson.war" dest="${thirdparty.dir}/hudson.war" usetimestamp="true" verbose="true"/>
+  </target>
+  
+  <!-- 
+    Setup the Hudson Tomcat instance 
+  -->
+  <target name="hudson-tomcat-setup" depends="thirdparty" unless="hudson.tomcat.available">
+    
+    <!-- Install Tomcat -->
+    <unzip src="${thirdparty.dir}/apache-tomcat.zip" dest="${hudson.root}"/>
+    <move file="${hudson.root}/apache-tomcat-${apache-tomcat}" tofile="${hudson.tomcat}"/>
+    <chmod perm="+x">
+      <fileset dir="${hudson.tomcat}/bin">
+        <include name="*.sh"/>
+      </fileset>
+    </chmod>
+    
+    <!-- Install Hudson -->
+    <copy todir="${hudson.tomcat}/webapps" file="${thirdparty.dir}/hudson.war"/>
+    
+  </target>
+  
+  <!-- 
+    Update the Hudson version
+  -->
+  <target name="hudson-update" depends="init-thirdparty">
+    <get src="https://hudson.dev.java.net/files/documents/${sun-hudson}/hudson.war" dest="${thirdparty.dir}/hudson.war" usetimestamp="false" verbose="true"/>
+    <delete dir="${hudson.tomcat}/webapps/hudson"/>
+    <copy todir="${hudson.tomcat}/webapps" file="${thirdparty.dir}/hudson.war" overwrite="true"/>
+  </target>
+
+  <!-- 
+    Setup the Hudson QA environment
+  -->
+  <target name="hudson-setup" depends="init-hudson,hudson-tomcat-setup"  description="Setup the Hudson QA environment">
+    
+    <!-- get the svn url -->
+    <exec dir="${project.root.dir}" executable="svn" failonerror="true" output="${hudson.target.dir}/svn-info.xml">
+      <arg line="info"/>
+      <arg line="--xml"/>
+    </exec>
+    <xmlproperty file="${hudson.target.dir}/svn-info.xml"/>
+    <property name="hudson.osgi.url" value="${info.entry.url}"/>
+    
+    <!-- Configure Tomcat -->
+    <copy todir="${hudson.tomcat}" overwrite="true">
+      <fileset dir="${hudson.dir}/apache-tomcat">
+        <include name="**/*.xml"/>
+      </fileset>
+      <filterset>
+        <filtersfile file="${hudson.dir}/ant.properties"/>
+        <filter token="hudson.home" value="${hudson.home}"/>
+      </filterset>
+    </copy>
+    
+    <!-- Configure Hudson Home -->
+    <copy todir="${hudson.home}" overwrite="false">
+      <fileset dir="${hudson.dir}/hudson-home">
+        <include name="*.xml"/>
+      </fileset>
+      <filterset>
+        <filtersfile file="${hudson.dir}/ant.properties"/>
+      </filterset>
+    </copy>
+
+    <!-- Configure Hudson Jobs -->
+    <copyjobs/>
+
+    <echo/>
+    <echo message="*************************************"/>
+    <echo message="* Hudson setup successfully         *"/>
+    <echo message="* ant hudson-start                  *"/>
+    <echo message="*************************************"/>
+    <echo/>
+
+  </target>
+  
+  <target name="hudson-stop" depends="init-hudson" description="Stops the Hudson QA environment">
+    
+    <exec executable="${hudson.tomcat}/bin/catalina.sh" failonerror="true">
+      <arg line="stop"/>
+    </exec>
+
+    <echo/>
+    <echo message="*************************************"/>
+    <echo message="* Hudson stopped successfully       *"/>
+    <echo message="* ant hudson-start                  *"/>
+    <echo message="*************************************"/>
+    <echo/>
+
+  </target>
+  
+  <target name="hudson-start" depends="init-hudson" description="Start the Hudson QA environment">
+    
+    <exec executable="${hudson.tomcat}/bin/catalina.sh" failonerror="true" output="${hudson.target.dir}/hudson.log">
+      <env key="CATALINA_OPTS" value="-Xmx512m -DHUDSON_HOME=${hudson.home} -Djava.awt.headless=true"/>
+      <arg line="start"/>
+    </exec>
+
+    <echo/>
+    <echo message="*************************************"/>
+    <echo message="* Hudson started successfully       *"/>
+    <echo message="* http://localhost:${hudson.http.port}/hudson      *"/>
+    <echo message="*************************************"/>
+    <echo/>
+
+  </target>
+	
+</project>

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/config.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/config.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/config.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,35 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<hudson>
+  <numExecutors>2</numExecutors>
+  <useSecurity>true</useSecurity>
+  <systemMessage>
+    <![CDATA[
+<h2>OSGi QA Environment</h2>
+]]>
+  </systemMessage>
+  <jdks>
+    <jdk>
+      <name>jdk1.5</name>
+      <javaHome>@java.home.jdk15@</javaHome>
+    </jdk>
+    <jdk>
+      <name>jdk1.6</name>
+      <javaHome>@java.home.jdk16@</javaHome>
+    </jdk>
+  </jdks>
+  <clouds/>
+  <slaves/>
+  <quietPeriod>5</quietPeriod>
+  <views>
+    <hudson.model.AllView>
+      <owner class="hudson" reference="../../.."/>
+      <name>All</name>
+    </hudson.model.AllView>
+  </views>
+  <primaryView>All</primaryView>
+  <slaveAgentPort>0</slaveAgentPort>
+  <label></label>
+  <nodeProperties/>
+  <globalNodeProperties/>
+  <disabledAdministrativeMonitors/>
+</hudson>
\ No newline at end of file

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/hudson.tasks.Maven.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/hudson.tasks.Maven.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/hudson.tasks.Maven.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<hudson.tasks.Maven_-DescriptorImpl>
+  <installations>
+    <hudson.tasks.Maven_-MavenInstallation>
+      <name>@hudson.maven.name@</name>
+      <mavenHome>@hudson.maven.path@</mavenHome>
+    </hudson.tasks.Maven_-MavenInstallation>
+  </installations>
+</hudson.tasks.Maven_-DescriptorImpl>
\ No newline at end of file

Added: projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/jobs/osgi.core.tests/config.xml
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/jobs/osgi.core.tests/config.xml	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/hudson/hudson-home/jobs/osgi.core.tests/config.xml	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,49 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+  <actions/>
+  <description></description>
+  <keepDependencies>false</keepDependencies>
+  <properties/>
+  <scm class="hudson.scm.SubversionSCM">
+    <locations>
+      <hudson.scm.SubversionSCM_-ModuleLocation>
+        <remote>@hudson.osgi.url@</remote>
+        <local>org.osgi</local>
+      </hudson.scm.SubversionSCM_-ModuleLocation>
+    </locations>
+    <useUpdate>true</useUpdate>
+  </scm>
+  <assignedNode>master</assignedNode>
+  <canRoam>false</canRoam>
+  <disabled>false</disabled>
+  <jdk>jdk1.6</jdk>
+  <triggers class="vector"/>
+  <builders>
+    <hudson.tasks.Shell>
+      <command>
+OSGIDIR=$WORKSPACE/org.osgi
+TCKDIR=$OSGIDIR/osgi.ct
+
+# Build the TCK
+cd $TCKDIR
+ant clean publish
+
+# Run the core framework tests
+ant osgi.core.tests
+
+# Copy the test reports
+REPORTSDIR=$WORKSPACE/test-reports
+rm -rf $REPORTSDIR; mkdir $REPORTSDIR
+for file in `find $TCKDIR/generated -name TEST-*.xml`; do
+    cp $file $REPORTSDIR
+done
+      </command>
+    </hudson.tasks.Shell>
+  </builders>
+  <publishers>
+    <hudson.tasks.junit.JUnitResultArchiver>
+      <testResults>test-reports/TEST-*.xml</testResults>
+    </hudson.tasks.junit.JUnitResultArchiver>
+  </publishers>
+  <buildWrappers/>
+</project>
\ No newline at end of file

Added: projects/jboss-osgi/projects/osgitck/r4v42/overlay/cnf/build.bnd
===================================================================
--- projects/jboss-osgi/projects/osgitck/r4v42/overlay/cnf/build.bnd	                        (rev 0)
+++ projects/jboss-osgi/projects/osgitck/r4v42/overlay/cnf/build.bnd	2009-10-04 22:07:49 UTC (rev 94322)
@@ -0,0 +1,99 @@
+# Very general
+project.dependson       = ${p-dependson;:}
+project.bootclasspath   = ${p-bootclasspath;:}
+project.buildpath       = ${p-buildpath;:}
+project.sourcepath      = ${p-sourcepath;:}
+project.allsourcepath   = ${p-allsourcepath;:}
+project.output          = ${p-output}
+project.testpath        = ${p-testpath;:}
+project.workspace		= ${workspace}
+project.dir				= ${project}
+
+-verbose				= true
+src                     = src
+bin                     = bin
+target					= ${project}/${target-dir}
+release.target			= ${if;${def;top};${def;top};${target}}
+build					= ${workspace}/cnf
+licensed				= ${workspace}/licensed
+repo					= ${build}/repo
+licensed-repo			= ${licensed}/repo
+target-dir				= generated
+p                       = ${basename;${project}}
+project.name            = ${p}
+bin.includes			= ${project.name}.jar
+prebuild				= 
+
+# Java compiler options
+java 					= java
+javac 					= javac
+javac.debug				= on
+javac.source 			= 1.3
+javac.target 			= 1.2
+
+
+#Bnd options
+-sources               	= true
+-sourcepath             = ${project}/src 
+
+-plugin	            	= aQute.lib.deployer.FileRepo; \
+                                location=${repo}, \
+  						  aQute.lib.deployer.FileRepo; \
+  						        location=${licensed-repo}; \
+  						        readonly=true, \
+  						  aQute.bnd.signing.JartoolSigner; \
+  						        keystore=${build}/keystore; \
+  						        keypass=testtest; \
+  						        storepass=testtest, \
+                          Packaging; \
+                                path:=${build}/${bin}; \
+                                command:=-pack, \
+                          SignatureTest; \
+                                path:=${build}/${bin}; \
+                                command:="-signaturetest"
+
+
+-make                   =  \
+  (*).(jar);                             type=bnd;  recipe="bnd/$1.bnd", \
+  (*).(ipa);                             type=bnd;  recipe="ipa/$1.bnd"
+
+
+junit					= com.springsource.junit;version=3.8;export="junit.framework;version=3.8,junit.extensions;version=3.8"
+
+# Time options
+# base.modified is used by bnd to not make when files are not changed
+base.modified			= ${fmodified;${build}/build.xml,${build}/build.bnd,${project}/build.properties,${project}/bnd.bnd,${project}/build.xml}
+base.modified.readable	= ${long2date;${base.modified}}
+project.build			= ${tstamp;yyyyMMddhhmm}
+
+copyright = Copyright (c) OSGi Alliance (2000, ${tstamp;yyyy}). All Rights Reserved.
+copyright.html = Copyright &copy; OSGi Alliance (2000, ${tstamp;yyyy}). All Rights Reserved.
+
+osgi.release				= 4
+osgi.version				= 4.2.0
+-versionpolicy				= "[${version;==;${@}},${version;+;${@}})"
+
+osgi.release.version		= ${osgi.version}.${project.build}
+core.release.version		= ${osgi.release.version}
+cmpn.release.version		= ${osgi.release.version}
+mobile.release.version		= ${osgi.release.version}
+enterprise.release.version	= ${osgi.release.version}
+proposed.release.version	= ${osgi.release.version}
+
+
+# Documentation
+Bundle-Copyright       	= ${copyright}
+Bundle-Vendor			= OSGi Alliance
+-removeheaders			= Include-Resource, Private-Package
+
+# Define the OSGi vendor framework
+osgi.vendor.framework = org.jboss.osgi.framework
+osgi.vendor.version   = 1.0.0
+
+-runpath							= \
+	${osgi.vendor.framework}; version=${osgi.vendor.version}, \
+	com.springsource.junit; version=3.8;    export="junit.framework;version=3.8"
+
+testcases = ${classes;extending;junit.framework.TestCase|*DefaultTestBundleControl;concrete}
+
+



More information about the jboss-osgi-commits mailing list