[jboss-cvs] JBossCache/etc ...
Ben Wang
bwang at jboss.com
Sun Sep 24 11:54:51 EDT 2006
User: bwang
Date: 06/09/24 11:54:51
Modified: etc pojocacheWithTx.bsh runShellDemo.bat
runShellDemo.sh
Log:
updated
Revision Changes Path
1.2 +1 -1 JBossCache/etc/pojocacheWithTx.bsh
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pojocacheWithTx.bsh
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/pojocacheWithTx.bsh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- pojocacheWithTx.bsh 24 Sep 2006 10:08:23 -0000 1.1
+++ pojocacheWithTx.bsh 24 Sep 2006 15:54:51 -0000 1.2
@@ -47,6 +47,6 @@
//joe.languages.add("German");
//joe.languages.add("French");
-//joe; // this will cause NPE
+//joe;
// cache.stop(); // will stop the cache
1.9 +2 -3 JBossCache/etc/runShellDemo.bat
(In the diff below, changes in quantity of whitespace are not shown.)
Index: runShellDemo.bat
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/runShellDemo.bat,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- runShellDemo.bat 1 May 2006 19:39:07 -0000 1.8
+++ runShellDemo.bat 24 Sep 2006 15:54:51 -0000 1.9
@@ -3,7 +3,7 @@
set CACHE_LIB=./lib
set CACHE_OUTPUT=./output
-set CLASSPATH=%CACHE_LIB%/commons-logging.jar;%CACHE_LIB%/bsh-2.0b4.jar;%CACHE_LIB%/jboss-aop.jar;%CACHE_LIB%/jboss-j2ee.jar;%CACHE_LIB%/jgroups.jar;%CACHE_LIB%/jboss-cache.jar;%CACHE_LIB%/jboss-jmx.jar;%CACHE_LIB%/trove.jar;%CACHE_LIB%/javassist.jar;%CACHE_LIB%/jboss-minimal.jar;%CACHE_LIB%/jboss-common.jar;%CACHE_LIB%/jboss-system.jar;%CACHE_LIB%/log4j.jar;%CACHE_LIB%/concurrent.jar;%CACHE_LIB%/je.jar;%CACHE_LIB%/jboss-remoting.jar;%CACHE_LIB%/jboss-serialization.jar
+set CLASSPATH=%CACHE_LIB%/commons-logging-1.1.jar;%CACHE_LIB%/bsh-2.0b4.jar;%CACHE_LIB%/jboss-aop-jdk50.jar;%CACHE_LIB%/jboss-j2ee.jar;%CACHE_LIB%/jgroups.jar;%CACHE_LIB%/jboss-cache.jar;%CACHE_LIB%/jboss-jmx.jar;%CACHE_LIB%/trove.jar;%CACHE_LIB%/javassist.jar;%CACHE_LIB%/jboss-minimal.jar;%CACHE_LIB%/jboss-common.jar;%CACHE_LIB%/jboss-system.jar;%CACHE_LIB%/log4j-1.2.13.jar;%CACHE_LIB%/concurrent.jar;%CACHE_LIB%/je.jar;%CACHE_LIB%/jboss-remoting.jar;%CACHE_LIB%/jboss-serialization.jar;%CACHE_LIB%/pojocache.jar
set AOP_PATH=%CACHE_OUTPUT%/etc/META-INF
@@ -12,7 +12,6 @@
set LOG4J=%CACHE_OUTPUT%/etc/log4j.xml
set L4J=%LOG4J%
-call build aopc
set ARGS=-Dlog4j.configuration=file:%L4J%
-java -cp %CP% %ARGS% -Djboss.aop.aoppath=%AOP_PATH% bsh.Console
+java -cp %CP% "-javaagent:%CACHE_LIB%\jboss-aop-jdk50.jar" %ARGS% -Djboss.aop.aoppath=%AOP_PATH% bsh.Console
1.9 +3 -9 JBossCache/etc/runShellDemo.sh
(In the diff below, changes in quantity of whitespace are not shown.)
Index: runShellDemo.sh
===================================================================
RCS file: /cvsroot/jboss/JBossCache/etc/runShellDemo.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- runShellDemo.sh 24 Sep 2006 10:08:23 -0000 1.8
+++ runShellDemo.sh 24 Sep 2006 15:54:51 -0000 1.9
@@ -11,13 +11,7 @@
CLASSPATH=${CLASSPATH}:${i}
done
-for i in ${CACHE_LIB}/sleepycat/*.jar
-do
-CLASSPATH=${CLASSPATH}:${i}
-done
-
-
-AOP_PATH=$CACHE_OUTPUT/resources/pojocache-aop.xml
+AOP_PATH=${CACHE_OUTPUT}/resources/pojocache-aop.xml
LOG4J=$CACHE_OUTPUT/etc/log4j.xml
@@ -39,6 +33,6 @@
#JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n"
-ARGS="-javaagent:${CACHE_LIB}/jboss-aop-jdk50.jar -Dlog4j.configuration=file:$L4J"
+ARGS="-javaagent:${CACHE_LIB}/jboss-aop-jdk50.jar -Dlog4j.configuration=file:$L4J -Djboss.aop.aoppath=$AOP_PATH"
-java -cp $CP $ARGS $JAVA_OPTS -Djboss.aop.aoppath=$AOP_PATH bsh.Console &
+java -cp $CP $ARGS $JAVA_OPTS bsh.Console &
More information about the jboss-cvs-commits
mailing list