[MOBY-guts] biomoby commit
Martin Senger
senger at dev.open-bio.org
Thu Feb 14 06:13:36 UTC 2008
senger
Thu Feb 14 01:13:36 EST 2008
Update of /home/repository/moby/moby-live/Java/src/config
In directory dev.open-bio.org:/tmp/cvs-serv22473/src/config
Modified Files:
log4j.properties.template run-any-client run-any-client.bat
run-cache-client run-cache-client.bat run-cmdline-client
run-cmdline-client.bat run-create-input run-create-input.bat
run-dashboard run-dashboard.bat run-digest-client
run-digest-client.bat run-generator run-generator.bat
run-graphs-client run-graphs-client.bat run-moby-parser
run-moby-parser.bat run-service run-service.bat
run-testing-central run-testing-central.bat source.me.csh
source.me.sh
Added Files:
cp.bat mobysync.properties.template
rdfagent.properties.template
Removed Files:
MOBYSync_config.txt RDFagent_config.txt RDFagent_config.xml
biomoby.properties log4j.properties
Log Message:
Mavenization of jMoby. Many changes in build files and in the documentation.
moby-live/Java/src/config cp.bat,NONE,1.1 mobysync.properties.template,NONE,1.1 rdfagent.properties.template,NONE,1.1 log4j.properties.template,1.1,1.2 run-any-client,1.8,1.9 run-any-client.bat,1.9,1.10 run-cache-client,1.3,1.4 run-cache-client.bat,1.5,1.6 run-cmdline-client,1.2,1.3 run-cmdline-client.bat,1.6,1.7 run-create-input,1.2,1.3 run-create-input.bat,1.2,1.3 run-dashboard,1.6,1.7 run-dashboard.bat,1.6,1.7 run-digest-client,1.3,1.4 run-digest-client.bat,1.5,1.6 run-generator,1.2,1.3 run-generator.bat,1.5,1.6 run-graphs-client,1.4,1.5 run-graphs-client.bat,1.5,1.6 run-moby-parser,1.3,1.4 run-moby-parser.bat,1.5,1.6 run-service,1.3,1.4 run-service.bat,1.5,1.6 run-testing-central,1.2,1.3 run-testing-central.bat,1.5,1.6 source.me.csh,1.2,1.3 source.me.sh,1.2,1.3 MOBYSync_config.txt,1.1,NONE RDFagent_config.txt,1.7,NONE RDFagent_config.xml,1.3,NONE biomoby.properties,1.1,NONE log4j.properties,1.3,NONE
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/log4j.properties.template,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/log4j.properties.template 2006/02/19 18:42:54 1.1
+++ /home/repository/moby/moby-live/Java/src/config/log4j.properties.template 2008/02/14 06:13:36 1.2
@@ -1,33 +1,55 @@
-# This is a default configuration for the logging system. When you
-# build jMoby (calling ./build[-dev]) it is copied to your project
-# directory under the name log4j.properties. Do not edit this template
-# but edit the file in your project directory (it will not be
-# overwrite when building again).
-#
-# Commens to: martin.senger at gmail.com
+# ------------------------------------------------------------------------
+# Comments to: martin.senger at gmail.com
# $Id$
-# ------------------------------------------------------------
+# ------------------------------------------------------------------------
-# create A1 or A2 logger and set its severity level:
-# --------------------------------------------------
-log4j.rootLogger=DEBUG, A1, A2
+# create A1 or A2 logger for jMoby and its relatives
+# (make sure that it does not propagate to higher level)
+# ------------------------------------------------------
+log4j.logger.org.biomoby = DEBUG, A1, A2
+log4j.logger.org.tulsoft = DEBUG, A1, A2
+log4j.logger.ca = DEBUG, A1, A2
+log4j.additivity.ca = false
+log4j.additivity.org.biomoby = false
+log4j.additivity.org.tulsoft = false
-# set properties for A1 logger:
-# -----------------------------
+# create B1 or B2 logger for the rest of the world
+# ------------------------------------------------
+log4j.rootLogger=INFO, B1, B2
+
+# set jMoby's appenders and layouts
+# ---------------------------------
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c{1} %x- %m%n
log4j.appender.A1.threshold=WARN
+log4j.appender.A1.target=System.err
log4j.appender.A2=org.apache.log4j.FileAppender
-log4j.appender.A2.file=./jMoby-debug.log
+log4j.appender.A2.file=@LOGDIR@/jMoby.log
log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.MaxFileSize=500KB
log4j.appender.A2.MaxBackupIndex=9
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%d{ISO8601} %-4r [%t] %-5p %c{1} %x- %m%n
+# set appenders and layouts for the rest of the world
+# ---------------------------------------------------
+log4j.appender.B1=org.apache.log4j.ConsoleAppender
+log4j.appender.B1.layout=org.apache.log4j.PatternLayout
+log4j.appender.B1.layout.ConversionPattern=%-4r [%t] %-5p %c{1} %x- %m%n
+log4j.appender.B1.threshold=WARN
+
+log4j.appender.B2=org.apache.log4j.FileAppender
+log4j.appender.B2.file=@LOGDIR@/jMoby-others.log
+log4j.appender.B2=org.apache.log4j.RollingFileAppender
+log4j.appender.B2.MaxFileSize=500KB
+log4j.appender.B2.MaxBackupIndex=9
+log4j.appender.B2.layout=org.apache.log4j.PatternLayout
+log4j.appender.B2.layout.ConversionPattern=%d{ISO8601} %-4r [%t] %-5p %c{1} %x- %m%n
+
# the rest:
# ---------
# Ignore less significant messages from the third-party packages
-log4j.logger.org.apache.axis=WARN
+#log4j.logger.org.apache = WARN
+#log4j.logger.org.apache.commons.httpclient=WARN
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-any-client,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /home/repository/moby/moby-live/Java/src/config/run-any-client 2006/02/19 18:42:54 1.8
+++ /home/repository/moby/moby-live/Java/src/config/run-any-client 2008/02/14 06:13:36 1.9
@@ -8,10 +8,9 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${JAVA_HOME}/lib/tools.jar
-CLASSPATH=`echo ${PROJECT_HOME}/lib/ant_home/lib/*.jar | tr ' ' ':'`:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
+CLASSPATH=$LIBS_PATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/skeletons:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/samples:$CLASSPATH
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-any-client.bat,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Java/src/config/run-any-client.bat 2006/02/19 18:42:54 1.9
+++ /home/repository/moby/moby-live/Java/src/config/run-any-client.bat 2008/02/14 06:13:36 1.10
@@ -1,11 +1,11 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
-for %%i in (lib\ant_home\lib\*.jar) do call cp.bat %%i
-set "CP=%JAVA_HOME%\lib\tools.jar;%CP%"
+set CP=%PROJECT_DEPS%;%CP%
+for %%i in (build\lib\*.jar) do call "%PROJECT_HOME%\build\run\cp.bat" %%i
set CP=build\others\datatypes;%CP%
set CP=build\others\skeletons;%CP%
set CP=build\others\samples;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-cache-client,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/config/run-cache-client 2006/02/19 18:42:54 1.3
+++ /home/repository/moby/moby-live/Java/src/config/run-cache-client 2008/02/14 06:13:36 1.4
@@ -9,8 +9,9 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`
+CLASSPATH=$LIBS_PATH
CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-cache-client.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-cache-client.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-cache-client.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-cmdline-client,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/run-cmdline-client 2006/02/19 18:42:54 1.2
+++ /home/repository/moby/moby-live/Java/src/config/run-cmdline-client 2008/02/14 06:13:36 1.3
@@ -9,9 +9,10 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
exec java -cp $CLASSPATH @LOG4J@ MobyCmdLineClient "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-cmdline-client.bat,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/config/run-cmdline-client.bat 2006/02/19 18:42:54 1.6
+++ /home/repository/moby/moby-live/Java/src/config/run-cmdline-client.bat 2008/02/14 06:13:36 1.7
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-create-input,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/run-create-input 2006/02/19 18:42:54 1.2
+++ /home/repository/moby/moby-live/Java/src/config/run-create-input 2008/02/14 06:13:36 1.3
@@ -9,8 +9,9 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
+CLASSPATH=$LIBS_PATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-create-input.bat,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/run-create-input.bat 2006/02/19 18:42:54 1.2
+++ /home/repository/moby/moby-live/Java/src/config/run-create-input.bat 2008/02/14 06:13:36 1.3
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
set CP=build\others\datatypes;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-dashboard,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/config/run-dashboard 2006/02/19 18:42:54 1.6
+++ /home/repository/moby/moby-live/Java/src/config/run-dashboard 2008/02/14 06:13:36 1.7
@@ -4,25 +4,10 @@
#
# $Id$
# ----------------------------------------------------
-
-# --- setup JAVA_HOME
-if [ -z "$JAVA_HOME" ] ; then
- JAVA=`which java`
- if [ -z "$JAVA" ] ; then
- echo "Cannot find JAVA. Please set your PATH."
- exit 1
- else
- JAVA_BIN=`dirname $JAVA`
- JAVA_HOME=$JAVA_BIN/..
- export JAVA_HOME
- fi
-fi
-
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${JAVA_HOME}/lib/tools.jar
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/ant_home/lib/*.jar | tr ' ' ':'`:$CLASSPATH
+CLASSPATH=$LIBS_PATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/skeletons:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/samples:$CLASSPATH
@@ -30,5 +15,4 @@
CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
-JAVA=$JAVA_HOME/bin/java
-exec $JAVA -cp $CLASSPATH @LOG4J@ org.biomoby.service.dashboard.Dashboard "$@"
+exec java -cp $CLASSPATH @LOG4J@ org.biomoby.service.dashboard.Dashboard "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-dashboard.bat,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/config/run-dashboard.bat 2006/02/19 18:42:54 1.6
+++ /home/repository/moby/moby-live/Java/src/config/run-dashboard.bat 2008/02/14 06:13:36 1.7
@@ -1,20 +1,10 @@
@echo off
-if NOT "%JAVA_HOME%"=="" goto javadone
-echo =======================================================
-echo Setup the JAVA_HOME environment variable.
-echo Hint (for XP): Click Start -- Control Panel -- System.
-echo Then click Advanced, then click "Environment Variables".
-echo ========================================================
-goto end
-:javadone
-
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
-for %%i in (lib\ant_home\lib\*.jar) do call cp.bat %%i
-set "CP=%JAVA_HOME%\lib\tools.jar;%CP%"
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
set CP=build\others\datatypes;%CP%
@@ -22,7 +12,4 @@
set CP=build\others\samples;%CP%
set CP=build\lib\dashboard-config.jar;%CP%
-set "JAVA=%JAVA_HOME%\bin\java"
-"%JAVA%" -classpath "%CP%" @LOG4J@ org.biomoby.service.dashboard.Dashboard %*
-
-:end
+java -classpath "%CP%" @LOG4J@ org.biomoby.service.dashboard.Dashboard %*
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-digest-client,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/config/run-digest-client 2006/02/19 18:42:54 1.3
+++ /home/repository/moby/moby-live/Java/src/config/run-digest-client 2008/02/14 06:13:36 1.4
@@ -9,9 +9,10 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
exec java -cp $CLASSPATH @LOG4J@ MobyDigestClient "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-digest-client.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-digest-client.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-digest-client.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-generator,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/run-generator 2006/02/19 18:42:54 1.2
+++ /home/repository/moby/moby-live/Java/src/config/run-generator 2008/02/14 06:13:36 1.3
@@ -9,11 +9,12 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/skeletons:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
exec java -cp $CLASSPATH @LOG4J@ MosesGenerators "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-generator.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-generator.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-generator.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
set CP=build\others\datatypes;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-graphs-client,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/config/run-graphs-client 2006/02/19 18:42:54 1.4
+++ /home/repository/moby/moby-live/Java/src/config/run-graphs-client 2008/02/14 06:13:36 1.5
@@ -9,9 +9,10 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
exec java -cp $CLASSPATH @LOG4J@ MobyGraphs "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-graphs-client.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-graphs-client.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-graphs-client.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-moby-parser,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/config/run-moby-parser 2006/02/19 18:42:54 1.3
+++ /home/repository/moby/moby-live/Java/src/config/run-moby-parser 2008/02/14 06:13:36 1.4
@@ -9,11 +9,12 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
#exec java -cp $CLASSPATH @LOG4J@ -Dbiomoby.parser.forgiving=true TestingMobyParser "$@"
exec java -cp $CLASSPATH @LOG4J@ TestingMobyParser "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-moby-parser.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-moby-parser.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-moby-parser.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
set CP=build\others\datatypes;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-service,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/config/run-service 2006/02/19 18:42:54 1.3
+++ /home/repository/moby/moby-live/Java/src/config/run-service 2008/02/14 06:13:36 1.4
@@ -9,8 +9,9 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`
+CLASSPATH=$LIBS_PATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/skeletons:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/samples:$CLASSPATH
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-service.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-service.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-service.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
set CP=build\others\datatypes;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-testing-central,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/run-testing-central 2006/02/19 18:42:54 1.2
+++ /home/repository/moby/moby-live/Java/src/config/run-testing-central 2008/02/14 06:13:36 1.3
@@ -9,9 +9,10 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
exec java -cp $CLASSPATH @LOG4J@ TestingCentral "$@"
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/run-testing-central.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/config/run-testing-central.bat 2006/02/19 18:42:54 1.5
+++ /home/repository/moby/moby-live/Java/src/config/run-testing-central.bat 2008/02/14 06:13:36 1.6
@@ -1,9 +1,10 @@
@echo off
set "PROJECT_HOME=@PROJECT_HOME@"
+set "PROJECT_DEPS=@PROJECT_DEPS@"
cd "%PROJECT_HOME%"
set CP=
-for %%i in (lib\*.jar) do call cp.bat %%i
+set CP=%PROJECT_DEPS%;%CP%
set CP=build\classes;%CP%
set CP=build\Clients;%CP%
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/source.me.csh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/source.me.csh 2005/08/26 06:27:03 1.2
+++ /home/repository/moby/moby-live/Java/src/config/source.me.csh 2008/02/14 06:13:36 1.3
@@ -11,10 +11,11 @@
# ----------------------------------------------------
set PROJECT_HOME=@PROJECT_HOME@
+set LIBS_PATH=@PROJECT_DEPS@
-setenv CLASSPATH ${PROJECT_HOME}/build/classes
+setenv CLASSPATH ${LIBS_PATH}
+setenv CLASSPATH ${PROJECT_HOME}/build/classes:${CLASSPATH}
setenv CLASSPATH ${PROJECT_HOME}/build/Clients:${CLASSPATH}
setenv CLASSPATH ${PROJECT_HOME}/build/others/datatypes:${CLASSPATH}
setenv CLASSPATH ${PROJECT_HOME}/build/others/skeletons:${CLASSPATH}
setenv CLASSPATH ${PROJECT_HOME}/build/others/samples:${CLASSPATH}
-setenv CLASSPATH `echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:${CLASSPATH}
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/source.me.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/config/source.me.sh 2005/08/26 06:27:03 1.2
+++ /home/repository/moby/moby-live/Java/src/config/source.me.sh 2008/02/14 06:13:36 1.3
@@ -11,12 +11,13 @@
# ----------------------------------------------------
PROJECT_HOME=@PROJECT_HOME@
+LIBS_PATH=@PROJECT_DEPS@
-CLASSPATH=${PROJECT_HOME}/build/classes
+CLASSPATH=$LIBS_PATH
+CLASSPATH=${PROJECT_HOME}/build/classes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/Clients:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/datatypes:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/skeletons:$CLASSPATH
CLASSPATH=${PROJECT_HOME}/build/others/samples:$CLASSPATH
-CLASSPATH=`echo ${PROJECT_HOME}/lib/*.jar | tr ' ' ':'`:$CLASSPATH
export CLASSPATH
rcsdiff: /home/repository/moby/moby-live/Java/src/config/RCS/MOBYSync_config.txt,v: No such file or directory
rcsdiff: /home/repository/moby/moby-live/Java/src/config/RCS/RDFagent_config.txt,v: No such file or directory
rcsdiff: /home/repository/moby/moby-live/Java/src/config/RCS/RDFagent_config.xml,v: No such file or directory
rcsdiff: /home/repository/moby/moby-live/Java/src/config/RCS/biomoby.properties,v: No such file or directory
rcsdiff: /home/repository/moby/moby-live/Java/src/config/RCS/log4j.properties,v: No such file or directory
More information about the MOBY-guts
mailing list