Re: SystemClassLoader fails to load inside my own ant task

2006-04-21 Thread Marcel Ruff
Thanks, this did indeed work: export LOCALCLASSPATH=$CLASSPATH:$HOME/apache-ant-1.6.5/lib/ant.jar but it seems that as soon as i touch LOCALCLASSPATH i'm forced to add all needed jars of ant/lib to this LOCALCLASSPATH as well (see above example), what is the reason for this? Before the CLASSP

Re: SystemClassLoader fails to load inside my own ant task

2006-04-20 Thread Robert Clark
On Thursday April 20, 2006 13:23, "Peter Reilly" <[EMAIL PROTECTED]> wrote: > Using CLASSPATH will not work as the > ant bash and cmd script messes around with > the CLASSPATH, the classpath given > to java for ant is "LOCALCLASSPATH" which > is set by the script. Of course, my mistake. Peter is

Re: SystemClassLoader fails to load inside my own ant task

2006-04-20 Thread Peter Reilly
Using CLASSPATH will not work as the ant bash and cmd script messes around with the CLASSPATH, the classpath given to java for ant is "LOCALCLASSPATH" which is set by the script. Peter On 4/20/06, Robert Clark <[EMAIL PROTECTED]> wrote: > > On Tuesday April 18, 2006 17:20, Marcel Ruff > <[EMAIL

Re: SystemClassLoader fails to load inside my own ant task

2006-04-20 Thread Robert Clark
On Tuesday April 18, 2006 17:20, Marcel Ruff <[EMAIL PROTECTED]> wrote: > ... > > The java.util.logging.LogManager.java uses following code: > > Class clz = ClassLoader.getSystemClassLoader().loadClass(word); > > It seems the system class loader does not find my XbNotifyHandler > class even that

SystemClassLoader fails to load inside my own ant task

2006-04-19 Thread Marcel Ruff
Hi, i'm using ANT 1.6.5 on Linux (same for JDK 1.4 or 1.5). I have written an own task, inside this i use java.util.logging. When i want to load my own logging handler it fails: [xmlBlasterScript] java.lang.ClassNotFoundException: org.xmlBlaster.util.log.XbNotifyHandler [xmlBlasterScript]

SystemClassLoader fails to load inside my own ant task

2006-04-19 Thread Marcel Ruff
Hi, i'm using ANT 1.6.5 on Linux (same for JDK 1.4 or 1.5). I have written an own task, inside this i use java.util.logging. When i want to load my own logging handler it fails: [xmlBlasterScript] java.lang.ClassNotFoundException: org.xmlBlaster.util.log.XbNotifyHandler [xmlBlasterScript]