ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Unexpected Attribute Error in Ant 1.6.0
Date Mon, 29 Dec 2003 19:36:35 GMT
What does your taskdef or typedef look like?  You will need something like 

<typedef resource="com/parago/ant/tasks/"

If you had an antlib.xml file available, then you could skip the taskdef and 
typedef (assuming your library exists in ANT_HOME/lib or user.home/.ant/lib) 
and simply add this to your project....

<project xmlns:parago="antlib:com.parago.ant.tasks" ...>

This assumes that antlib.xml is in the com/parago/ant/tasks package.

See the ant-contrib project for an example using antlib.xml.


Quoting Kevin LaVergne <>:

> Howdy,
> I just upgraded to 1.6.0 and was trying to use a namespace to declare
> custom tasks in. I know that in the 1.6 beta versions, you had to declare a
> namespace (just like with any other XML file) in order to use the task name
> format of prefix:taskname. I have the following in my buildfile:
> <project name="Argo" default="help" basedir="."
>      xmlns:parago="">
> .....
> </project>
> I get the following error when trying to run this: Unexpected attribute
> "xmlns:parago"
> Does anyone know why I might be getting this error? Thanks.
> Kevin
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message