ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: java cup and ant
Date Wed, 15 Dec 2004 13:16:28 GMT
On Wed, 15 Dec 2004, Sadaf Choudhry <>

> 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"
		<arg value="-symbols"/>
		<arg value="${file}Sym"/>
		<arg value="-parser"/>
		<arg value="${file}"/>
		<arg value="-package"/>
		<arg value="mypackage.${file}"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message