You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by sh...@apache.org on 2011/12/16 03:13:17 UTC

svn commit: r1215025 - in /incubator/lcf/trunk: CHANGES.txt framework/example-multiprocess/initialize.sh framework/example-multiprocess/lock-clean.sh framework/example-multiprocess/start-agents.sh framework/example-multiprocess/stop-agents.sh

Author: shinichiro
Date: Fri Dec 16 02:13:16 2011
New Revision: 1215025

URL: http://svn.apache.org/viewvc?rev=1215025&view=rev
Log:
Fix for CONNECTORS-323

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/framework/example-multiprocess/initialize.sh
    incubator/lcf/trunk/framework/example-multiprocess/lock-clean.sh
    incubator/lcf/trunk/framework/example-multiprocess/start-agents.sh
    incubator/lcf/trunk/framework/example-multiprocess/stop-agents.sh

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1215025&r1=1215024&r2=1215025&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Fri Dec 16 02:13:16 2011
@@ -5,6 +5,9 @@ $Id$
 
 ======================= Release 0.4 =========================
 
+CONNECTORS-323: Fix *.sh files in multiprocess-example.
+(Shinichiro Abe)
+
 CONNECTORS-313: Reorganize the dist directory to include a multiprocess
 example as well as a single process example.
 (Shinichiro Abe, Karl Wright)

Modified: incubator/lcf/trunk/framework/example-multiprocess/initialize.sh
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/example-multiprocess/initialize.sh?rev=1215025&r1=1215024&r2=1215025&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/example-multiprocess/initialize.sh (original)
+++ incubator/lcf/trunk/framework/example-multiprocess/initialize.sh Fri Dec 16 02:13:16 2011
@@ -19,8 +19,8 @@
 if [ -e "$JAVA_HOME"/bin/java ] ; then
     if [ -f ./properties.xml ] ; then
         # Set the MCF_HOME variable
-        set MCF_HOME=$PWD
-        processes/script/executecommand org.apache.manifoldcf.crawler.InitializeAndRegister
+        export MCF_HOME=$PWD
+        processes/script/executecommand.sh org.apache.manifoldcf.crawler.InitializeAndRegister
         exit $?
         
     else

Modified: incubator/lcf/trunk/framework/example-multiprocess/lock-clean.sh
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/example-multiprocess/lock-clean.sh?rev=1215025&r1=1215024&r2=1215025&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/example-multiprocess/lock-clean.sh (original)
+++ incubator/lcf/trunk/framework/example-multiprocess/lock-clean.sh Fri Dec 16 02:13:16 2011
@@ -19,8 +19,8 @@
 if [ -e "$JAVA_HOME"/bin/java ] ; then
     if [ -f ./properties.xml ] ; then
         # Set the MCF_HOME variable
-        set MCF_HOME=$PWD
-        processes/script/executecommand org.apache.manifoldcf.core.LockClean
+        export MCF_HOME=$PWD
+        processes/script/executecommand.sh org.apache.manifoldcf.core.LockClean
         exit $?
         
     else

Modified: incubator/lcf/trunk/framework/example-multiprocess/start-agents.sh
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/example-multiprocess/start-agents.sh?rev=1215025&r1=1215024&r2=1215025&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/example-multiprocess/start-agents.sh (original)
+++ incubator/lcf/trunk/framework/example-multiprocess/start-agents.sh Fri Dec 16 02:13:16 2011
@@ -19,8 +19,8 @@
 if [ -e "$JAVA_HOME"/bin/java ] ; then
     if [ -f ./properties.xml ] ; then
         # Set the MCF_HOME variable
-        set MCF_HOME=$PWD
-        processes/script/executecommand org.apache.manifoldcf.agents.AgentRun
+        export MCF_HOME=$PWD
+        processes/script/executecommand.sh org.apache.manifoldcf.agents.AgentRun
         exit $?
         
     else

Modified: incubator/lcf/trunk/framework/example-multiprocess/stop-agents.sh
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/framework/example-multiprocess/stop-agents.sh?rev=1215025&r1=1215024&r2=1215025&view=diff
==============================================================================
--- incubator/lcf/trunk/framework/example-multiprocess/stop-agents.sh (original)
+++ incubator/lcf/trunk/framework/example-multiprocess/stop-agents.sh Fri Dec 16 02:13:16 2011
@@ -19,8 +19,8 @@
 if [ -e "$JAVA_HOME"/bin/java ] ; then
     if [ -f ./properties.xml ] ; then
         # Set the MCF_HOME variable
-        set MCF_HOME=$PWD
-        processes/script/executecommand org.apache.manifoldcf.agents.AgentStop
+        export MCF_HOME=$PWD
+        processes/script/executecommand.sh org.apache.manifoldcf.agents.AgentStop
         exit $?
         
     else