Re: Problem with the classpath

2009-08-11 Thread Brian Pontarelli
I was definitely referring to removing the env variable. The issue you are encountering is that java tends to favor the env. variable. I would suggest telling all your developers to remove the variable as well as editing the ant script to clear out the variable prior to invoking ant. Someth

Re: Problem with the classpath

2009-08-11 Thread espinha
Hello Brian, The problem is exactly that: we don't want to use the environment variable. In fact, we want it to be ignored by Ant, which is proving to be difficult. What I'm trying to achieve is that Ant always picks up the jars defined in the classpath **attribute** on the build.xml rather than

Re: Problem with the classpath

2009-08-10 Thread Brian Pontarelli
I would definitely avoid the environment variable if possible. In 12 years of Java work, I've never used that variable. Try to be very explicit about the classpath for each thing you are doing and very very specific about versions of all the JARs on the classpath. Once you have removed the

Re: Problem with the classpath embedding ant

2008-07-08 Thread chuchi
Hi again, If I comment the and the works fine. As you can see, the java task load the libraries correctly but the taskdef task not El mar, 08-07-2008 a las 17:36 +0200, chuchi escribió: > Hi all, > > I'm trying to embed ant into an application but I have a lot of > problems. I have t