Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
<target name="lexer-type-check" unless="lexer.type">
<fail message="Use -Dlexer.type=antlr to specify 'antlr' lexer type or 'javacc', 'handcoded/plain' or 'handcoded/link'."/>
</target>
<target name="test" depends="lexer-type-check" description="Run random test to verify lexer correctness">
<ant dir="${src.demo}/${lexer.type}" target="test" inheritAll="false"/>
</target>
<target name="clean" depends="lexer-type-check" description="Clean class files and generated sources">
<ant dir="${src.demo}/${lexer.type}" target="clean" inheritAll="false"/>
</target>
<target name="help">
<echo message="Targets that require lexer type such as -Dlexer.type=antlr for 'antlr' lexer type"/>
<echo message=" or 'javacc', 'handcoded/plain' or 'handcoded/link':"/>
<echo message="compile Generate demo language sources and compile them (Requires JDK1.4)"/>
<echo message="demo Run demo editor pane (Requires JDK1.4)"/>
<echo message="test Run random test that checks generated lexer correctness (Requires JDK1.4)"/>
<echo message="clean Clean generated language sources and class files"/>
<echo message="rebuild Clean then Compile"/>
<echo message=""/>
<echo message="Global targets:"/>
<echo message="compile-all Generate all demo languages and compile all demo sources"/>
<echo message="clean-all Clean all demo language sources and classes"/>
<echo message="rebuild-all Run clean-all followed by compile-all targets"/>
</target>
</project>
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.