ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gero Vermaas, Sun Java Center" <Gero.Verm...@sun.com>
Subject Problem using own tasks after upgrade to nightly build
Date Thu, 14 Sep 2000 09:59:39 GMT
Hi,

I've been using Ant for a few months now (and I',m really happy with it) and
upgraded from the release build 1.1 to the nightly build today.

When running Ant I'm now getting the following error on one of the own tasks
I've made.:
================
BUILD FAILED

buildorca.xml:37: Could not create task of type: filter_from_file because I
can't find it in the list of task class definitions

Total time: 0 seconds
================

This task worked fine with the release 1.1 build. I double checked that the
class of this task is in my classpath. A snipped from the build.xml file:

<project name="orca" default="properties">
  <target name="init">
    <tstamp/>
    <taskdef name="filter_from_file"
classname="org.apache.tools.ant.taskdefs.optional.FiltersFromFile"/>
    </target>

  <target name="prepare" depends="init">
    <mkdir dir="${classes.dir}" />
    <filter_from_file file="${deployenv}" />
  </target>

</project>

Any idea waht cause this problem?

Regards,
Gero Vermaas
----------------------------------------------------------------------------
---------
Gero Vermaas, Sun Java Center, The Netherlands
Mail:                   Gero.Vermaas@sun.com
Phone:               +31 33 4515737
Sun home page: http://www.holland/~gv103953


Mime
View raw message