incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1161700 - in /incubator/lcf/trunk: build.xml framework/build.xml site/src/documentation/content/xdocs/script.xml
Date Thu, 25 Aug 2011 19:04:32 GMT
Author: kwright
Date: Thu Aug 25 19:04:32 2011
New Revision: 1161700

URL: http://svn.apache.org/viewvc?rev=1161700&view=rev
Log:
Tie in script interpreter to main build.xml

Modified:
    incubator/lcf/trunk/build.xml
    incubator/lcf/trunk/framework/build.xml
    incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1161700&r1=1161699&r2=1161700&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Thu Aug 25 19:04:32 2011
@@ -2172,6 +2172,8 @@ image   - Build release image, under the
           Apache Forrest)
 all     - Do it all (requires Apache Forrest and Postgresql)
 
+run-script-interpreter - Run the ManifoldCF script interpreter
+
 Use Apache Forrest version forrest-0.9-dev or higher.
       </echo>
     </target>
@@ -2242,5 +2244,14 @@ Use Apache Forrest version forrest-0.9-d
       </rat:report>
     </target>
 
-    
+    <target name="run-script-interpreter" depends="deliver-framework">
+        <java classname="org.apache.manifoldcf.scriptengine.ScriptParser" fork="true"
dir="dist/script-engine" maxmemory="128M">
+          <classpath>
+            <fileset dir="dist/script-engine/lib">
+              <include name="*.jar"/>
+            </fileset>
+          </classpath>
+        </java>
+    </target>
+
 </project>

Modified: incubator/lcf/trunk/framework/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/build.xml?rev=1161700&r1=1161699&r2=1161700&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/build.xml (original)
+++ incubator/lcf/trunk/framework/build.xml Thu Aug 25 19:04:32 2011
@@ -595,7 +595,7 @@
         </junit>
     </target>
 
-    <target name="run-script-engine" depends="script-engine">
+    <target name="run-script-interpreter" depends="script-engine">
         <java classname="org.apache.manifoldcf.scriptengine.ScriptParser" fork="true"
dir="dist/script-engine" maxmemory="128M">
           <classpath>
             <fileset dir="dist/script-engine/lib">

Modified: incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml?rev=1161700&r1=1161699&r2=1161700&view=diff
==============================================================================
--- incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml (original)
+++ incubator/lcf/trunk/site/src/documentation/content/xdocs/script.xml Thu Aug 25 19:04:32
2011
@@ -69,19 +69,18 @@ script-engine/script/run-script.sh &lt;a
           </source>
         </section>
         <section>
-          <title>Running the scripting language using Ant</title>
+          <title>Running the script interpreter using Ant</title>
           <p></p>
-          <p>You can also start the scripting language interpreter with all the correct
required jars using Ant.  Simple type the following:</p>
+          <p>You can also start the script interpreter with all the correct required
jars using Ant.  Simple type the following:</p>
           <source>
-cd framework
-ant run-script-engine
+ant run-script-interpreter
           </source>
-          <p>This will start the scripting language interpreter in interactive mode
only.</p>
+          <p>This will start the script interpreter in interactive mode only.</p>
         </section>
         <section>
-          <title>Running the scripting language using Maven</title>
+          <title>Running the script interpreter using Maven</title>
           <p></p>
-          <p>You can also run the scripting language interpreter using maven.  The
commands are:</p>
+          <p>You can also run the script interpreter using maven.  The commands are:</p>
           <source>
 cd framework/script-engine
 mvn exec:exec



Mime
View raw message