Stephan Herrmann | 7f445fe | 2020-05-01 15:03:15 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2020 Stephan Hermmann and others. |
| 4 | |
| 5 | This program and the accompanying materials |
| 6 | are made available under the terms of the Eclipse Public License 2.0 |
| 7 | which accompanies this distribution, and is available at |
| 8 | https://www.eclipse.org/legal/epl-2.0/ |
| 9 | |
| 10 | SPDX-License-Identifier: EPL-2.0 |
| 11 | |
| 12 | Contributors: |
| 13 | IBM Corporation - initial API and implementation |
| 14 | --> |
| 15 | |
| 16 | <project name="build-parser" default="build" basedir="."> |
| 17 | |
| 18 | <!-- Usage hints: |
| 19 | 1. In your workspace please create a String Substitution named JIKESPG pointing to the jikespg executable. |
| 20 | See Preferences > Run/Debug > String Substitutions |
| 21 | 2. Invoke the script via build-parser.launch |
| 22 | --> |
| 23 | <target name="build"> |
| 24 | <javac srcdir="${basedir}" includes="GenerateParserScript.java" destdir="${basedir}" |
| 25 | classpath="${basedir}/../bin" |
| 26 | debuglevel="lines,source" |
| 27 | source="1.8" |
| 28 | target="1.8"> |
| 29 | <compilerarg/> |
| 30 | </javac> |
| 31 | <java classname="GenerateParserScript" classpath=".:${basedir}/../bin"> |
| 32 | <sysproperty key="JIKESPG" value="${JIKESPG}"/> |
| 33 | </java> |
| 34 | </target> |
| 35 | </project> |