summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-01-23 06:08:56 (EST)
committerChristian Campo2008-01-23 06:08:56 (EST)
commit45a4751c32c51b13072b34776cc6b058f0045bc2 (patch)
treee561ff4f7029d12d7ccdb3904a9abd6172d66e49
parent5b73e9af29376170360b3606a8b111e7f4df8aef (diff)
downloadorg.eclipse.riena-45a4751c32c51b13072b34776cc6b058f0045bc2.zip
org.eclipse.riena-45a4751c32c51b13072b34776cc6b058f0045bc2.tar.gz
org.eclipse.riena-45a4751c32c51b13072b34776cc6b058f0045bc2.tar.bz2
initial checkin of feature project that drives the build of riena
-rw-r--r--org.eclipse.riena.build.feature/.project17
-rw-r--r--org.eclipse.riena.build.feature/build.properties1
-rw-r--r--org.eclipse.riena.build.feature/build.xml157
-rw-r--r--org.eclipse.riena.build.feature/feature.xml180
4 files changed, 355 insertions, 0 deletions
diff --git a/org.eclipse.riena.build.feature/.project b/org.eclipse.riena.build.feature/.project
new file mode 100644
index 0000000..aa2e001
--- /dev/null
+++ b/org.eclipse.riena.build.feature/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.riena.build.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
diff --git a/org.eclipse.riena.build.feature/build.properties b/org.eclipse.riena.build.feature/build.properties
new file mode 100644
index 0000000..64f93a9
--- /dev/null
+++ b/org.eclipse.riena.build.feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml
diff --git a/org.eclipse.riena.build.feature/build.xml b/org.eclipse.riena.build.feature/build.xml
new file mode 100644
index 0000000..f43270e
--- /dev/null
+++ b/org.eclipse.riena.build.feature/build.xml
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.eclipse.riena.feature.build" default="build.update.jar" basedir=".">
+
+ <target name="init">
+ <property name="feature.temp.folder" value="${basedir}/feature.temp.folder"/>
+ <property name="feature.destination" value="${basedir}"/>
+ </target>
+
+ <target name="all.plugins" depends="init">
+ <ant antfile="build.xml" dir="../com.caucho.hessian" target="${target}">
+ </ant>
+ <ant antfile="build.xml" dir="../org.eclipse.riena.core" target="${target}">
+ </ant>
+ <ant antfile="build.xml" dir="../org.eclipse.riena.communication.core" target="${target}">
+ </ant>
+ </target>
+ <target name="all.features" depends="init">
+ </target>
+ <target name="update.feature" depends="init">
+ </target>
+
+ <target name="all.children" depends="init,all.features,all.plugins,update.feature">
+ </target>
+
+ <target name="children" if="include.children">
+ <antcall target="all.children"/>
+ </target>
+
+ <target name="build.jars" depends="init" description="Build all the jars for the feature: org.eclipse.riena.feature.build.">
+ <antcall target="all.children">
+ <param name="target" value="build.jars"/>
+ </antcall>
+ </target>
+
+ <target name="build.sources" depends="init">
+ <antcall target="all.children">
+ <param name="target" value="build.sources"/>
+ </antcall>
+ </target>
+
+ <target name="build.zips" depends="init">
+ <antcall target="all.children">
+ <param name="target" value="build.zips"/>
+ </antcall>
+ </target>
+
+ <target name="build.update.jar" depends="init" description="Build the feature jar of: org.eclipse.riena.feature.build for an update site.">
+ <antcall target="all.children">
+ <param name="target" value="build.update.jar"/>
+ </antcall>
+ <property name="feature.base" value="${feature.temp.folder}"/>
+ <delete dir="${feature.temp.folder}"/>
+ <mkdir dir="${feature.temp.folder}"/>
+ <antcall target="gather.bin.parts" inheritAll="false">
+ <param name="arch" value="*"/>
+ <param name="ws" value="*"/>
+ <param name="nl" value="*"/>
+ <param name="os" value="*"/>
+ <param name="feature.base" value="${feature.temp.folder}"/>
+ </antcall>
+ <jar destfile="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.jar" basedir="${feature.temp.folder}/features/org.eclipse.riena.feature.build_0.0.1"/>
+ <delete dir="${feature.temp.folder}"/>
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="feature.base">
+ <mkdir dir="${feature.base}/features/org.eclipse.riena.feature.build_0.0.1"/>
+ <antcall target="children">
+ <param name="destination.temp.folder" value="${feature.base}/plugins"/>
+ <param name="target" value="gather.bin.parts"/>
+ </antcall>
+ <copy todir="${feature.base}/features/org.eclipse.riena.feature.build_0.0.1" failonerror="true" overwrite="false">
+ <fileset dir="${basedir}">
+ <include name="feature.xml"/>
+ </fileset>
+ </copy>
+ <eclipse.idReplacer featureFilePath="${feature.base}/features/org.eclipse.riena.feature.build_0.0.1/feature.xml" selfVersion="0.0.1" featureIds="" pluginIds=""/>
+ <antcall target="rootFiles${os}_${ws}_${arch}"/>
+ </target>
+ <target name="rootFiles*_*_*">
+ </target>
+ <target name="rootFilesgroup_group_group">
+ <antcall target="rootFiles*_*_*"/>
+ </target>
+
+ <target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: org.eclipse.riena.feature.build.">
+ <delete dir="${feature.temp.folder}"/>
+ <mkdir dir="${feature.temp.folder}"/>
+ <antcall target="gather.bin.parts">
+ <param name="arch" value="*"/>
+ <param name="ws" value="*"/>
+ <param name="nl" value="*"/>
+ <param name="include.children" value="true"/>
+ <param name="feature.base" value="${feature.temp.folder}"/>
+ <param name="os" value="*"/>
+ </antcall>
+ <zip destfile="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.bin.dist.zip" basedir="${feature.temp.folder}" filesonly="false" whenempty="skip" update="false"/>
+ <delete dir="${feature.temp.folder}"/>
+ </target>
+
+ <target name="zip.sources" depends="init">
+ <delete dir="${feature.temp.folder}"/>
+ <mkdir dir="${feature.temp.folder}"/>
+ <antcall target="all.children">
+ <param name="destination.temp.folder" value="${feature.temp.folder}/plugins/org.eclipse.riena.feature.build.source_0.0.1/src"/>
+ <param name="include.children" value="true"/>
+ <param name="target" value="gather.sources"/>
+ </antcall>
+ <zip destfile="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.src.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+ <delete dir="${feature.temp.folder}"/>
+ </target>
+
+ <target name="zip.logs" depends="init">
+ <delete dir="${feature.temp.folder}"/>
+ <mkdir dir="${feature.temp.folder}"/>
+ <antcall target="all.children" inheritAll="false">
+ <param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
+ <param name="include.children" value="true"/>
+ <param name="target" value="gather.logs"/>
+ </antcall>
+ <zip destfile="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.log.zip" basedir="${feature.temp.folder}" filesonly="true" whenempty="skip" update="false"/>
+ <delete dir="${feature.temp.folder}"/>
+ </target>
+
+ <target name="clean" depends="init" description="Clean the feature: org.eclipse.riena.feature.build of all the zips, jars and logs created.">
+ <delete file="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.jar"/>
+ <delete file="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.bin.dist.zip"/>
+ <delete file="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.log.zip"/>
+ <delete file="${feature.destination}/org.eclipse.riena.feature.build_0.0.1.src.zip"/>
+ <delete dir="${feature.temp.folder}"/>
+ <antcall target="all.children">
+ <param name="target" value="clean"/>
+ </antcall>
+ </target>
+
+ <target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
+ <eclipse.convertPath fileSystemPath="C:/projekte/riena2/org.eclipse.riena.feature.build/" property="resourcePath"/>
+ <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
+ <antcall target="all.children">
+ <param name="target" value="refresh"/>
+ </antcall>
+ </target>
+ <target name="gather.sources">
+ <antcall target="children">
+ <param name="destination.temp.folder" value="${feature.temp.folder}/plugins/org.eclipse.riena.feature.build.source_0.0.1/src"/>
+ <param name="target" value="gather.sources"/>
+ </antcall>
+ </target>
+
+ <target name="gather.logs" depends="init">
+ <mkdir dir="${feature.temp.folder}"/>
+ <antcall target="all.children" inheritAll="false">
+ <param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
+ <param name="target" value="gather.logs"/>
+ </antcall>
+ </target>
+
+</project>
diff --git a/org.eclipse.riena.build.feature/feature.xml b/org.eclipse.riena.build.feature/feature.xml
new file mode 100644
index 0000000..f041b4c
--- /dev/null
+++ b/org.eclipse.riena.build.feature/feature.xml
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.eclipse.riena.feature.build"
+ label="Riena Feature solely used for build"
+ version="0.0.1">
+
+ <description url="http://www.example.com/description">
+ [Enter Feature Description here.]
+ </description>
+
+ <copyright url="http://www.example.com/copyright">
+ [Enter Copyright Description here.]
+ </copyright>
+
+ <license url="http://www.example.com/license">
+ [Enter License Description here.]
+ </license>
+
+ <plugin
+ id="com.caucho.hessian"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.console"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.discovery"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.factory.hessian"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.publisher"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.publisher.hessian"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.registry"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.sample.pingpong.client"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.sample.pingpong.client.config"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.sample.pingpong.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.communication.sample.pingpong.server"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.exceptionhandler"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.exceptionmanager"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.authenticationservice"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.authorizationservice"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.common.bootpolicy"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.server"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.services.config"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.security.sessionservice"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.riena.tests"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>