| <!-- |
| Copyright (c) 2004, 2010 BREDEX GmbH. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| --> |
| <project name="org.eclipse.jubula.client.core" default="generate"> |
| <property name="src" value="src-gen" /> |
| |
| <property name="sablecc.dir" value="../org.eclipse.jubula.releng/lib/sablecc" /> |
| <property name="parser.grammar.def" value="${sablecc.dir}/parameter.sable" /> |
| <property name="sablecc.jar" value="${sablecc.dir}/sablecc.jar" /> |
| |
| <target name="generate"> |
| <mkdir dir="${src}"/> |
| <java jar="${sablecc.jar}" fork="true" failonerror="true"> |
| <arg value="-d" /> |
| <arg value="${src}" /> |
| <arg value="${parser.grammar.def}" /> |
| </java> |
| </target> |
| </project> |