RE: taskdef classpath problem

2005-12-31 Thread Gunnar Sigurdsson
Thanks for you help. Your suggestion did the trick ... Gunnar On Thu, 29 Dec 2005, Rainer Noack wrote: > [cut] > > The ThreadContextClassloader is typically not your task's classloader. > > You can set the ThreadContextClassloader before instantiating > ClassPathXmlApplicationContext. > > Do

RE: taskdef classpath problem

2005-12-30 Thread Rainer Noack
o ant ;-) Cheers Rainer > -Original Message- > From: Gunnar Sigurdsson [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 29, 2005 7:12 PM > To: Ant Users List > Subject: Re: taskdef classpath problem > > > I am not loading the resources directly, that happens as

Re: taskdef classpath problem

2005-12-29 Thread Gunnar Sigurdsson
I am not loading the resources directly, that happens as a side effect of GenDDL using a class from one of these other jars. The full details are like this. Lets say GenDDL.class is in GenDDL.jar, and GenDDL.class calls a class Context.class which is in Context.jar, and that same jar contains a te

Re: taskdef classpath problem

2005-12-29 Thread Stefan Bodewig
On Wed, 28 Dec 2005, Gunnar Sigurdsson <[EMAIL PROTECTED]> wrote: > The GenDDL class depends on other jar files that are in the same > "lib" directory. When the "ddl" target is executed, ant finds the > GenDDL class and executes it, but it does not find resources in the > other jar files. How

taskdef classpath problem

2005-12-28 Thread Gunnar Sigurdsson
I am using ant version 1.6.2. I have a custom task, com.xxx.ant.abc.GenDDL, which is stored in a jar file which is in the "lib" directory indicated in the "fileset" below. The GenDDL class depends on other jar files

taskdef classpath problem when invoking ant from java

2005-04-19 Thread j.alkjaer
Hi there. I have a problem when invoking ant (1.6.1) from a Quartz job which is scheduled in a webapp I have placed the following ant jars in the webapps classpath (WEB-INF/lib) ant.jar ant-jakarta-log4j.jar (I attach a Log4jListner to my project) ant-launcher.jar (probably not needed) ant-nod