[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how do I setup sablecc-anttask?
I have sableCC 2.18.1, and I'm trying to get the anttask to work.
I created sablecc-anttask.jar and moved it into $ANT_HOME/lib.
My build.xml file has the following:
<target name="parser.sourcecode" depends="init"
description="build parser sourcecode">
<sablecc src="${pre.dir}" outputdirectory="${gensrc.dir}">
<include name="idl-grammar.scc"/>
</sablecc>
</target>
I get the message:
parser.sourcecode:
BUILD FAILED
file:c:/home/kelem/src/java/acad/build.xml:139: Could not create task or
type of type: sablecc.
I tried:
1. Renaming the Ant task "sablecc" to "sablecc-anttask" to match the
name of the jar file.
2. Rename the jar file to sablecc.jar.
3. All permutations of (1) and (2).
What am I doing wrong?
Thanks for your help,
Steve Kelem