incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1161120 - in /sling/trunk: ./ bundles/extensions/framework-extension-activation/ launchpad/builder/src/main/bundles/
Date Wed, 24 Aug 2011 14:28:13 GMT
Author: bdelacretaz
Date: Wed Aug 24 14:28:12 2011
New Revision: 1161120

URL: http://svn.apache.org/viewvc?rev=1161120&view=rev
Log:
SLING-2109 - fragment bundle that causes javax.activation to be exported. Contributed by Stefan
Seifert, thanks!

Added:
    sling/trunk/bundles/extensions/framework-extension-activation/   (with props)
    sling/trunk/bundles/extensions/framework-extension-activation/README.txt   (with props)
    sling/trunk/bundles/extensions/framework-extension-activation/pom.xml   (with props)
Modified:
    sling/trunk/launchpad/builder/src/main/bundles/list.xml
    sling/trunk/pom.xml

Propchange: sling/trunk/bundles/extensions/framework-extension-activation/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Aug 24 14:28:12 2011
@@ -0,0 +1,13 @@
+target
+bin
+*.iml
+*.ipr
+*.iws
+.settings
+.project
+.classpath
+.externalToolBuilders
+maven-eclipse.xml
+
+
+

Added: sling/trunk/bundles/extensions/framework-extension-activation/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/framework-extension-activation/README.txt?rev=1161120&view=auto
==============================================================================
--- sling/trunk/bundles/extensions/framework-extension-activation/README.txt (added)
+++ sling/trunk/bundles/extensions/framework-extension-activation/README.txt Wed Aug 24 14:28:12
2011
@@ -0,0 +1,29 @@
+Apache Sling System Bundle Extension: Activation API
+
+Adds the Activation API package to the system bundle exports. The list of packages
+is derived from the packages available in the Java 6 platform. To use more
+recent Activation API either modify this bundle to also export those package from
+the platform or install respective API bundles.
+
+Getting Started
+===============
+
+This component uses a Maven 2 (http://maven.apache.org/) build
+environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
+2.2.1 or later. We recommend to use the latest Maven version.
+
+If you have Maven 2 installed, you can compile and
+package the jar using the following command:
+
+    mvn package
+
+See the Maven 2 documentation for other build features.
+
+The latest source code for this component is available in the
+Subversion (http://subversion.tigris.org/) source repository of
+the Apache Software Foundation. If you have Subversion installed,
+you can checkout the latest source using the following command:
+
+    svn checkout https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/framework-extension-activation
+
+See the Subversion documentation for other source control features.

Propchange: sling/trunk/bundles/extensions/framework-extension-activation/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: sling/trunk/bundles/extensions/framework-extension-activation/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/framework-extension-activation/pom.xml?rev=1161120&view=auto
==============================================================================
--- sling/trunk/bundles/extensions/framework-extension-activation/pom.xml (added)
+++ sling/trunk/bundles/extensions/framework-extension-activation/pom.xml Wed Aug 24 14:28:12
2011
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>11</version>
+        <relativePath>../../../parent/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>org.apache.sling.fragment.activation</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+
+    <name>Apache Sling System Bundle Extension: Activation API</name>
+    <description>
+        Adds the Activation API package to the system bundle exports.
+        The list of packages is derived from the packages available
+        in the Java 6 platform. To use more recent Activation API either
+        modify this bundle to also export those package from the
+        platform or install respective API bundles.
+    </description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <instructions>
+                        <Fragment-Host>
+                            system.bundle;extension:=framework
+                        </Fragment-Host>
+                    </instructions>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <forceCreation>true</forceCreation>
+                    <archive>
+                        <manifestFile>
+                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
+                        </manifestFile>
+                        <manifestEntries>
+                            <Export-Package>
+                                javax.activation
+                            </Export-Package>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: sling/trunk/bundles/extensions/framework-extension-activation/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: sling/trunk/launchpad/builder/src/main/bundles/list.xml
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/builder/src/main/bundles/list.xml?rev=1161120&r1=1161119&r2=1161120&view=diff
==============================================================================
--- sling/trunk/launchpad/builder/src/main/bundles/list.xml (original)
+++ sling/trunk/launchpad/builder/src/main/bundles/list.xml Wed Aug 24 14:28:12 2011
@@ -252,6 +252,11 @@
             <artifactId>org.apache.sling.fragment.transaction</artifactId>
             <version>0.0.1-SNAPSHOT</version>
         </bundle>
+        <bundle>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.fragment.activation</artifactId>
+            <version>0.0.1-SNAPSHOT</version>
+        </bundle>
     </startLevel>
     <startLevel level="5">
         <bundle>

Modified: sling/trunk/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/pom.xml?rev=1161120&r1=1161119&r2=1161120&view=diff
==============================================================================
--- sling/trunk/pom.xml (original)
+++ sling/trunk/pom.xml Wed Aug 24 14:28:12 2011
@@ -98,8 +98,11 @@
 
         <!-- The Sling API -->
         <module>bundles/api</module>
+
+        <!-- extension fragment bundles -->
         <module>bundles/extensions/framework-extension-transaction</module>
         <module>bundles/extensions/framework-extension-xml</module>
+        <module>bundles/extensions/framework-extension-activation</module>
 
         <!-- The commons sub project -->
         <module>bundles/commons/classloader</module>



Mime
View raw message