jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1236694 - in /incubator/jena/Jena2/Fuseki/trunk: fuseki run_cp
Date Fri, 27 Jan 2012 14:26:37 GMT
Author: andy
Date: Fri Jan 27 14:26:37 2012
New Revision: 1236694

URL: http://svn.apache.org/viewvc?rev=1236694&view=rev
Log: (empty)

Added:
    incubator/jena/Jena2/Fuseki/trunk/run_cp   (with props)
Modified:
    incubator/jena/Jena2/Fuseki/trunk/fuseki

Modified: incubator/jena/Jena2/Fuseki/trunk/fuseki
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/fuseki?rev=1236694&r1=1236693&r2=1236694&view=diff
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/fuseki (original)
+++ incubator/jena/Jena2/Fuseki/trunk/fuseki Fri Jan 27 14:26:37 2012
@@ -1,15 +1,35 @@
 #!/bin/bash
 
-M2_REPO="/home/afs/.m2/repo" ;
-X=$(perl -ne 'next unless /\spath="M2_REPO([^"]*)"/ ; print "$1","\n"' .classpath)
+## Run in development area.
+##Look for file names and make absolute before doing a cd.
+## Or use --fuseki_home= to find the HTML files
+
+FUSEKI_HOME=${FUSEKI_HOME:-$HOME/Projects/Fuseki}
+
+cd $FUSEKI_HOME
+
+## M2_REPO="/home/afs/.m2/repo" ;
+## X=$(perl -ne 'next unless /\spath="M2_REPO([^"]*)"/ ; print "$1","\n"' .classpath)
+## 
+## CP=
+## for x in $X
+## do
+##    CP="$CP:$M2_REPO$x"
+## done
+## CP="classes$CP"
+
+CP="$(. $FUSEKI_HOME/run_cp)"
+if [ -e "$FUSEKI_HOME/target/classes" ]
+then
+    CP="$FUSEKI_HOME/target/classes:$CP"
+    fi
+if [ -e "$FUSEKI_HOME/classes" ]
+then
+    CP="$FUSEKI_HOME/classes:$CP"
+    fi
 
-CP=
-for x in $X
-do
-   CP="$CP:$M2_REPO$x"
-done
-CP="classes$CP"
 JVM_ARGS="-Xmx1200M"
-JVM_ARGS="$JVM_ARGS -XX:MaxDirectMemorySize:1G"
+#JVM_ARGS="$JVM_ARGS -XX:MaxDirectMemorySize=1G"
 
-exec java -cp "$CP" -Xmx1200M org.apache.jena.fuseki.FusekiCmd "$@"
+# Cope with the 
+exec java -cp "$CP" $JVM_ARGS org.apache.jena.fuseki.FusekiCmd "$@"

Added: incubator/jena/Jena2/Fuseki/trunk/run_cp
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/run_cp?rev=1236694&view=auto
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/run_cp (added)
+++ incubator/jena/Jena2/Fuseki/trunk/run_cp Fri Jan 27 14:26:37 2012
@@ -0,0 +1,6 @@
+#!/bin/bash
+M2_REPO="${M2_REPO:-$HOME/.m2/repository}"
+
+CP="/home/afs/.m2/repo/ant/ant/1.6.5/ant-1.6.5.jar:/home/afs/.m2/repo/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar:/home/afs/.m2/repo/commons-codec/commons-codec/1.5/commons-codec-1.5.jar:/home/afs/.m2/repo/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar:/home/afs/.m2/repo/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/afs/.m2/repo/junit/junit/4.9/junit-4.9.jar:/home/afs/.m2/repo/log4j/log4j/1.2.16/log4j-1.2.16.jar:/home/afs/.m2/repo/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:/home/afs/.m2/repo/org/apache/httpcomponents/httpcore/4.1.3/httpcore-4.1.3.jar:/home/afs/.m2/repo/org/apache/jena/jena-arq/2.9.0-incubating/jena-arq-2.9.0-incubating.jar:/home/afs/.m2/repo/org/apache/jena/jena-core/2.7.0-incubating/jena-core-2.7.0-incubating.jar:/home/afs/.m2/repo/org/apache/jena/jena-iri/0.9.0-incubating/jena-iri-0.9.0-incubating.jar:/home/afs/.m2/repo/org/apache/jena/jena-tdb/0.9.0-incubating-SNAPSHOT/jena-tdb-0.9.0-incubating-SNAPSHOT
 .jar:/home/afs/.m2/repo/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-3.5.1.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-continuation/7.5.4.v20111024/jetty-continuation-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-http/7.5.4.v20111024/jetty-http-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-io/7.5.4.v20111024/jetty-io-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-jsp-2.1/7.5.4.v20111024/jetty-jsp-2.1-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-security/7.5.4.v20111024/jetty-security-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-server/7.5.4.v20111024/jetty-server-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-servlet/7.5.4.v20111024/jetty-servlet-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-util/7.5.4.v20111024/jetty-util-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/eclipse/jetty/jetty-webapp/7.5.4.v20111024/jetty-webapp-7.5.4.v20111024.jar:/home/afs/.m2/re
 po/org/eclipse/jetty/jetty-xml/7.5.4.v20111024/jetty-xml-7.5.4.v20111024.jar:/home/afs/.m2/repo/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar:/home/afs/.m2/repo/org/mortbay/jetty/jsp-2.1-glassfish/2.1.v20100127/jsp-2.1-glassfish-2.1.v20100127.jar:/home/afs/.m2/repo/org/mortbay/jetty/jsp-api-2.1-glassfish/2.1.v20100127/jsp-api-2.1-glassfish-2.1.v20100127.jar:/home/afs/.m2/repo/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar:/home/afs/.m2/repo/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/home/afs/.m2/repo/org/slf4j/slf4j-log4j12/1.6.4/slf4j-log4j12-1.6.4.jar:/home/afs/.m2/repo/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar:/home/afs/.m2/repo/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar"
+
+echo "$CP"

Propchange: incubator/jena/Jena2/Fuseki/trunk/run_cp
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message