|
Jazzy example source code file (build.xml)
The Jazzy build.xml source code
<project name="JAZZY - Java Spell Checker" default="clean-build-all" basedir=".">
<!-- set global properties for this build (directory names) -->
<property name="src" value="src"/>
<property name="build" value="bin"/>
<property name="dist" value="dist"/>
<property name="dict" value="dict"/>
<property name="www" value="www"/>
<property name="javadoc" value="javadoc"/>
<property name="jedit-config" value="${src}/com/swabunga/spell/jedit/config"/>
<property name="target" value="1.1"/>
<property name="package" value="com.swabunga.spell.event"/>
<property name="verbose" value="false"/>
<property name="jsdk-lib" value=""/>
<property name="junit" value=""/>
<property name="extrafiles" value="CONTRIBUTORS.txt,LICENSE.txt,README.txt"/>
<!-- Build classpath -->
<path id="classpath.id">
<pathelement path="${classpath}"/>
<pathelement location="${junit}"/>
<!-- external libs needed for build
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
-->
</path>
<path id="bootclass.path">
<fileset dir="${jsdk-lib}">
<include name="*.jar"/>
</fileset>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<mkdir dir="${build}"/>
<mkdir dir="${dist}"/>
<mkdir dir="${dist}/lib"/>
<mkdir dir="${www}"/>
<mkdir dir="${www}/dict"/>
<mkdir dir="${javadoc}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac deprecation="true" verbose="${verbose}" srcdir="${src}" destdir="${build}" target="${target}">
<classpath refid="classpath.id"/>
<exclude name="com/swabunga/spell/jedit/**"/>
<exclude name="com/swabunga/test/**"/>
</javac>
<copy todir="${build}" >
<fileset dir="${src}" >
<include name="**/*.properties"/>
</fileset>
<fileset dir="${basedir}" includes="${extrafiles}"/>
</copy>
</target>
<target name="cross-compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac deprecation="true" verbose="${verbose}" srcdir="${src}" destdir="${build}" target="${target}"
bootclasspathref="bootclass.path">
<classpath refid="classpath.id"/>
<exclude name="com/swabunga/spell/jedit/**"/>
<exclude name="com/swabunga/test/**"/>
</javac>
<copy todir="${build}" >
<fileset dir="${src}" >
<include name="**/*.properties"/>
</fileset>
<fileset dir="${basedir}" includes="${extrafiles}"/>
</copy>
</target>
<target name="debug-compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="true" srcdir="${src}" destdir="${build}"
target="${target}" classpath="${classpath};${junit}">
<!--
Other Jazzy examples (source code examples)Here is a short list of links related to this Jazzy build.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.