ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sadaf_Choudhry" <Sadaf_Choud...@infosys.com>
Subject java cup and ant
Date Wed, 15 Dec 2004 11:49:16 GMT
Hi,
I have the following script

	<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}"/>
		<arg value="&lt; ${file}.cup"/>
	</java>

I get the following problem:
    [java] Unrecognized option "< condition.cup"

    [java] Usage: java_cup [options]
    [java]   and expects a specification file on standard input.
    [java]   Legal options include:
    [java]     -package name  specify package generated classes go in
.....

The value of the variable file is "condition"
Anybody ever done this through ant?? Any pointers??

Regards,
Sadaf


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message