File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
Don't get me started about those stupid light bulbs.
 
subject: <math> problem
 
Similar Threads
Avoid clumsy 'if' statements but avoid reflection too.
ANT noob
Is it possible to use DynaActionForm for the following?
Retrieval of Key through Values in a Map.
automatically echo project name for each task