Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<math> problem

 
Dennis Putnam
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I figured it out. I needed to add <taskdef> pointing to the ant-contrib jar which has to be installed separately.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic