/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
OnlineDB/SiStripConfigDb/java/DetIDGenerator/build.xml
60 строк
2 KB
David Mendez
Removed copyright declarations for OnlineDB
18 июл 2013, 13:00
18 июл 2013, 13:00
6104bed
Код
Авторство
О чём код?
<project name="detIDGenerator" default="jar" basedir="."> <description> Delete a given object </description> <!-- set global properties for this build --> <property name="src" location="src"/> <property name="dist" location="bin"/> <property name="build" location="classes"/> <property name="doc" location="docs"/> <target name="init"> <!-- Create the time stamp --> <tstamp/> <!-- Create the build directory structure used to compile --> <mkdir dir="${build}"/> <!-- Create the ressources directory --> <mkdir dir="${build}/ressources"/> <copy file="./RodNumbering.csv" tofile="${build}/ressources/RodNumbering.csv"/> <!-- Create the dist directory structure used to store jar file --> <mkdir dir="${dist}"/> </target> <target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> <javac srcdir="${src}" destdir="${build}" classpath="./bin/DBConnection.jar" deprecation="on" nowarn="off" optimize="on"> <compilerarg value="-Xlint"/> </javac> </target> <target name="jar" depends="compile" description="generate the distribution" > <!-- Put everything in ${build} into the detidGenerator.jar file --> <jar jarfile="${dist}/detidGenerator.jar" basedir="${build}"/> </target> <target name="clean" description="clean up" > <!-- Delete the ${build} and ${dist} directory trees --> <delete dir="${build}"/> <delete dir="${doc}"/> <delete file="${dist}/detidGenerator.jar"/> <delete file="./log.xml"/> </target> <target name="doc" description="Create the code documentation"> <javadoc packagenames="detidGenerator.*, db.*" sourcepath="src" defaultexcludes="yes" destdir="${doc}" author="true" version="true" use="true" windowtitle="DetID Generator documentation"> <doctitle><![CDATA[<h1>DetID Generator</h1>]]></doctitle> <tag name="todo" scope="all" description="To do:" /> </javadoc> </target> </project>