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 <math> problem 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 "<math> problem" Watch "<math> problem" New topic
Author

<math> problem

Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 210
I have the following sequence:

The first echo generates the following as expected:

[echo] 1001 - 60286 - -

At that point the build fails on the math task. The error says, Cause: The name is undefined.

Since it is obvious that it cannot be referring to ${serialnumber}, I have no clue to what "The name" refers. Can anyone shed any light on this? TIA.
Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 210
Never mind, I figured it out. I needed to add <taskdef> pointing to the ant-contrib jar which has to be installed separately.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <math> problem
 
Similar Threads
automatically echo project name for each task
Is it possible to use DynaActionForm for the following?
Avoid clumsy 'if' statements but avoid reflection too.
Retrieval of Key through Values in a Map.
ANT noob