commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-commons/daemon/src/samples SimpleDaemon.sh build.xml
Date Fri, 26 Sep 2003 21:15:24 GMT
jfclere     2003/09/26 14:15:24

  Modified:    daemon/src/samples SimpleDaemon.sh build.xml
  Log:
  Arrange the example to get it running more easly.
  
  Revision  Changes    Path
  1.2       +6 -5      jakarta-commons/daemon/src/samples/SimpleDaemon.sh
  
  Index: SimpleDaemon.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/daemon/src/samples/SimpleDaemon.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleDaemon.sh	4 Sep 2003 23:28:20 -0000	1.1
  +++ SimpleDaemon.sh	26 Sep 2003 21:15:24 -0000	1.2
  @@ -3,18 +3,19 @@
   # Small shell script to show how to start the sample services.
   #
   # Adapt the following lines to your configuration
  -JAVA_HOME=/usr/java/jdk1.3.1
  -DAEMON_HOME=/home1/jakarta/jakarta-commons-sandbox/daemon
  -TOMCAT_USER=jakarta
  +JAVA_HOME=`echo $JAVA_HOME`
  +DAEMON_HOME=`(cd ../..; pwd)`
  +TOMCAT_USER=`echo $USER`
   CLASSPATH=\
   $DAEMON_HOME/dist/commons-daemon.jar:\
   $DAEMON_HOME/dist/SimpleDaemon.jar
   
  -$DAEMON_HOME/dist/jsvc \
  +$DAEMON_HOME/src/native/unix/jsvc \
       -user $TOMCAT_USER \
       -home $JAVA_HOME \
       -cp $CLASSPATH \
  -    SimpleDaemon 
  +    -pidfile ./pidfile \
  +    SimpleDaemon \
   #
   # To get a verbose JVM
   #-verbose \
  
  
  
  1.2       +1 -1      jakarta-commons/daemon/src/samples/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/daemon/src/samples/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	4 Sep 2003 23:28:20 -0000	1.1
  +++ build.xml	26 Sep 2003 21:15:24 -0000	1.2
  @@ -6,7 +6,7 @@
     <property name="dist.home"   value="../../dist"/>
     <property name="build.home"  value="./build"/>
     <property name="source.home" value="."/>
  -  <property name="commons-collections.jar" value="../../../../commons-collections-1.0/commons-collections.jar"/>
  +  <property name="commons-collections.jar" value="${user.home}/commons-collections-2.1/commons-collections.jar"/>
   
     <target name="jars" depends="SimpleDaemon,ServiceDaemon"/>
   
  
  
  

Mime
View raw message