File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes The name is undefined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "The name is undefined" Watch "The name is undefined" New topic

The name is undefined

Ed Bru

Joined: Apr 13, 2011
Posts: 1
I can't seem to figure out what ANT is complaining about here. All of the forum posts I've seen with this error are related to custom or nonstandard tags. I'm not doing that.
C:\XPR\XPR_JAVA\build.xml:4: Problem: failed to create task or type properties
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

thanks in advance
Paul Clapham

Joined: Oct 14, 2005
Posts: 19858

I didn't know that was how you did properties in Ant. So I googled "ant properties" and it led me to a page about the "property" (not "properties") task:
I agree. Here's the link:
subject: The name is undefined
It's not a secret anymore!