ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Lochart" <>
Subject Re: InstantiationException
Date Thu, 22 Jan 2004 18:59:28 GMT
You probably run into problems with your build because you are not creating
a <classpath> and using it in your scripts.
If you are doing this then maybe its a custom task that your build depends
on that isn't getting loaded.  If thats the case
put the jar of your custome task in the ANT_HOME/lib directory and voila  ..
magic happens =)

If thats not it please give more info on why the build is failing.  You
should try NOT to set a CLASSPATH when
you use ant ... it is so not necessary.


Now I've gained some understanding
Of the only world that we see.
Things that I once dreamed of
Have become reality.

These walls that still surround me
Still contain the same old me,
Just one more who's searching for
A world that ought to be.
----- Original Message ----- 
From: "Conway, Ken" <>
To: <>
Sent: Thursday, January 22, 2004 1:33 PM
Subject: InstantiationException

Can anyone tell me what I need to do to run ant 1.6.0 with a CLASSPATH

Current if I try to do so, the following exception occurs:


        at java.lang.Class.newInstance0(Native Method)

        at java.lang.Class.newInstance(Unknown Source)



Of course, when I unset the CLASSPATH ant runs but I then run into
problems with my build process.

Ken Conway

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message