jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asm...@apache.org
Subject cvs commit: jakarta-turbine-jcs/src/scripts jgtest.bat jgtest_send.sh jgtest_send.bat
Date Wed, 25 May 2005 13:39:24 GMT
asmuts      2005/05/25 06:39:24

  Added:       src/scripts jgtest.bat jgtest_send.sh jgtest_send.bat
  Log:
  adding jgroups test environment script
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-jcs/src/scripts/jgtest.bat
  
  Index: jgtest.bat
  ===================================================================
  @echo off
  
  call prep.bat
  
  rem-Dlog4j.configuration=I:/dev/jakarta-turbine-jcs/src/scripts/log4j.properties
     
  :run
  java org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555 
  
  
  
  
  
  1.1                  jakarta-turbine-jcs/src/scripts/jgtest_send.sh
  
  Index: jgtest_send.sh
  ===================================================================
  #!/bin/zsh -f
  THIS_DIR=$(dirname $0)
  
  export CLASSPATH=${THIS_DIR}/../../src/conf
  export CLASSPATH=${CLASSPATH}:${THIS_DIR}/../../target/test-classes
  export CLASSPATH=${CLASSPATH}:${THIS_DIR}/../../target/classes
  export CLASSPATH=${CLASSPATH}:.
  
  for i in `find ${THIS_DIR}/../../jars -name "*.jar" `
  do
          export CLASSPATH=${CLASSPATH}:$i
  done
  
  
  
  echo ${CLASSPATH}
  #-Xrunhprof:cpu=samples,depth=6,thread=y
  
  ${JAVA_HOME}/bin/java  -ms90m -mx400m -verbosegc -classpath "${CLASSPATH}" org.jgroups.tests.McastSenderTest
-mcast_addr 224.10.10.10 -port 5555 -ttl 32 
  
  
  
  1.1                  jakarta-turbine-jcs/src/scripts/jgtest_send.bat
  
  Index: jgtest_send.bat
  ===================================================================
  @echo off
  
  call prep.bat
  
  rem-Dlog4j.configuration=I:/dev/jakarta-turbine-jcs/src/scripts/log4j.properties
     
  :run
  java org.jgroups.tests.McastSenderTest -mcast_addr 224.10.10.10 -port 5555 -ttl 32 
  
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Mime
View raw message