manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1346303 - in /incubator/lcf/trunk: CHANGES.txt connectors/documentum/server-scripts/run.sh connectors/filenet/server-scripts/run.sh
Date Tue, 05 Jun 2012 09:11:37 GMT
Author: kwright
Date: Tue Jun  5 09:11:37 2012
New Revision: 1346303

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

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/connectors/documentum/server-scripts/run.sh
    incubator/lcf/trunk/connectors/filenet/server-scripts/run.sh

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1346303&r1=1346302&r2=1346303&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Tue Jun  5 09:11:37 2012
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 0.6-dev =====================
 
+CONNECTORS-480: Documentum and FileNet connector run.sh scripts
+broken.
+(Joe Becknell, Karl Wright)
+
 CONNECTORS-479: Alfresco end-to-end tests were broken due to
 missing jetty jar.
 (Karl Wright)

Modified: incubator/lcf/trunk/connectors/documentum/server-scripts/run.sh
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/documentum/server-scripts/run.sh?rev=1346303&r1=1346302&r2=1346303&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/documentum/server-scripts/run.sh (original)
+++ incubator/lcf/trunk/connectors/documentum/server-scripts/run.sh Tue Jun  5 09:11:37 2012
@@ -48,18 +48,19 @@ if [ -e "$JAVA_HOME"/bin/java ] ; then
             LIB_STATEMENT=""
             if [[ $JAVA_LIB_PATH != "" ]] ; then
                 LIB_STATEMENT=-Djava.library.path="$JAVA_LIB_PATH"
+            fi
             "$JAVA_HOME/bin/java" -Xmx512m -Xms32m $LIB_STATEMENT -cp "$CLASSPATH" org.apache.manifoldcf.crawler.server.DCTM.DCTM
             exit $?
-        
         else
             echo "Environment variable DOCUMENTUM is not properly set." 1>&2
             exit 1
-            
+        fi      
+
     else
         echo "Environment variable MCF_HOME is not properly set." 1>&2
         exit 1
-    fi
-    
+    fi    
+
 else
     echo "Environment variable JAVA_HOME is not properly set." 1>&2
     exit 1

Modified: incubator/lcf/trunk/connectors/filenet/server-scripts/run.sh
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/filenet/server-scripts/run.sh?rev=1346303&r1=1346302&r2=1346303&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/filenet/server-scripts/run.sh (original)
+++ incubator/lcf/trunk/connectors/filenet/server-scripts/run.sh Tue Jun  5 09:11:37 2012
@@ -46,9 +46,11 @@ if [ -e "$JAVA_HOME"/bin/java ] ; then
         WASP_STATEMENT=""
         if [[ $WASP_HOME != "" ]] ; then
             WASP_STATEMENT=-Dwasp.location="WASP_HOME"
+        fi
         LIB_STATEMENT=""
         if [[ $JAVA_LIB_PATH != "" ]] ; then
             LIB_STATEMENT=-Djava.library.path="$JAVA_LIB_PATH"
+        fi
         "$JAVA_HOME/bin/java" -Xmx512m -Xms32m $WASP_STATEMENT $LIB_STATEMENT -cp "$CLASSPATH"
org.apache.manifoldcf.crawler.server.filenet.Filenet
         exit $?
         



Mime
View raw message