aspose 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


Win a copy of Spring in Action this week in the Spring 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: 217
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: 217
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