Re: [Rabbit-proxy-development] Writing own filters
Brought to you by:
ernimril
|
From: Robert O. <ro...@kh...> - 2006-10-09 16:00:41
|
Fredric Palmgren wrote:
> ...and I am starting RabbIT with: java -jar jars/rabbit3.jar -cp
> jars/myFilter.jar -f conf/rabbit.conf &
Failure to read the man page for java.
When you run "java -jar" CLASSPATH and "-cp foo.jar" will be ignored.
You can:
1) Change the manifest and update the "Class-Path" entry
2) Start rabbit with something like:
java -cp \
jars/rabbit.jar:external_libs/dnsjava-2.0.1.jar:you/filters.jar \
rabbit.proxy.ProxyStarter -f conf/rabbit.conf
3) Make rabbit use a class loader that automatically loads extra jars
from RabbIT3/some_directory
I hope I will have time to do 3 some day, but it is a low priority thing
for me.
/robo
|