Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\examples\build.xml
<project name="examples" default="build" basedir="."> <!-- Note: Before running this ant build script for the first time, look at build.properties in the same directory as this file and verify that the required JAR files are at the locations specified in that file. By default, these JAR files should be located in the sub-directory 'lib'. --> <property file="build.properties" /> <!-- Defaults --> <property name="DEBUG" value="false" /> <property name="sources" location="src"/> <property name="classes" location="classes" /> <property name="lib" location="lib" /> <property name="jar" location="bin" /> <property name="jarfile" value="${jar}/${ant.project.name}.jar"/> <path id="olaplib"> <fileset file="${OLAPI_JAR}" /> <fileset file="${JDBC_JAR}" /> <fileset file="${XMLPARSER_JAR}" /> </path> <!-- specify the list of files to compile --> <patternset id="sourcefiles"> <include name="**/*.java"/> </patternset> <!-- This is the default build target. --> <target name="build" depends="clean,make" /> <!-- define 'requirements' property only if all required jars are present. This target FAILS if any of the JARs cannot be found. It can therefore be used as a prerequisite to other build tasks. --> <target name="requirements"> <available file="${OLAPI_JAR}" property="found.file1" /> <available file="${JDBC_JAR}" property="found.file2" /> <available file="${XMLPARSER_JAR}" property="found.file3" /> <fail message="File $(OLAPI_JAR} is missing." unless="found.file1" /> <fail message="File ${JDBC_JAR} is missing." unless="found.file2" /> <fail message="File ${XMLPARSER_JAR} is missing." unless="found.file3" /> <echo message="All requirements met."/> </target> <target name="tstamp"> <tstamp/> </target> <target name="info" > <echo message="Project base directory (basedir) = ${basedir}" /> <echo message="OLAPI_JAR = ${OLAPI_JAR}" /> <echo message="JDBC_JAR = ${JDBC_JAR}" /> <echo message="XMLPARSER_JAR = ${XMLPARSER_JAR}" /> <echo message="Java VM=${java.version}" /> <echo message="DEBUG flag=${DEBUG}" /> <!-- The requirements target is not a dependency so that we can always print the configuration before failing the build. --> <antcall target="requirements" /> </target> <target name="init" depends="tstamp,requirements"> <!-- Create the build directory structure used by compile and jar --> <mkdir dir="${classes}"/> <mkdir dir="${jar}" /> </target> <target name="clean" depends="init"> <!-- Delete the classes directory trees --> <delete> <!-- delete all class files and jar files --> <fileset dir="${classes}" includes="**/*.class" /> <fileset dir="${jar}" includes="${jarfile}" /> </delete> </target> <target name="make" depends="init" > <javac destdir="${classes}" sourcepath="" srcdir="${sources}" debug="${DEBUG}"> <patternset refid="sourcefiles"/> <classpath refid="olaplib"/> </javac> </target> <target name="jar" depends="make" > <jar jarfile="${jarfile}" basedir="${classes}" /> </target> </project>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de