You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:51:50 UTC

[sling-org-apache-sling-launchpad-api] annotated tag org.apache.sling.launchpad.api-1.0.0 created (now 350e807)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git.


      at 350e807  (tag)
 tagging 3ba89c71d3e9278983fe66bc55305312cee78dee (commit)
      by Justin Edelson
      on Tue Feb 15 01:45:09 2011 +0000

- Log -----------------------------------------------------------------
org.apache.sling.launchpad.api-1.0.0
-----------------------------------------------------------------------

This annotated tag includes the following new commits:

     new 446cf80  SLING-1597 - adding config installation via launchpad
     new 80d162e  SLING-1900 - use org.apache.sling.installer.core instead of obsolete org.apache.sling.osgi.installer
     new d707a20  [maven-release-plugin] prepare release org.apache.sling.launchpad.api-1.0.0
     new f7b2ed9  [maven-release-plugin] rollback the release of org.apache.sling.launchpad.api-1.0.0
     new 678931f  adding scm info
     new ae2c74b  [maven-release-plugin] prepare release org.apache.sling.launchpad.api-1.0.0
     new 3ba89c7  [maven-scm] copy for tag org.apache.sling.launchpad.api-1.0.0

The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].

[sling-org-apache-sling-launchpad-api] 01/07: SLING-1597 - adding config installation via launchpad

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit 446cf80a3bf7cae889d91aac14135ea11e21ca9f
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Mon Dec 20 16:15:25 2010 +0000

    SLING-1597 - adding config installation via launchpad
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1051167 13f79535-47bb-0310-9956-ffa450edef68
---
 README.txt                                         | 29 +++++++++++++
 pom.xml                                            | 47 ++++++++++++++++++++++
 .../launchpad/api/LaunchpadContentProvider.java    | 46 +++++++++++++++++++++
 3 files changed, 122 insertions(+)

diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..de815a8
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,29 @@
+Apache Sling Launchpad API
+
+This module contains the API exposed by the Launchpad to bundles within the embedded framework.
+It is not intended to be installed as a bundle into an OSGi framework; merely used as a dependency
+for bundles where access to the Launchpad environment is necessary.
+
+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.0.7 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 http://svn.apache.org/repos/asf/sling/trunk/launchpad/api
+
+See the Subversion documentation for other source control features.
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..4ea3d70
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,47 @@
+<?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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>sling</artifactId>
+        <version>9</version>
+        <relativePath>../../parent/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>org.apache.sling.launchpad.api</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache Sling Launchpad API</name>
+
+    <description>
+        This module contains the API exposed by Launchpad to bundles.
+    </description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Export-Package>org.apache.sling.launchpad.api;version=1.0.0</Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
\ No newline at end of file
diff --git a/src/main/java/org/apache/sling/launchpad/api/LaunchpadContentProvider.java b/src/main/java/org/apache/sling/launchpad/api/LaunchpadContentProvider.java
new file mode 100644
index 0000000..59f4ed6
--- /dev/null
+++ b/src/main/java/org/apache/sling/launchpad/api/LaunchpadContentProvider.java
@@ -0,0 +1,46 @@
+/*
+ * 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.
+ */
+package org.apache.sling.launchpad.api;
+
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Iterator;
+
+/**
+ * The <code>ResourceProvider</code> defines a simple API to access resources
+ * from the environment depending on how Sling is launched.
+ */
+public interface LaunchpadContentProvider {
+    
+    /**
+     * Returns an iterator of paths strings of the children of the given folder
+     * defined by its path.
+     */
+    Iterator<String> getChildren(String path);
+
+    /**
+     * Returns an URL to the resource with the given path or <code>null</code>
+     * if no such resource exists.
+     */
+    URL getResource(String path);
+
+    /**
+     * Returns an <code>InputStream</code> to the resource given by the path
+     * or <code>null</code> if no such resource exists.
+     */
+    InputStream getResourceAsStream(String path);
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-launchpad-api] 04/07: [maven-release-plugin] rollback the release of org.apache.sling.launchpad.api-1.0.0

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit f7b2ed9746d509374e6b74e4c14e121ea6fd471a
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Feb 15 01:41:38 2011 +0000

    [maven-release-plugin] rollback the release of org.apache.sling.launchpad.api-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1070730 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6feb02d..4ea3d70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,8 @@
     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/xsd/maven-4.0.0.xsd">
+<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>
 
     <parent>
@@ -21,7 +22,7 @@
     </parent>
 
     <artifactId>org.apache.sling.launchpad.api</artifactId>
-    <version>1.0.0</version>
+    <version>0.0.1-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Launchpad API</name>
 
@@ -43,10 +44,4 @@
             </plugin>
         </plugins>
     </build>
-
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0</developerConnection>
-    <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.launchpad.api-1.0.0</url>
-  </scm>
 </project>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-launchpad-api] 05/07: adding scm info

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit 678931fd296d9d15b2ca46f0144ad85b7bf0b35a
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Feb 15 01:42:39 2011 +0000

    adding scm info
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1070731 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4ea3d70..6944fc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,6 +30,12 @@
         This module contains the API exposed by Launchpad to bundles.
     </description>
 
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/launchpad/api</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/launchpad/api</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/launchpad/api</url>
+    </scm>
+
     <build>
         <plugins>
             <plugin>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-launchpad-api] 06/07: [maven-release-plugin] prepare release org.apache.sling.launchpad.api-1.0.0

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit ae2c74b9a87f3c54e84dc6a88f308f73ea15d4be
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Feb 15 01:45:03 2011 +0000

    [maven-release-plugin] prepare release org.apache.sling.launchpad.api-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1070732 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6944fc7..24b00df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,8 +10,7 @@
     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/xsd/maven-4.0.0.xsd">
+<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>
 
     <parent>
@@ -22,7 +21,7 @@
     </parent>
 
     <artifactId>org.apache.sling.launchpad.api</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Launchpad API</name>
 
@@ -31,9 +30,9 @@
     </description>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/launchpad/api</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/launchpad/api</developerConnection>
-        <url>http://svn.apache.org/viewvc/sling/trunk/launchpad/api</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.launchpad.api-1.0.0</url>
     </scm>
 
     <build>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-launchpad-api] 07/07: [maven-scm] copy for tag org.apache.sling.launchpad.api-1.0.0

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit 3ba89c71d3e9278983fe66bc55305312cee78dee
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Feb 15 01:45:09 2011 +0000

    [maven-scm] copy for tag org.apache.sling.launchpad.api-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0@1070733 13f79535-47bb-0310-9956-ffa450edef68

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-launchpad-api] 02/07: SLING-1900 - use org.apache.sling.installer.core instead of obsolete org.apache.sling.osgi.installer

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit 80d162e63ee22bdf3d0748429b7ee674975933bc
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Dec 23 16:07:05 2010 +0000

    SLING-1900 - use org.apache.sling.installer.core instead of obsolete org.apache.sling.osgi.installer
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1052306 13f79535-47bb-0310-9956-ffa450edef68

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-launchpad-api] 03/07: [maven-release-plugin] prepare release org.apache.sling.launchpad.api-1.0.0

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git

commit d707a208a221f6a3d81e6df9a04e210c2b4242fb
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Feb 15 01:40:47 2011 +0000

    [maven-release-plugin] prepare release org.apache.sling.launchpad.api-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1070728 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4ea3d70..6feb02d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,8 +10,7 @@
     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/xsd/maven-4.0.0.xsd">
+<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>
 
     <parent>
@@ -22,7 +21,7 @@
     </parent>
 
     <artifactId>org.apache.sling.launchpad.api</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0</version>
     <packaging>bundle</packaging>
     <name>Apache Sling Launchpad API</name>
 
@@ -44,4 +43,10 @@
             </plugin>
         </plugins>
     </build>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.api-1.0.0</developerConnection>
+    <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.launchpad.api-1.0.0</url>
+  </scm>
 </project>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.