Is it possible for Eclipse to read stdin from a file?
What I did was to create an Ant target and launch it as "Run External" from Eclipse, here are the steps:
res\in.txt and one for the output: res\out.txtCreate a build.xml with the targets you require (this is just an example):
In Eclipse go to: Run->External Tools->External Tools Configurations->Ant Build-> New Launch Configuration use the following configuration:
Section Main
Buildfile: ${workspace_loc:/Tests/build.xml}
Base Directory: ${workspace_loc:/Tests}
*Note: Tests is the name of my Eclipse project
Now you can run your project by clicking in the Run Extenal tool bar button and change the input or output files as you needed