0

I am relatively new to Ant, I have written an ant build file that will open command prompt in windows 7 and pass an argument line. So how would I pass a variable in this argument line whose value it will get from a txt file in a certain folder?

Michael
  • 32,527
  • 49
  • 210
  • 370
Jayesh Nayak
  • 159
  • 1
  • 1
  • 14

1 Answers1

0

Try the loadfile task.

See documentation and this answer for examples

Community
  • 1
  • 1
Lydia Ralph
  • 1,455
  • 1
  • 17
  • 33