[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r408 - in /projects/zb4osgi/sandbox/howlab/rxtx: ./ lib/ lib/lib/ lib/lib/rxtx/ lib/libext/ lib/libext/rxtx/ lib/libext/rxtx/Linux/ lib/libext/rxtx/Linux/arm-unknown-linux-gnu/ lib/libext/rxtx/Linux/i686-unknown-linux-gnu/ lib/libext/rxtx/Linux/x86_64-unknown-linux-gnu/ lib/libext/rxtx/Windows/ lib/libext/rxtx/Windows/win32/ lib/libext/rxtx/Windows/win64/ src/ src/main/ src/main/assembly/ src/main/java/ src/main/resources/ src/main/resources/META-INF/ src/main/resources/es/ src/main/resources/es/unizar/ src/main/resources/es/unizar/howlab/ src/main/resources/es/unizar/howlab/rxtxcomm/ src/test/ src/test/java/ src/test/java/es/ src/test/java/es/unizar/ src/test/java/es/unizar/howlab/ src/test/java/es/unizar/howlab/rxtxcomm/
scm-notify at zb4osgi.aaloa.org
scm-notify at zb4osgi.aaloa.org
Thu Feb 2 13:18:59 CET 2012
Author: alvaro.marco
Date: Thu Feb 2 13:18:59 2012
New Revision: 408
Log:
howlab import
Added:
projects/zb4osgi/sandbox/howlab/rxtx/
projects/zb4osgi/sandbox/howlab/rxtx/lib/
projects/zb4osgi/sandbox/howlab/rxtx/lib/lib/
projects/zb4osgi/sandbox/howlab/rxtx/lib/lib/rxtx/
projects/zb4osgi/sandbox/howlab/rxtx/lib/lib/rxtx/RXTXcomm.jar (with props)
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/arm-unknown-linux-gnu/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/arm-unknown-linux-gnu/librxtxSerial.so (with props)
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/i686-unknown-linux-gnu/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/i686-unknown-linux-gnu/librxtxSerial.so (with props)
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/x86_64-unknown-linux-gnu/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/x86_64-unknown-linux-gnu/librxtxSerial.so (with props)
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win32/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win32/rxtxSerial.dll (with props)
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win64/
projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win64/rxtxSerial.dll (with props)
projects/zb4osgi/sandbox/howlab/rxtx/nbactions.xml
projects/zb4osgi/sandbox/howlab/rxtx/pom.xml
projects/zb4osgi/sandbox/howlab/rxtx/src/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/assembly/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/assembly/felix.xml
projects/zb4osgi/sandbox/howlab/rxtx/src/main/java/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/META-INF/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/META-INF/MANIFEST.MF
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/es/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/es/unizar/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/es/unizar/howlab/
projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/es/unizar/howlab/rxtxcomm/
projects/zb4osgi/sandbox/howlab/rxtx/src/test/
projects/zb4osgi/sandbox/howlab/rxtx/src/test/java/
projects/zb4osgi/sandbox/howlab/rxtx/src/test/java/es/
projects/zb4osgi/sandbox/howlab/rxtx/src/test/java/es/unizar/
projects/zb4osgi/sandbox/howlab/rxtx/src/test/java/es/unizar/howlab/
projects/zb4osgi/sandbox/howlab/rxtx/src/test/java/es/unizar/howlab/rxtxcomm/
Added: projects/zb4osgi/sandbox/howlab/rxtx/lib/lib/rxtx/RXTXcomm.jar
==============================================================================
Binary file - no diff available.
Propchange: projects/zb4osgi/sandbox/howlab/rxtx/lib/lib/rxtx/RXTXcomm.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/arm-unknown-linux-gnu/librxtxSerial.so
==============================================================================
Binary file - no diff available.
Propchange: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/arm-unknown-linux-gnu/librxtxSerial.so
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/i686-unknown-linux-gnu/librxtxSerial.so
==============================================================================
Binary file - no diff available.
Propchange: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/i686-unknown-linux-gnu/librxtxSerial.so
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/x86_64-unknown-linux-gnu/librxtxSerial.so
==============================================================================
Binary file - no diff available.
Propchange: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Linux/x86_64-unknown-linux-gnu/librxtxSerial.so
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win32/rxtxSerial.dll
==============================================================================
Binary file - no diff available.
Propchange: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win32/rxtxSerial.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win64/rxtxSerial.dll
==============================================================================
Binary file - no diff available.
Propchange: projects/zb4osgi/sandbox/howlab/rxtx/lib/libext/rxtx/Windows/win64/rxtxSerial.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: projects/zb4osgi/sandbox/howlab/rxtx/nbactions.xml
==============================================================================
--- projects/zb4osgi/sandbox/howlab/rxtx/nbactions.xml (added)
+++ projects/zb4osgi/sandbox/howlab/rxtx/nbactions.xml Thu Feb 2 13:18:59 2012
@@ -1,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<actions>
+ <action>
+ <actionName>run</actionName>
+ <goals>
+ <goal>package</goal>
+ <goal>antrun:run</goal>
+ </goals>
+ <activatedProfiles>
+ <activatedProfile>run-on-felix</activatedProfile>
+ </activatedProfiles>
+ </action>
+ <action>
+ <actionName>debug</actionName>
+ <goals>
+ <goal>package</goal>
+ <goal>antrun:run</goal>
+ </goals>
+ <properties>
+ <vm.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}</vm.args>
+ <jpda.listen>true</jpda.listen>
+ </properties>
+ <activatedProfiles>
+ <activatedProfile>run-on-felix</activatedProfile>
+ </activatedProfiles>
+ </action>
+ <action>
+ <actionName>profile</actionName>
+ <goals>
+ <goal>package</goal>
+ <goal>antrun:run</goal>
+ </goals>
+ <properties>
+ <vm.args>${profiler.args}</vm.args>
+ <!-- XXX <java jvm="${profiler.java}" ...> -->
+ <profiler.action>profile</profiler.action>
+ </properties>
+ <activatedProfiles>
+ <activatedProfile>run-on-felix</activatedProfile>
+ </activatedProfiles>
+ </action>
+</actions>
Added: projects/zb4osgi/sandbox/howlab/rxtx/pom.xml
==============================================================================
--- projects/zb4osgi/sandbox/howlab/rxtx/pom.xml (added)
+++ projects/zb4osgi/sandbox/howlab/rxtx/pom.xml Thu Feb 2 13:18:59 2012
@@ -1,0 +1,223 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>es.unizar.howlab.thirdparty</groupId>
+ <artifactId>rxtx-lib</artifactId>
+ <version>1.2-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+
+ <name>rxtx-lib OSGi Bundle</name>
+ <scm>
+ <developerConnection>scm:svn:https://web.hermes.cps.unizar.es/repos/howlab/Software/Thirdparty/gnu/io/rxtx-lib/trunk</developerConnection>
+ </scm>
+ <distributionManagement>
+ <repository>
+ <uniqueVersion>false</uniqueVersion>
+ <id>repo_nas_rel</id>
+ <url>ftp://howlab.dyndns.org/repo/software/releases/</url>
+ <layout>default</layout>
+ </repository>
+ <snapshotRepository>
+ <uniqueVersion>false</uniqueVersion>
+ <id>repo_nas_snap</id>
+ <url>ftp://howlab.dyndns.org/repo/software/snapshots</url>
+ <layout>default</layout>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>1.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.rxtx</groupId>
+ <artifactId>rxtx</artifactId>
+ <version>2.1.7</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins> <!--
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin> -->
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.3.4</version>
+ <extensions>true</extensions>
+ <configuration>
+ <manifestLocation />
+ <instructions>
+ <Include-Resource>lib</Include-Resource>
+ <Export-Package>gnu.io</Export-Package>
+ <Bundle-NativeCode> libext/rxtx/Linux/arm-unknown-linux-gnu/librxtxSerial.so; osname=Linux; processor=arm,
+ libext/rxtx/Linux/i686-unknown-linux-gnu/librxtxSerial.so; osname=Linux; processor=x86,
+ libext/rxtx/Linux/x86_64-unknown-linux-gnu/librxtxSerial.so; osname=Linux; processor=x86-64,
+ libext/rxtx/Windows/win32/rxtxSerial.dll; osname=WindowsXP ; osname=Windows XP ; osname=WinXP ; osname=WindowsVista ; osname=Windows Vista ; osname=Windows2003 ; osname=Windows 7 ; osname=Win32; processor=x86 ,
+ libext/rxtx/Windows/win64/rxtxSerial.dll; osname=WindowsXP ; osname=Windows XP ; osname=WinXP ; osname=WindowsVista ; osname=Windows Vista ; osname=Windows2003 ; osname=Windows 7 ; osname=Win32 ; processor=amd64
+ </Bundle-NativeCode>
+ <!--<Bundle-Classpath> .,lib/rxtx/RXTXcomm.jar</Bundle-Classpath>-->
+ </instructions>
+ </configuration>
+ </plugin>
+ <!-- Añadir pluggin maven-release-plugin -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.2.1</version>
+ </plugin>
+ </plugins>
+
+ <!-- Añadir extensiones wagon para que se pueda acceder al respositorio de distribucion por ftp -->
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ftp</artifactId>
+ <version>1.0</version>
+ </extension>
+ </extensions>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>build-for-felix</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.main</artifactId>
+ <version>3.0.7</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- To include a shell:
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.gogo.shell</artifactId>
+ <version>0.6.1</version>
+ </dependency>
+ -->
+ <!--<dependency>
+ <groupId>org.rxtx</groupId>
+ <artifactId>rxtx</artifactId>
+ <version>2.1.7</version>
+ </dependency>-->
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>compile</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <pathconvert property="plugins.jars" pathsep="${path.separator}">
+ <path refid="maven.runtime.classpath" />
+ <map from="${project.build.directory}${file.separator}classes" to="" />
+ </pathconvert>
+ <pathconvert pathsep=" " property="bundles">
+ <path path="${plugins.jars}" />
+ <mapper>
+ <chainedmapper>
+ <flattenmapper />
+ <globmapper from="*" to="file:modules/*" casesensitive="no" />
+ </chainedmapper>
+ </mapper>
+ </pathconvert>
+ <propertyfile file="${project.build.directory}/config.properties">
+ <entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" />
+ <entry key="org.osgi.framework.bootdelegation" value="*" />
+ </propertyfile>
+ <copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" />
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>create-executable-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
+ </descriptors>
+ <finalName>${project.build.finalName}</finalName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>run-on-felix</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.main</artifactId>
+ <version>3.0.7</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed -->
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <configuration>
+ <target>
+ <property name="vm.args" value="" />
+ <pathconvert property="plugins.jars" pathsep="${path.separator}">
+ <path refid="maven.runtime.classpath" />
+ <map from="${project.build.directory}${file.separator}classes" to="" />
+ </pathconvert>
+ <makeurl property="urls" separator=" ">
+ <path path="${plugins.jars}" />
+ <path location="${project.build.directory}/${project.build.finalName}.jar" />
+ </makeurl>
+ <propertyfile file="${project.build.directory}/run.properties">
+ <entry key="felix.auto.start" value="${urls}" />
+ <entry key="felix.auto.deploy.action" value="uninstall,install,update,start" />
+ <entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" />
+ <entry key="org.osgi.framework.bootdelegation" value="*" />
+ </propertyfile>
+ <makeurl property="run.properties.url" file="${project.build.directory}/run.properties" />
+ <java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}">
+ <sysproperty key="felix.config.properties" value="${run.properties.url}" />
+ <jvmarg line="${vm.args}" />
+ </java>
+ </target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
Added: projects/zb4osgi/sandbox/howlab/rxtx/src/main/assembly/felix.xml
==============================================================================
--- projects/zb4osgi/sandbox/howlab/rxtx/src/main/assembly/felix.xml (added)
+++ projects/zb4osgi/sandbox/howlab/rxtx/src/main/assembly/felix.xml Thu Feb 2 13:18:59 2012
@@ -1,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>all</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>modules</outputDirectory>
+ <excludes>
+ <exclude>org.apache.felix:org.apache.felix.main</exclude>
+ </excludes>
+ </dependencySet>
+ </dependencySets>
+ <files>
+ <file>
+ <source>${project.build.directory}/${project.build.finalName}.jar</source>
+ <outputDirectory>modules</outputDirectory>
+ </file>
+ <file>
+ <source>${project.build.directory}/felix.jar</source>
+ <outputDirectory>bin</outputDirectory>
+ </file>
+ <file>
+ <source>${project.build.directory}/config.properties</source>
+ <outputDirectory>conf</outputDirectory>
+ </file>
+ </files>
+</assembly>
Added: projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/META-INF/MANIFEST.MF
==============================================================================
--- projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/META-INF/MANIFEST.MF (added)
+++ projects/zb4osgi/sandbox/howlab/rxtx/src/main/resources/META-INF/MANIFEST.MF Thu Feb 2 13:18:59 2012
@@ -1,0 +1,5 @@
+Bundle-NativeCode: libext/rxtx/Linux/i686-unknown-linux-gnu/librxtxSerial.so; osname=Linux; processor=x86,
+ libext/rxtx/Linux/x86_64-unknown-linux-gnu/librxtxSerial.so; osname=Linux; processor=x86-64,
+ libext/rxtx/Windows/win32/rxtxSerial.dll; osname=WindowsXP ; osname=Windows XP ; osname=WinXP ; osname=WindowsVista ; osname=Windows Vista ; osname=Windows2003 ; osname=Windows 7 ; osname=Win32; processor=x86 ,
+ libext/rxtx/Windows/win64/rxtxSerial.dll; osname=WindowsXP ; osname=Windows XP ; osname=WinXP ; osname=WindowsVista ; osname=Windows Vista ; osname=Windows2003 ; osname=Windows 7 ; osname=Win32 ; processor=amd64
+Bundle-Classpath: .,lib/rxtx/RXTXcomm.jar
More information about the Commit
mailing list