On Tue, 24 Jun 2008, tdakanalisw <[EMAIL PROTECTED]> wrote:

> unfortunately I cannot run the task outside of a J2EE container. Is
> there any way to use the fixed class ?

You can manually patch Ant (see
<http://svn.apache.org/viewvc?view=rev&revision=671018>) or build Ant
from trunk - no other way.

> Important: The problem is that when I run the ant build in the
> eclipse platform everything are ok but when I run the same come as
> part of an application in the geronimo application server I get a
> NullPointerExeption error.

Yes.  Something inside your huge stack of software involved -
Geronimo, Jetty, Axis2 or your custom Ant task - adds something to the
system properties that has not a String value (i.e. they abuse the
methods Properies inherits from Hashtable and in a way violate the
contract of the Properties classe).  Ant is not (has not been)
prepared for this abuse and thus fails.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to