You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Andrew Sudell <as...@Op.Net> on 2000/02/02 01:40:02 UTC

test -e vs test -f

I ran into a minor issue building the javadoc on Solaris that I don't think
I've seen on the list.  The Javadoc task keeps generating "test argument
expected" from antRun.  After doing a bit of digging, it turns out that at
least on the Solaris 7 I'm running that -e is not supported by the builtin
test in /bin/sh, though it is by the test in /bin and the ksh builtin.
Moving to the somewhat older test -f works fine.

Drew 
-- 
    Drew Sudell        asudell@acm.org         http://www.op.net/~asudell