tags:

views:

6

answers:

1

I have created a jar file using ant. I want the jar file to take input from a external file. How can we achieve this?

A: 

The java task has an input attribute that specifies the file that should be used as stdin.

Mark O'Connor