ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ClassCastException DefaultLogger
Date Wed, 06 Feb 2002 15:29:32 GMT
On Wed, 6 Feb 2002, Mark Kurley <> wrote:

> java.lang.ClassCastException:
>         at

Very strange.

This is line 142 of that has become part of Ant 1.4.1:


As you don't specify a custom logger, DefaultLogger is the very first
element of the listeners collection and it is a BuildListener, I don't
understand where this exception could come from.

Do you get the same exception with some very easy setup that performs
an <ant> task - which you seem to be doing here.

Something like

<project default="call">
  <target name="call">
    <ant dir="." antfile="${ant.file}" target="sub" />
  <target name="sub">
    <echo message="I'm there" />


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

View raw message