On Wed, 15 Dec 2004, Sadaf Choudhry <[EMAIL PROTECTED]>
wrote:
> I understand that I can use <exec>, but that would make it
> os-dependent.
So I was too terse.
The problem is that you pass your input file via < filename and this
simply doesn't work (and the FAQ says so).
Use <java>'s input attribute instead.
<java classpathref="classpath" classname="java_cup.Main"
input="${file}.cup">
<arg value="-symbols"/>
<arg value="${file}Sym"/>
<arg value="-parser"/>
<arg value="${file}"/>
<arg value="-package"/>
<arg value="mypackage.${file}"/>
</java>
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]