I'm looking at <http://ant.apache.org/manual/CoreTasks/echo.html> but
don't see how to echo a file to the screen (System.out?).

I'm in linux, so it'd be something like:

$ cat foo.txt
or
$ cat foo.txt -n


in windows

C:> type foo.txt


How would is that done from ant so that it's platform independant?  If
it's a tricky problem, then how is that done on linux?

I was writing a (very basic) script in linux, which included the ant
command, but that seems silly.  In linux I'm wanting to string
together these commands:

date
cd /home/thufir/java/
cp /home/thufir/java/tidyBuild/build.xml /home/thufir/java/build.xml -fv
cat build.xml -n
cat tidyBuild/properties.xml -n
cat src/atreides/tidyXhtml/Test16.java -n
cat src/atreides/tidyXhtml/BasicTidy.java -n
cat src/atreides/tidyXhtml/ControlTidy.java -n
ant
cd bin
jar -tf Test16.jar
jar -xf Test16.jar
cat META-INF/MANIFEST.MF -n
java -jar Test16.jar


But I'd rather do that from ant, if possible, or at least the "cat"
(concatenate) part.

Thanks,

Thufir

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to