jdillon 2003/08/25 10:05:42
Modified: modules/twiddle/src/conf classworlds.conf twiddle.conf
Log:
o Include etc/* to load resources
Revision Changes Path
1.2 +5 -1
incubator-geronimo/modules/twiddle/src/conf/classworlds.conf
Index: classworlds.conf
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/twiddle/src/conf/classworlds.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- classworlds.conf 25 Aug 2003 15:44:54 -0000 1.1
+++ classworlds.conf 25 Aug 2003 17:05:42 -0000 1.2
@@ -17,6 +17,10 @@
#
[twiddle]
+ # Allow access to resources
+ load ${twiddle.home}/etc/
+
+ # Load required libraries
load ${twiddle.home}/lib/xerces-*.jar
load ${twiddle.home}/lib/castor-*.jar
load ${twiddle.home}/lib/log4j-*.jar
1.3 +15 -1 incubator-geronimo/modules/twiddle/src/conf/twiddle.conf
Index: twiddle.conf
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/twiddle/src/conf/twiddle.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- twiddle.conf 24 Aug 2003 10:54:43 -0000 1.2
+++ twiddle.conf 25 Aug 2003 17:05:42 -0000 1.3
@@ -8,8 +8,22 @@
<include>${twiddle.home}/etc/twiddle/*.conf</include>
</includes>
+ <classworlds>
+ <realm name="whatever">
+ <load>${twiddle.home}/lib/whatever.jar</load>
+ </realm>
+
+ <realm name="otherstuff">
+ <load>${twiddle.home}/lib/otherstuff.jar</load>
+ <import realm="whatever">org.apache.whatever</import>
+ </realm>
+ </classworlds>
+
<commands>
<command name="exit"
code="org.apache.geronimo.twiddle.commands.ExitCommand"/>
+ <command name="whatever"
+ code="org.apache.geronimo.twiddle.commands.WhateverCommand"
+ realm="whatever"/>
</commands>
</configuration>