Skip to content

Commit

Permalink
copy from svn
Browse files Browse the repository at this point in the history
  • Loading branch information
wilcowijbrandi committed Apr 15, 2014
0 parents commit f31b1d2
Show file tree
Hide file tree
Showing 1,851 changed files with 187,442 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bin/
*.class
.metadata/
generated/
.svn/
6 changes: 6 additions & 0 deletions cnf/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions cnf/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>cnf</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>
327 changes: 327 additions & 0 deletions cnf/agentrepo/index.xml

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
186 changes: 186 additions & 0 deletions cnf/build-template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="template" default="none">

<!--
WARNING!!!
This file is maintained automatically by Bndtools! You should not edit it directly.
Instead, insert overrides into build.xml as follows:
<target name="compile">
<echo message="This task executed before compilation..."/>
<antcall target="template.compile"/>
<echo message="This task executed AFTER compilation."/>
</target>
-->

<!--
INIT
The target is a dependent of all other targets.
It's purpose is to set up the environment only once
and avoid it being repeatedly done for each antcall.
-->

<target name="init" unless="initialized">
<!-- Initialise some basic properties -->
<tstamp>
<format property="NOW" pattern="yyyyMMdd-HHmmss" timezone="UTC"/>
</tstamp>
<dirname property="projectdir" file="${ant.file}" />
<dirname property="workspacedir" file="${projectdir}" />

<!-- Define the location of bnd -->
<path id="bnd-classpath" location="${workspacedir}/cnf/plugins/biz.aQute.bnd/biz.aQute.bnd-2.0.0.jar" />

<!-- Load bnd and prepare the workspace -->
<taskdef resource="aQute/bnd/ant/taskdef.properties" classpathref="bnd-classpath" />
<bndprepare basedir="${projectdir}" print="false" top="${release.dir}" />

<condition property="testDirExists">
<available file="${basedir}/test" type="dir"/>
</condition>

<!-- Create a marker property to indicate that initialisation has been completed -->
<property name="initialized" value="set" />
<echo message="Enter project ${project.name}"/>
</target>

<!--
DEPENDENCIES
Build project dependencies.
-->
<target name="dependencies" depends="init" if="project.dependson" unless="donotrecurse">
<subant target="build" inheritAll="false" buildpath="${project.dependson}">
<property name="donotrecurse" value="true" />
</subant>
</target>

<!--
Test
-->
<target name="test" depends="compile">
<bndtest/>
</target>

<!--
COMPILE
Compile the sources.
-->
<target name="compile" depends="dependencies" if="project.sourcepath">
<mkdir dir="${project.output}"/>
<javac fork="yes" executable="${javac}" srcdir="${project.sourcepath}" destdir="${project.output}" classpath="${project.buildpath}" bootclasspath="${project.bootclasspath}" deprecation="true" listfiles="true" target="${javac.target}" source="${javac.source}" debug="${javac.debug}" includeAntRuntime="no" verbose="${verbose}" />
<copy todir="${project.output}" verbose="${verbose}" preservelastmodified="true">
<fileset dir="${project.sourcepath}">
<exclude name="**/*.java" />
<exclude name="**/*.class" />
</fileset>
</copy>
</target>

<!--
JARS
Iterate of the jars to build.
-->
<target name="build" depends="compile">
<mkdir dir="${target}"/>
<bnd command="build" exceptions="true" basedir="${project}" />
</target>

<target name="release" depends="build">
<subant target="release" inheritAll="false" buildpath="${project.dependson}">
<property name="donotrecurse" value="true" />
</subant>
<bndrelease/>
</target>

<!--
JUNIT
-->
<target name="compileTests" depends="init,build" if="testDirExists">
<mkdir dir="bin_test"/>
<javac fork="yes" executable="${javac}" srcdir="test" destdir="bin_test" classpath="${project.buildpath}:${project.testpath}" bootclasspath="${project.bootclasspath}" deprecation="true" listfiles="true" target="${javac.target}" source="${javac.source}" debug="${javac.debug}" includeAntRuntime="no" verbose="${verbose}" />
<!--
The eclipse compiler copies resources but the Javac compiler does not
If ${src} == ${bin} then this is not necessary, but unfortunately, now
it is.
-->
<copy todir="bin_test" verbose="${verbose}" preservelastmodified="true">
<fileset dir="test">
<exclude name="**/*.java" />
<exclude name="**/*.class" />
</fileset>
</copy>
</target>

<target name="junit" depends="init,compileTests" if="testDirExists">
<junit showoutput="false" printsummary="true" failureproperty='stop' errorproperty='stop' fork="true" dir="${basedir}">
<classpath path="${project.buildpath}:bin_test/" />
<formatter type="xml"/>
<batchtest todir="${target}">
<fileset dir="test">
<include name="**/*.java"/>
</fileset>
</batchtest>
</junit>
</target>

<!--
CLEAN
-->
<target name="deepclean" depends="init,clean" if="project.dependson">
<subant target="clean" inheritAll="false" buildpath="${project.dependson}" />
</target>

<target name="clean" depends="init">
<bnd command="clean" exceptions="true" basedir="${project}" />
<delete dir="bin"/>
<delete dir="bin_test"/>
<delete dir="${target}"/>
</target>

<!--
ECHO
-->
<target name="echo" depends="init">
<echo>verbose: ${verbose}</echo>
<echo>project.name: ${project.name}</echo>
<echo>Bundle-Version: ${Bundle-Version}</echo>
<echo>project.output: ${project.output}</echo>
<echo>project.sourcepath: ${project.sourcepath}</echo>
<echo>project.allsourcepath: ${project.allsourcepath}</echo>
<echo>project.buildpath: ${project.buildpath}</echo>
<echo>project.testpath: ${project.testpath}</echo>
<echo>project.dependson: ${project.dependson}</echo>
<echo>project.bootclasspath: ${project.bootclasspath}</echo>
<echo>javac: ${javac}</echo>
<echo>javac.debug: ${javac.debug}</echo>
<echo>javac.source: ${javac.source}</echo>
<echo>javac.target: ${javac.target}</echo>
<echo>p: ${p}</echo>
<echo>btool.manifestVersion: ${btool.manifestVersion}</echo>
<echo>btool.analyse: ${btool.analyse}</echo>
<echo>btool.showmanifest: ${btool.showmanifest}</echo>
<echo>btool.noversion: ${btool.noversion}</echo>
<echo>btool.sources: ${btool.sources}</echo>
<echo>btool.noextraheaders: ${btool.noextraheaders}</echo>
<echo>jars.compile.order: ${jars.compile.order}</echo>
<echo>bin.includes: ${bin.includes}</echo>
<echo>base.modfied: ${base.modified} (${base.modified.readable})</echo>
<echo>target: ${target}</echo>
<echo>release.target: ${release.target}</echo>
<echo>licensed repo: ${licensed-repo}</echo>
<echo>repo: ${repo}</echo>
<echo>use.bnd: ${use.bnd}</echo>
<echo>nodeploy: ${nodeploy}</echo>
<echo>-dependson: ${-dependson}</echo>

</target>

<!--
Default Target
-->
<target name="none">
<fail message="This ant script should never be directly called." />
</target>

</project>
16 changes: 16 additions & 0 deletions cnf/build.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Place your specific settings here.


## Default settings are in ext/*.bnd and they will be overridden by anything
## you specify in this file.


## Properties from ext/*.bnd can be referenced in order to extend them.
## For example, to add one addtional plugin to the list defined in ext/repositories.bnd:
# -plugin: ${ext.repositories.-plugin}, org.example.MyPlugin


## If you use git, you might want to uncomment the following lines:
# Git-Descriptor: ${system-allow-fail;git describe --dirty --always}
# Git-SHA: ${system-allow-fail;git rev-list -1 HEAD}

25 changes: 25 additions & 0 deletions cnf/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="master" default="none">

<import file="build-template.xml"/>

<!--
Use this file to provide your workspace-specific tasks. Several examples follow.
1. To execute tasks before/after compilation:
<target name="compile">
<echo message="This task executed before compilation..."/>
<antcall target="template.compile"/>
<echo message="This task executed AFTER compilation."/>
</target>
2. Insert a build target:
<target name="build" dependencies="template.build, findbugs"/>
<target name="findbugs">
...
</target>
-->

</project>
6 changes: 6 additions & 0 deletions cnf/buildrepo/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
WARNING
=======

This directory contains JAR file dependencies that are intended ONLY FOR BUILT-TIME usage.
None are intended to be deployed as bundles into a running OSGi Framework, and indeed they may cause
unexpected errors if they are used at runtime.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added cnf/buildrepo/ee.minimum/ee.minimum-1.2.0.jar
Binary file not shown.
Binary file added cnf/buildrepo/junit.osgi/junit.osgi-3.8.2.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added cnf/buildrepo/osgi.core/osgi.core-4.0.1.jar
Binary file not shown.
Binary file added cnf/buildrepo/osgi.core/osgi.core-4.1.0.jar
Binary file not shown.
Binary file added cnf/buildrepo/osgi.core/osgi.core-4.2.0.jar
Binary file not shown.
Binary file added cnf/buildrepo/osgi.core/osgi.core-4.3.0.jar
Binary file not shown.
Binary file added cnf/buildrepo/osgi.core/osgi.core-5.0.0.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit f31b1d2

Please sign in to comment.