You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2013/02/13 10:09:22 UTC

svn commit: r1445510 - in /pivot/branches/2.0.x/examples: .classpath .project src/org/apache/pivot/examples/scripting/README.txt

Author: smartini
Date: Wed Feb 13 09:09:21 2013
New Revision: 1445510

URL: http://svn.apache.org/r1445510
Log:
remove Scala nature from examples project, so even without the Scala Plugin installed it will be possible to have that project built (and run related examples), and add a README to clarify this

Added:
    pivot/branches/2.0.x/examples/src/org/apache/pivot/examples/scripting/README.txt
Modified:
    pivot/branches/2.0.x/examples/.classpath
    pivot/branches/2.0.x/examples/.project

Modified: pivot/branches/2.0.x/examples/.classpath
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/examples/.classpath?rev=1445510&r1=1445509&r2=1445510&view=diff
==============================================================================
--- pivot/branches/2.0.x/examples/.classpath (original)
+++ pivot/branches/2.0.x/examples/.classpath Wed Feb 13 09:09:21 2013
@@ -2,7 +2,6 @@
 <classpath>
 	<classpathentry kind="src" path="src"/>
 	<classpathentry kind="src" path="test"/>
-	<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/core"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/web"/>

Modified: pivot/branches/2.0.x/examples/.project
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/examples/.project?rev=1445510&r1=1445509&r2=1445510&view=diff
==============================================================================
--- pivot/branches/2.0.x/examples/.project (original)
+++ pivot/branches/2.0.x/examples/.project Wed Feb 13 09:09:21 2013
@@ -1,18 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>examples</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-		<buildCommand>
-			<name>org.scala-ide.sdt.core.scalabuilder</name>
-			<arguments>
-			</arguments>
-		</buildCommand>
-	</buildSpec>
-	<natures>
-		<nature>org.scala-ide.sdt.core.scalanature</nature>
-		<nature>org.eclipse.jdt.core.javanature</nature>
-	</natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>examples</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: pivot/branches/2.0.x/examples/src/org/apache/pivot/examples/scripting/README.txt
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/examples/src/org/apache/pivot/examples/scripting/README.txt?rev=1445510&view=auto
==============================================================================
--- pivot/branches/2.0.x/examples/src/org/apache/pivot/examples/scripting/README.txt (added)
+++ pivot/branches/2.0.x/examples/src/org/apache/pivot/examples/scripting/README.txt Wed Feb 13 09:09:21 2013
@@ -0,0 +1,9 @@
+//
+// README for org.apache.pivot.examples.scripting Samples
+//
+
+In this package there are some Groovy sources and even some Scala sources, but in our ant builds they are not compiled.
+To run those examples from an IDE (like Eclipse), you must enable support for those languages for the project containing them (examples).
+
+Note that in case of problems, for example a configured Nature for that project but the related Plugin is not installed,
+it will not be possible to run even Java examples because nothing in that project will be compiled.