incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1054976 - in /sling/trunk/contrib/scripting/scala: README.txt config/README.txt samples/forum/README.txt samples/hello-world/README.txt script/README.txt
Date Tue, 04 Jan 2011 11:26:56 GMT
Author: mduerig
Date: Tue Jan  4 11:26:56 2011
New Revision: 1054976

URL: http://svn.apache.org/viewvc?rev=1054976&view=rev
Log:
SLING-1907 The Scala hello-world example does not work
updated readmes

Added:
    sling/trunk/contrib/scripting/scala/README.txt   (with props)
Modified:
    sling/trunk/contrib/scripting/scala/config/README.txt
    sling/trunk/contrib/scripting/scala/samples/forum/README.txt
    sling/trunk/contrib/scripting/scala/samples/hello-world/README.txt
    sling/trunk/contrib/scripting/scala/script/README.txt

Added: sling/trunk/contrib/scripting/scala/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/README.txt?rev=1054976&view=auto
==============================================================================
--- sling/trunk/contrib/scripting/scala/README.txt (added)
+++ sling/trunk/contrib/scripting/scala/README.txt Tue Jan  4 11:26:56 2011
@@ -0,0 +1,19 @@
+Apache Sling Scala Scripting Engine
+
+To enable Scala scripting for Sling, install the following bundles:
+
+- org.apache.sling:org.apache.sling.scripting.scala.config
+- org.apache.sling:org.apache.sling.scripting.scala.script
+- com.weiglewilczek.scala-lang-osgi:scala-compiler
+- com.weiglewilczek.scala-lang-osgi:scala-library
+
+The former two bundles are part of Apache Sling, the latter two can be obtained 
+from http://scala-tools.org/repo-releases/.
+
+There are two sample applications available: a simple hello world application 
+and a forum application. See the README.txt files in the respective subdirectory
+of contrib/scripting/scala/samples/. 
+
+For more information on Scala for Sling see:
+
+  https://cwiki.apache.org/confluence/display/SLING/Using+Scala+with+Sling

Propchange: sling/trunk/contrib/scripting/scala/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: sling/trunk/contrib/scripting/scala/config/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/config/README.txt?rev=1054976&r1=1054975&r2=1054976&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/config/README.txt (original)
+++ sling/trunk/contrib/scripting/scala/config/README.txt Tue Jan  4 11:26:56 2011
@@ -1,37 +1,23 @@
 Apache Sling Scala Scripting Configuration
 
-Apache Sling specific configuration for the Scala Script Engine. To 
-enable Scala scripting for Sling, install this bundle along with the 
-following bundles:
-
-- org.apache.sling:org.apache.sling.scripting.scala.script
-- org.scala-lang-osgi:scala-compiler
-- org.scala-lang-osgi:scala-library
-
-The latter two bundles can be obtained from http://scala-tools.org/repo-releases/
-The former is part of Apache Sling. 
-  
+This bundle provides Apache Sling specific configuration for the Scala 
+Scripting Engine. 
 
 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.
+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
+    
+To Install the package in a running Sling instance use:
 
-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/contrib/scripting/scala/config/
-
-See the Subversion documentation for other source control features.
+    mvn sling:install
 
+See the Maven 2 documentation for other build features.

Modified: sling/trunk/contrib/scripting/scala/samples/forum/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/samples/forum/README.txt?rev=1054976&r1=1054975&r2=1054976&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/samples/forum/README.txt (original)
+++ sling/trunk/contrib/scripting/scala/samples/forum/README.txt Tue Jan  4 11:26:56 2011
@@ -1,6 +1,5 @@
 Scala for Sling Demo Application - Forum
 
-
 Getting Started
 ===============
 
@@ -20,25 +19,11 @@ To Install the package in a running Slin
 
 See the Maven 2 documentation for other build features.
 
-Before running the example make sure to install the path-based-rtp 
-bundle from the samples directory of the Sling distribution. 
 
-After installing the package and the path-based-rtp the forum application
-is available at the following URL:
+Before running the example make sure to install the Scala scripting
+engine for Sling and the path-based-rtp bundle from the samples directory 
+of the Sling distribution. 
 
-    http://localhost:8080/content/forum.html?sling:authRequestLogin=true
-    
-For more information on Scala for Sling see:
-
-    http://people.apache.org/~mduerig/scala4sling/    
-    
-
-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/contrib/scripting/scala/
-
-See the Subversion documentation for other source control features.
+After installing these bundles the forum application is available at:
 
+    http://localhost:8080/content/forum.html?sling:authRequestLogin=true

Modified: sling/trunk/contrib/scripting/scala/samples/hello-world/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/samples/hello-world/README.txt?rev=1054976&r1=1054975&r2=1054976&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/samples/hello-world/README.txt (original)
+++ sling/trunk/contrib/scripting/scala/samples/hello-world/README.txt Tue Jan  4 11:26:56
2011
@@ -1,6 +1,5 @@
 Scala for Sling Demo Application - Hello World
 
-
 Getting Started
 ===============
 
@@ -20,22 +19,8 @@ To Install the package in a running Slin
 
 See the Maven 2 documentation for other build features.
 
-After installing the package the hello world application
-is available at the following URL:
-
-    http://localhost:8080/content/helloworld.html
-    
-For more information on Scala for Sling see:
-
-    http://people.apache.org/~mduerig/scala4sling/    
-    
-
-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/contrib/scripting/scala/
+After installation the hello world application is available at:
 
-See the Subversion documentation for other source control features.
+    http://localhost:8080/content/helloworld.html
 

Modified: sling/trunk/contrib/scripting/scala/script/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/script/README.txt?rev=1054976&r1=1054975&r2=1054976&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/script/README.txt (original)
+++ sling/trunk/contrib/scripting/scala/script/README.txt Tue Jan  4 11:26:56 2011
@@ -1,6 +1,6 @@
 Scala Script Engine
 
-JSR 223 compliant Scala scripting engine. The scripting engine supports
+JSR 223 compliant Scala Scripting engine. The scripting engine supports
 running in an OSGi container or as part of a stand alone application. 
 It has optional support for compiling from/to a JCR repository. 
 
@@ -8,22 +8,17 @@ 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.
+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
+    
+To Install the package in a running Sling instance use:
 
-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/contrib/scripting/scala/script/
-
-See the Subversion documentation for other source control features.
+    mvn sling:install
 
+See the Maven 2 documentation for other build features.



Mime
View raw message