You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by go...@apache.org on 2012/04/09 11:00:57 UTC
svn commit: r1311168 - in
/directory/shared/branches/shared-osgi/ipojo-manager:
DebuggingTarget.target buildSupport/ buildSupport/build.xml
buildSupport/bundles/ pom.xml
Author: gokturk
Date: Mon Apr 9 09:00:57 2012
New Revision: 1311168
URL: http://svn.apache.org/viewvc?rev=1311168&view=rev
Log:
*IPojo Ant external builder support is added to shared-ipojo-manager.
*For debigging inside Eclipse, new target file is created. Target file is aiming shared-ipojo-manager's buildConfiguration/bundle directory which will be populated by shared-ipojo-manager's POM.
Added:
directory/shared/branches/shared-osgi/ipojo-manager/DebuggingTarget.target
directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/
directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/build.xml (with props)
directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/bundles/
Modified:
directory/shared/branches/shared-osgi/ipojo-manager/pom.xml
Added: directory/shared/branches/shared-osgi/ipojo-manager/DebuggingTarget.target
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-osgi/ipojo-manager/DebuggingTarget.target?rev=1311168&view=auto
==============================================================================
--- directory/shared/branches/shared-osgi/ipojo-manager/DebuggingTarget.target (added)
+++ directory/shared/branches/shared-osgi/ipojo-manager/DebuggingTarget.target Mon Apr 9 09:00:57 2012
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.6"?>
+
+<target name="Running Platform" sequenceNumber="13">
+<locations>
+<location path="${eclipse_home}" type="Profile"/>
+<location path="${workspace_loc:shared-ipojo-manager/buildSupport/bundles}" type="Directory"/>
+</locations>
+<launcherArgs>
+<vmArgs>-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m</vmArgs>
+</launcherArgs>
+</target>
Added: directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/build.xml
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/build.xml?rev=1311168&view=auto
==============================================================================
--- directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/build.xml (added)
+++ directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/build.xml Mon Apr 9 09:00:57 2012
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+
+<project name="My iPOJO Bundle" default="package" basedir=".">
+
+ <property name="lib.dir" value="lib"/>
+ <property name="output.." value="target/classes"/>
+ <property name="input.." value="src/main/java"/>
+
+ <!-- Load Eclipse properties -->
+ <property file="${workspace_loc:holder/build.properties}"/>
+
+ <taskdef name="ipojo" classpath="lib/org.apache.felix.ipojo.ant-1.8.0.jar"
+ classname="org.apache.felix.ipojo.task.IPojoTask"/>
+
+ <target name="clean">
+ <delete dir="${output..}/org"/>
+ </target>
+
+
+ <target name="compile" depends="clean">
+ <mkdir dir="${output..}"/>
+
+ <javac srcdir="${source..}"
+ destdir="${output..}"
+ debug="on"
+ >
+ <classpath>
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ </classpath>
+
+ </javac>
+
+ </target>
+
+ <target name="package">
+ <jar file="${bundle.name}"
+ manifest="META-INF/MANIFEST.MF"
+ >
+ <fileset dir="${output..}"/>
+ </jar>
+
+ <ipojo
+ input="${bundle.name}"
+
+ />
+ </target>
+
+
+ <target name="manipulate">
+ <ipojo
+ dir="${output..}"
+ manifest="META-INF/MANIFEST.MF"
+ />
+ </target>
+
+
+</project>
Propchange: directory/shared/branches/shared-osgi/ipojo-manager/buildSupport/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: directory/shared/branches/shared-osgi/ipojo-manager/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-osgi/ipojo-manager/pom.xml?rev=1311168&r1=1311167&r2=1311168&view=diff
==============================================================================
--- directory/shared/branches/shared-osgi/ipojo-manager/pom.xml (original)
+++ directory/shared/branches/shared-osgi/ipojo-manager/pom.xml Mon Apr 9 09:00:57 2012
@@ -88,6 +88,72 @@
</execution>
</executions>
</plugin>
+
+ <!-- For ipojo builder generation -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.ipojo.ant</artifactId>
+ <version>1.8.0</version>
+ <overWrite>true</overWrite>
+ <outputDirectory>buildSupport/bundles</outputDirectory>
+ <destFileName>ipojo-ant.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.ipojo</artifactId>
+ <version>1.8.0</version>
+ <overWrite>true</overWrite>
+ <outputDirectory>buildSupport/bundles</outputDirectory>
+ <destFileName>ipojo.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.shell</artifactId>
+ <version>0.10.0</version>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.command</artifactId>
+ <version>0.12.0</version>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.runtime</artifactId>
+ <version>0.10.0</version>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.ipojo.arch.gogo</artifactId>
+ <version>1.0.1</version>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.ipojo.annotations</artifactId>
+ <version>1.8.0</version>
+ <overWrite>true</overWrite>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>buildSupport/bundles</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>