This has been fixed in 1.5.1Beta1.  Thanks for observing
and reporting.

Cheers,
Magesh

****************************************************
*  Atom Bomb: An invention to end all inventions.  *
****************************************************
----- Original Message -----
From: "Michael Zhou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 2:42 AM
Subject: filterchain throws NullPointException


> Hi,
>
> try this task:
>
> <copy file="c:/hello.txt" tofile="c:/hello.bak">
>     <filterchain>
>         <!--expandproperties/-->
>         <filterreader
classname="org.apache.tools.ant.filters.ExpandProperties"/>
>     </filterchain>
> </copy>
>
> The preceding task will throw a NullPointException in the Ant 1.5.
>
> The same thing happens when I'm trying to make my own filter, which
> extends from BaseParamFilterReader and invokes getProject() to get some
> informations from ant.  Unfortunately, getProject() returns null.
>
> Uncomment the "<!--expandproperties/-->" in preceding task, and it works.
> Is there any way to make my own filter work like the built-in filters?
>
> --
> Michael Zhou <[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to