5713N/A# Licensed to the Apache Software Foundation (ASF) under one or more 5713N/A# contributor license agreements. See the NOTICE file distributed with 5713N/A# this work for additional information regarding copyright ownership. 5713N/A# The ASF licenses this file to You under the Apache License, Version 2.0 5713N/A# (the "License"); you may not use this file except in compliance with 5713N/A# the License. You may obtain a copy of the License at 5713N/A# Unless required by applicable law or agreed to in writing, software 5713N/A# distributed under the License is distributed on an "AS IS" BASIS, 5713N/A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 5713N/A# See the License for the specific language governing permissions and 5713N/A# limitations under the License. 5713N/A This script is a translation of the runant.pl written by Steve Loughran. 5713N/A It runs ant with/out arguments, it should be quite portable (thanks to 5713N/A author: Pierre Dittgen pierre.dittgen@criltelecom.com 5713N/A# Change it to 1 to get extra debug information 5713N/A####################################################################### 5713N/A# If ANT_HOME is not set default to script's parent directory 5713N/A# set JAVACMD (check variables JAVACMD and JAVA_HOME) 5713N/A print "Warning: JAVA_HOME is not defined correctly." 5713N/A print "Warning: JAVA_HOME not set." 5713N/A print 'Warning: Unable to locate ant-launcher.jar. Expected to find it in %s' % \
5713N/A# Build up standard classpath (LOCALCLASSPATH) 5713N/A 'org.apache.tools.ant.launch.Launcher %s %s %s') \