Two Laptop Bag
The moose likes Ant, Maven and Other Build Tools and the fly likes <math> problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "<math> problem" Watch "<math> problem" New topic
Author

<math> problem

Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 45
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: 45
Never mind, I figured it out. I needed to add <taskdef> pointing to the ant-contrib jar which has to be installed separately.
 
 
subject: <math> problem
 
Threads others viewed
Avoid clumsy 'if' statements but avoid reflection too.
Retrieval of Key through Values in a Map.
automatically echo project name for each task
ANT noob
Is it possible to use DynaActionForm for the following?
IntelliJ Java IDE