Page MenuHomeHEPForge

build.xml
No OneTemporary

build.xml

<project name="HepData" default="all" basedir=".">
<!-- External property defns -->
<property file="${user.home}/build.properties"/>
<property file="build.properties"/>
<property name="compile.debug" value="true"/>
<property name="compile.deprecation" value="false"/>
<property name="compile.optimize" value="true"/>
<!-- Classpaths -->
<path id="classpath">
<fileset dir="${java.root}"><include name="${ant.home}/lib/*.jar"/></fileset>
<fileset dir="${java.root}"><include name="${jwsdp.home}/jaxp/lib/endorsed/*.jar"/></fileset>
<fileset dir="${java.root}"><include name="${lib.path}/*.jar"/></fileset>
<fileset dir="${user.home}"><include name="local/java/lib/*.jar"/></fileset>
</path>
<!-- Build targets -->
<target name="all" depends="clean,compile" description="Cleans first, then compiles"/>
<target name="compile" depends="prepare" description="Compiles the source code">
<echo message="Compiling the source code...."/>
<javac srcdir="${src.home}" destdir="${build.home}"
debug="on" deprecation="on" compiler="modern">
<classpath refid="classpath" />
<compilerarg value="-Xlint:unchecked" />
</javac>
</target>
<target name="prepare" description="Creates the build and dist directories">
<echo message="Creating the required directories...." />
<mkdir dir="${build.home}" />
<mkdir dir="${dist.home}" />
</target>
<target name="clean" description="Removes the build, dist and WEB-INF directories">
<delete dir="${build.home}" />
<delete dir="${dist.home}" />
</target>
<target name="debug" >
<echo message="**Debug**" />
<echo message=" ${build.home}" />
<echo message=" ${src.home}" />
</target>
<!-- Documentation -->
<target name="doc" description="Writes JavaDoc">
<mkdir dir="doc"/>
<tstamp/>
<javadoc destdir="doc" author="true" version="true" use="true" windowtitle="Hepdata API">
<classpath refid="classpath"/>
<fileset dir="${src.home}/cedar/hepdata" defaultexcludes="yes">
<exclude name="*/*.html"/>
<exclude name="db/*"/>
<exclude name="file/*"/>
<exclude name="control/*"/>
<exclude name="util/*"/>
</fileset>
<doctitle><![CDATA[<h1>Hepdata Model</h1>]]></doctitle>
<footer>Generated ${DSTAMP} ${TSTAMP}</footer>
<bottom><![CDATA[<i>HEPData</i>]]></bottom>
<group title="data object model" packages="cedar.hepdata.model"/>
</javadoc>
</target>
</project>

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 8:37 PM (16 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4239788
Default Alt Text
build.xml (2 KB)

Event Timeline