File: example1.sh

package info (click to toggle)
libquartz-java 1%3A1.8.6-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,444 kB
  • sloc: java: 28,881; xml: 1,267; sh: 225; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Change this to your JDK installation root
#
#JAVA_HOME=/usr/java/j2sdk1.4.0_01

JRE=$JAVA_HOME/jre
JAVA=$JRE/bin/java

workdir=`dirname $0`
workdir=`cd ${workdir} && pwd`
QUARTZ=${workdir}/../..

. ${QUARTZ}/examples/bin/buildcp.sh

LOGGING_PROPS="-Dlog4j.configuration=file:${workdir}/log4j.xml"

$JAVA -classpath $QUARTZ_CP $LOGGING_PROPS org.quartz.examples.example1.SimpleExample