This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "The name is undefined" Watch "The name is undefined" New topic
Author

The name is undefined

Ed Bru
Greenhorn

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.
BUILD FAILED
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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: http://ant.apache.org/manual/Tasks/property.html.
 
 
subject: The name is undefined
 
Similar Threads
including a file in a build
urgent help please (creating jar file using ant)
NX: Inserting Directories Into Jar With Ant
help needed in ant
Ant Build Successful but neither jar file nor build folder created ?