sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1593967 - in /sling/trunk/samples: accessmanager-ui/ custom-login-form/ espblog/ javashell/ path-based-rtp/ post-servlet-extensions/ simple-demo/ slingbucks/ slingshot/ usermanager-ui/ webloader/service/ webloader/ui/
Date Mon, 12 May 2014 13:45:58 GMT
Author: cziegeler
Date: Mon May 12 13:45:58 2014
New Revision: 1593967

URL: http://svn.apache.org/r1593967
Log:
SLING-3489 : Fix the instructions on how to launch/deploy the demos. Apply patch from David
Bosschaert

Modified:
    sling/trunk/samples/accessmanager-ui/README.txt
    sling/trunk/samples/custom-login-form/README.txt
    sling/trunk/samples/espblog/README.txt
    sling/trunk/samples/javashell/README.txt
    sling/trunk/samples/path-based-rtp/README.txt
    sling/trunk/samples/post-servlet-extensions/README.txt
    sling/trunk/samples/simple-demo/README.txt
    sling/trunk/samples/slingbucks/README.txt
    sling/trunk/samples/slingshot/README.txt
    sling/trunk/samples/usermanager-ui/README.txt
    sling/trunk/samples/webloader/service/README.txt
    sling/trunk/samples/webloader/ui/README.txt

Modified: sling/trunk/samples/accessmanager-ui/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/accessmanager-ui/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/accessmanager-ui/README.txt (original)
+++ sling/trunk/samples/accessmanager-ui/README.txt Mon May 12 13:45:58 2014
@@ -17,30 +17,83 @@ those scripts.
     /apps/sling/servlet/default/ace.html.esp
     /apps/sling/servlet/default/acl.html.esp
 
+
+LAUNCH SLING
+------------
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
+
+
+PREPARE SLING
+-------------
+Install i18n support by installing the org.apache.sling.i18n bundle:
+  contrib/extensions/i18n $ mvn install -P autoInstallBundle
+
+Remove the default implementation of the ACE and ACL scripts:
+Navigate to the sling console:
+  http://localhost:8080/.explorer.html
+
+Click the 'login' button on the top-right of the screen and log in using 
+  admin/admin
+  
+In the tree view, navigate to the /apps/sling/servlet/default/ace.html.esp node.
+After clicking on the node, a 'delete this node' button appears. Click this button
+to delete the node.
+Also delete the /apps/sling/servlet/default/acl.html.esp in the same way.
+
+
 HOW TO INSTALL
 --------------
-Build this bundle and install it in Sling.
-
-For example, if Sling is running on port 8888 (which happens if you start 
-the launchpad/builder module with "mvn launchpad:run"), this will build and 
-install it:
+Build this bundle and install it in Sling:
 
-    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8888/system/console
+  mvn install -P autoInstallBundle
     
 To verify that the bundle is correctly installed:
+  http://localhost:8080/libs/sling/accessmanager/page.html.esp 
+must return the page.html.esp script.
 
-1) http://localhost:8888/libs/sling/accessmanager/page.html.esp must return the page.html.esp

-   script.
-
-2) The console at http://localhost:8888/system/console/bundles must 
-    list the bundle named "Apache Sling Access Manager UI sample" as active.    
+This sample is best tested together with the usermanager-ui demo. Install this as well:
+  samples/usermanager-ui $ mvn install -P autoInstallBundle
+   
 
 HOW TO TEST
 -----------
 Login as the admin user.
 
-Open http://localhost:8888/[node_path_here].acl.html to view the access control list for
-a JCR node where [node_path_here] is replaced with the path of the node. 
+To test this functionality, install another sample applications, which is used as a
+testing ground for the ACLs.
+For example, install the slingshot sample:
+  samples/slingshot $ mvn install -P autoInstallBundle 
+
+Create a new user called 'test' using the usermanager at:
+  http://localhost:8080/system/userManager.html
+
+Using a different browser, confirm that the new 'test' user can access the slingshot
+page:
+  http://localhost:8080/slingshot/albums.html?sling:authRequestLogin=true
+
+We can now restrict access to the slingshot/albums.html resource via the
+access manager.
+
+ACLs can be edited by visiting http://localhost:8080/[node_path_here].acl.html 
+to view the access control list for a JCR node where [node_path_here] is 
+replaced with the path of the node.
+
+To restrict access to the userManager.html page for the 'test' user, in the original
+browser navigate to:
+  http://localhost:8080/slingshot/albums.acl.html
+Make sure that the admin user is still logged in.
+
+Create an entry for the 'test' user denying all privileges.
+
+Restart the different browser/clear all its cookies that logged in the 'test' user 
+previously. Then visit the following page as 'test' user again:
+  http://localhost:8080/slingshot/albums.html?sling:authRequestLogin=true
+
+To see that the page is now inaccessible to this user.
 
 Use the links on the page to add/update/remove access control entries to the list
 to provision privileges for users or groups.

Modified: sling/trunk/samples/custom-login-form/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/custom-login-form/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/custom-login-form/README.txt (original)
+++ sling/trunk/samples/custom-login-form/README.txt Mon May 12 13:45:58 2014
@@ -5,16 +5,16 @@ This bundle provides a sample of a custo
 Getting Started
 ===============
 
-This component uses a Maven 2 (http://maven.apache.org/) build
+This component uses a Maven 3 (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.
+3.0.5 or later. We recommend to use the latest Maven version.
 
-If you have Maven 2 installed, you can compile and
+If you have Maven 3 installed, you can compile and
 package the jar using the following command:
 
     mvn package
 
-See the Maven 2 documentation for other build features.
+See the Maven 3 documentation for other build features.
 
 The latest source code for this component is available in the
 Subversion (http://subversion.tigris.org/) source repository of

Modified: sling/trunk/samples/espblog/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/espblog/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/espblog/README.txt (original)
+++ sling/trunk/samples/espblog/README.txt Mon May 12 13:45:58 2014
@@ -10,40 +10,48 @@ A java service uses JCR observation to d
 via the blog forms, or copied via WebDAV), and creates thumbnails of files image
 files, to demonstrate observation and OSGi SCR services.
 
-HOW TO INSTALL
---------------
-Build this bundle and install it in Sling.
-
-For example, if Sling is running on port 8080 (which happens if you start 
-the launchpad/testing module with "mvn jetty:run"), this will build and 
-install it:
-
-    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
+PRECONDITIONS
+-------------
+As a first step, launch Sling.
+
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
+
+This launches sling on the default port: 8080.
+
+Once Sling is running, deploy the 'path-based-rtp' bundle, which is required by
+this demo:
+  samples/path-based-rtp$ mvn clean install -P autoInstallBundle
+
+
+INSTALL ESPBLOG
+---------------
+Install the espblog demo with the following command:
+  mvn clean install -P autoInstallBundle
     
 To verify that the bundle is correctly installed:
 
-1) http://localhost:8080/apps/espblog/html.esp must return the html.esp 
-   script.
+1) http://localhost:8080/apps/espblog/html.esp must return the html.esp script.
 
-2) The console at http://localhost:8080/system/console/bundles must 
-    list the bundle named "Sling - ESP blog sample" as active.    
+2) Log in by visiting http://localhost:8080/?sling:authRequestLogin=true,
+   using username=admin and password=admin
 
-HOW TO TEST
------------
-Start by logging in at http://localhost:8080/?sling:authRequestLogin=true,
-using username=admin and password=admin (or use the "login" link on the 
-/index.html page).
+3) The console at http://localhost:8080/system/console/bundles must list both 
+   the following bundles as active:
 
-Once logged in, /index.html should say "you are currently logged in as
-user "admin" to workspace "default".
+     Apache Sling ESP blog sample 
+         (org.apache.sling.samples.espblog)
+     Apache Sling Sample Path Based Resource Type Provider
+         (org.apache.sling.samples.path-based.rtp)
 
-Then, http://localhost:8080/content/espblog/*.html should display the "Sling ESP
-blog sample" page, with the Home/Admin/New Post/... menu.
 
-If you get Sling's default HTML rendition instead ("Resource dumped by 
-HtmlRendererServlet") that's probably because the "path-based-rtp" bundle
-is not installed. Run the above "mvn...clean install" command in the
-sling/samples/path-based-rtp folder to install it, and reload the page.
+HOW TO TEST
+-----------
+The http://localhost:8080/content/espblog/*.html should display the "Sling ESP
+blog sample" page, with the Home/Admin/New Post/... menu.
 
 Create a new post using the "New Post" menu.
 
@@ -52,4 +60,9 @@ ThumbnailGeneratorService generates thum
 on the post's page. This happens asynchronously, so depending on your 
 machine's speed the thumbnails might only appear after a few seconds.
 
-The ESP scripts are found under /apps/espblog in the repository.
+Clicking on the Home menu item will show all the blog entries. 
+The Admin menu item allows you to edit and delete entries.
+
+Clicking on the RSS menu item shows an alternative rendering of the posts list.
+
+The ESP scripts can be found under /apps/espblog in the repository.

Modified: sling/trunk/samples/javashell/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/javashell/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/javashell/README.txt (original)
+++ sling/trunk/samples/javashell/README.txt Mon May 12 13:45:58 2014
@@ -14,26 +14,40 @@ Just try "System.exit(0)" if you don't k
 This sample application executes java code entered in an HTML form,
 by generating and compiling java servlets on the fly.
 
-In its first version (2008/11/20), javashell contains a number of
-JCR code snippets, under /content/javashell/scripts. We might want
-to extend this to more Sling-specific samples, but for now I just
-needed that for an interactive JCR presentation. 
+Launch Sling
+------------
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
 
-To test this bundle:
+Prerequisites
+-------------
+To run this demo the following two bundles must be installed:
+org.apache.sling.commons.compiler and org.apache.sling.scripting.java
 
-1. Install the org.apache.sling.scripting.java bundle, found under
-   sling/contrib/scripting/java.
+Install them as follows:
+  contrib/commons/compiler $ mvn install -P autoInstallBundle
+and
+  contrib/scripting/java $ mvn install -P autoInstallBundle
+  
+Run this sample
+---------------
+Build and install the sample bundle by running
+  $  mvn install -P autoInstallBundle
+  
+Then:
+ 1. Log in by navigating to:
+     http://localhost:8080/system/sling/login.html
+   using admin/admin as credentials.
    
-2. Install this bundle and navigate to
-
-     http://localhost:8888/content/javashell/scripts/first_example.html
+3. Navigate to:
+     http://localhost:8080/content/javashell/scripts/first_example.html
      
    That page should include a "Result of execution" section which lists
-   some properties and child nodes.
-		
-   If you get an AccessDeniedException you need to set "allow anonymous
-   access" to false in the SlingAuthenticator config, via 
-   http://localhost:8888/system/console/configMgr
+   some properties and child nodes. This section is generated by the
+   javashell script.
    
    If you get the default HTML rendering under the "Result of execution"
    header, the scripting.java bundle is probably not active.		
@@ -42,5 +56,4 @@ To test this bundle:
    pages with more code to execute. 
    
 The servlets are generated under /apps/javashell/servlets, and are *not* 
-cleaned up currently, this is something that should be improved.   		
-           
+cleaned up currently, this is something that should be improved.
\ No newline at end of file

Modified: sling/trunk/samples/path-based-rtp/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/path-based-rtp/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/path-based-rtp/README.txt (original)
+++ sling/trunk/samples/path-based-rtp/README.txt Mon May 12 13:45:58 2014
@@ -3,26 +3,9 @@ Apache Sling Samples Path Based RTP
 Provides a configurable path-based sample resource type provider
 for resources which do not have an explicit one.
 
-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/samples/path-based-rtp
-
-See the Subversion documentation for other source control features.
+This sample component is used by the espblog sample and also required for the
+"46-line blog" which can be found here:
+  http://sling.apache.org/documentation/tutorials-how-tos/46-line-blog.html
 
+The component can be built using Maven 3.0.5 or newer by running
+  mvn install
\ No newline at end of file

Modified: sling/trunk/samples/post-servlet-extensions/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/post-servlet-extensions/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/post-servlet-extensions/README.txt (original)
+++ sling/trunk/samples/post-servlet-extensions/README.txt Mon May 12 13:45:58 2014
@@ -28,16 +28,26 @@ standard behavior.
 Getting Started
 ===============
 
-This component uses a Maven 2 (http://maven.apache.org/) build
+This component uses a Maven 3 (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.
+3.0.5 or later. We recommend to use the latest Maven version.
 
-If you have Maven 2 installed, you can compile and
+If you have Maven 3 installed, you can compile and
 package the jar using the following command:
 
     mvn package
 
-See the Maven 2 documentation for other build features.
+See the Maven 3 documentation for other build features.
+
+Launching Sling
+===============
+
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
+
 
 The latest source code for this component is available in the
 Subversion (http://subversion.tigris.org/) source repository of

Modified: sling/trunk/samples/simple-demo/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/simple-demo/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/simple-demo/README.txt (original)
+++ sling/trunk/samples/simple-demo/README.txt Mon May 12 13:45:58 2014
@@ -8,16 +8,25 @@ the bundle.
 Getting Started
 ===============
 
-This component uses a Maven 2 (http://maven.apache.org/) build
+This component uses a Maven 3 (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.
+3.0.5 or later. We recommend to use the latest Maven version.
 
-If you have Maven 2 installed, you can compile and
+If you have Maven 3 installed, you can compile and
 package the jar using the following command:
 
     mvn package
 
-See the Maven 2 documentation for other build features.
+See the Maven 3 documentation for other build features.
+
+Launching Sling
+===============
+
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
 
 The latest source code for this component is available in the
 Subversion (http://subversion.tigris.org/) source repository of

Modified: sling/trunk/samples/slingbucks/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/slingbucks/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/slingbucks/README.txt (original)
+++ sling/trunk/samples/slingbucks/README.txt Mon May 12 13:45:58 2014
@@ -20,7 +20,8 @@ http://sling.apache.org/documentation/de
 for how to do that.
 
 For example, if Sling is running on port 8080 (which happens if you start 
-the launchpad/testing module with "mvn jetty:run"), this will build and 
+the launchpad/testing module with 
+"java -jar org.apache.sling.launchpad-<version>-standalone.jar"), this will build and

 install it:
 
     mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console

Modified: sling/trunk/samples/slingshot/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/slingshot/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/slingshot/README.txt (original)
+++ sling/trunk/samples/slingshot/README.txt Mon May 12 13:45:58 2014
@@ -1,7 +1,7 @@
 Apache Sling Slingshot Sample
 
 This bundle provides a sample application for Apache Sling.
-Slingshot privdes a basic gallery application presenting folders as albums
+Slingshot provides a basic gallery application presenting folders as albums
 and files as photos.
 
 Getting Started
@@ -9,7 +9,7 @@ Getting Started
 
 This component uses a Maven 3 (http://maven.apache.org/) build
 environment. It requires a Java 5 JDK (or higher) and Maven (http://maven.apache.org/)
-3.0.2 or later. We recommend to use the latest Maven version.
+3.0.5 or later. We recommend to use the latest Maven version.
 
 If you have Maven 3 installed, you can compile and
 package the jar using the following command:
@@ -18,11 +18,28 @@ package the jar using the following comm
 
 See the Maven 3 documentation for other build features.
 
-Install the built bundle using the web console and go to
-
-http://localhost:8080/slingshot/albums.html
+Launching Sling
+===============
 
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
+  
+  
+Deploy the Demo
+===============
 
+Once Sling is running you can access its Web Console from 
+  http://localhost:8080/system/console
+The default user name and password are: admin/admin.
+
+Install and start the built bundle from the OSGi->Bundles page.
+
+When deployed the application can be accessed from:
+  http://localhost:8080/slingshot/albums.html
+  
 
 The latest source code for this component is available in the
 Subversion (http://subversion.tigris.org/) source repository of

Modified: sling/trunk/samples/usermanager-ui/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/usermanager-ui/README.txt (original)
+++ sling/trunk/samples/usermanager-ui/README.txt Mon May 12 13:45:58 2014
@@ -14,26 +14,31 @@ HOW TO INSTALL
 --------------
 Build this bundle and install it in Sling.
 
-For example, if Sling is running on port 8888 (which happens if you start 
-the launchpad/builder module with "mvn launchpad:run"), this will build and 
-install it:
+For example, if Sling is running on port 8080 (which happens if you start 
+the launchpad/testing module with 
+  "java -jar target/org.apache.sling.launchpad-<version>-standalone.jar"), 
+this will build and install it:
 
-    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8888/system/console
+    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
     
 To verify that the bundle is correctly installed:
 
-1) http://localhost:8888/libs/sling/usermgmt/page.html.esp must return the page.html.esp

+1) http://localhost:8080/libs/sling/usermgmt/page.html.esp must return the page.html.esp

    script.
 
-2) The console at http://localhost:8888/system/console/bundles must 
+2) The console at http://localhost:8080/system/console/bundles must 
     list the bundle named "Apache Sling User Manager UI sample" as active.    
 
 HOW TO TEST
 -----------
 Login to sling as the admin user.
 
-Open http://localhost:8888/system/userManager.html
+Open http://localhost:8080/system/userManager.html
 
 Use the links in the left sidebar to get to the pages that enable you to 
 find, update or create users/groups.
 
+SEE ALSO
+--------
+This demo can also be used in combination with the accessmanager-ui demo. For more 
+information see there.
\ No newline at end of file

Modified: sling/trunk/samples/webloader/service/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/webloader/service/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/webloader/service/README.txt (original)
+++ sling/trunk/samples/webloader/service/README.txt Mon May 12 13:45:58 2014
@@ -9,21 +9,10 @@ interface.
 
 The sibling "webloader.ui" bundle provides an example user interface.
 
-Apache Sling Sample
+Running the demo 
+================
 
-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.
+For details on running this demo, see the Webloader UI component README.txt 
 
 The latest source code for this component is available in the
 Subversion (http://subversion.tigris.org/) source repository of

Modified: sling/trunk/samples/webloader/ui/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/webloader/ui/README.txt?rev=1593967&r1=1593966&r2=1593967&view=diff
==============================================================================
--- sling/trunk/samples/webloader/ui/README.txt (original)
+++ sling/trunk/samples/webloader/ui/README.txt Mon May 12 13:45:58 2014
@@ -3,24 +3,38 @@ Apache Sling Webloader Sample Service UI
 ---------------------------------------
 Sling Webloader sample - user interface
 ---------------------------------------
-After loading the sibling "webloader.service" bundle and this bundle,
-http://localhost:8888/bin/sling/webloader.html should display the "Sling
-Webloader" page, that gives access to the Webloader service. 
+This bundle provides a sample web user interface for the Webloader Service,
+which id provided by the sibling "webloader.service" bundle.
 
+Launching Sling
+===============
+
+The Sling Container can be launched by running the following command in the 
+launchpad/builder/target directory:
+  java -jar org.apache.sling.launchpad-<version>-standalone.jar
+so if the current version is 7, the command should be:
+  java -jar org.apache.sling.launchpad-7-standalone.jar
 
 Getting Started
 ===============
 
-This component uses a Maven 2 (http://maven.apache.org/) build
+This component uses a Maven 3 (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:
+3.0.5 or later. We recommend to use the latest Maven version.
 
-    mvn package
+The demo bundles can be deployed through Maven using the following commands:
 
-See the Maven 2 documentation for other build features.
+Deploy the Webloader Service bundle running the following command in 
+the samples/webloader/service directory:
+  mvn install -P autoInstallBundle
+then deploy the Webloader UI bundle by running the following command in 
+the samples/webloader/ui directory:
+  mvn install -P autoInstallBundle
+
+When deployed, the webloader can be accessed by navigating to:
+  http://localhost:8080/bin/sling/webloader.html 
+This should display the "Sling Webloader" page, that gives access to 
+the Webloader service.
 
 The latest source code for this component is available in the
 Subversion (http://subversion.tigris.org/) source repository of



Mime
View raw message