How do I set up eclipse to run my new java code in a pipeline?
I want to run another program before it and pipe (IPC FIFO) the output of that into java.
I am currently developing with cygwin on windows. I have a nice little script:
I have a nice little script:
$ cat compile-and-test-csvToSvgGantt.bash
#!/bin/bash
cp -p csvToSvgGantt-2012-03-30-001.java csvToSvgGantt.java
cat PREDECESSOR-no-eu-no-missing-start-2012-03-28-001-sql-out.csv |
awk -F',' '{print $1","$15","$13}' |
( /bin/rm -f csvToSvgGantt.class ; javac csvToSvgGantt.java ; java csvToSvgGantt ; )
I have google’d and some say “just use -d" but should “-d” go in “program arguments” or “vm arguments” or somewhere else
Should I replace “javaw” with “C:\cygwin\bin\bash c:\my-javaw-wrapper.bash” ?
Some other pages say “give up and use System.setIn()” which I suppose could be interesting, but I am trying to take this thing in small steps and “multithreaded IPC with exec()” is a bit out of scope.
Any advice?
--
Brian Fennell
Sr. Documentation Analyst / Software Engineer
GSI Commerce Inc.
fennellb@xxxxxxxxxxxxxxx
The information contained in this electronic mail transmission is intended only for the use of the individual or entity named in this transmission. If you are not the intended recipient of this transmission, you are hereby notified that any disclosure, copying or distribution of the contents of this transmission is strictly prohibited and that you should delete the contents of this transmission from your system immediately. Any comments or statements contained in this transmission do not necessarily reflect the views or position of GSI Commerce, Inc. or its subsidiaries and/or affiliates.
>++++++++++[>++++++++++>++++++++++>++++++++++>+++++++++++>+++++++++++>++++++++++>+++++++++++>+++++++++++><<<<<<<<<-]>-->++>+>>>+>-->--><<<<<<<<<>.>.>.>.>.>.>.>.