I’m trying to use jsmin with nant – and it just uses stdin and stdout for input and output. The nant ‘exec’ task allows you to redirect the output to a file, but not get the input from a file.
I have tried with a ‘commandline’ using ‘>’ and ‘<‘ to direct the input and output, but nant just goes away and doesn’t come back 🙁
I can’t believe no-one’s tried to do this before. Please help! 🙂
From http://www.mail-archive.com/nant-developers@lists.sourceforge.net/msg04575.html. You should be able to do something similar to: