You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2010/11/23 09:02:58 UTC
svn commit: r1038012 - /sling/trunk/samples/espblog/README.txt
Author: bdelacretaz
Date: Tue Nov 23 08:02:57 2010
New Revision: 1038012
URL: http://svn.apache.org/viewvc?rev=1038012&view=rev
Log:
remove SLING-1420 warning and change port examples to 8080
Modified:
sling/trunk/samples/espblog/README.txt
Modified: sling/trunk/samples/espblog/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/espblog/README.txt?rev=1038012&r1=1038011&r2=1038012&view=diff
==============================================================================
--- sling/trunk/samples/espblog/README.txt (original)
+++ sling/trunk/samples/espblog/README.txt Tue Nov 23 08:02:57 2010
@@ -1,14 +1,6 @@
Sling ESP blog sample
---------------------
-***** WARNING SLING-1420 ********
-See SLING-1420, this sample is currently broken due to a regression in
-the StarResource class.
-Until this is fixed (check http://issues.apache.org/jira/browse/SLING-1420)
-the sample should work if you use revision 795864, i.e. use
-svn export -r 795864 instead of svn checkout.
-***** WARNING SLING-1420 ********
-
WHY THIS SAMPLE?
----------------
This demonstrates the use of ESP server-side javascript to implement a simple
@@ -22,30 +14,30 @@ 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
+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: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/apps/espblog/html.esp must return the html.esp
+1) http://localhost:8080/apps/espblog/html.esp must return the 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 "Sling - ESP blog sample" as active.
HOW TO TEST
-----------
-Start by logging in at http://localhost:8888/?sling:authRequestLogin=true,
+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).
Once logged in, /index.html should say "you are currently logged in as
user "admin" to workspace "default".
-Then, http://localhost:8888/content/espblog/*.html should display the "Sling ESP
+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