build.xml revision 0
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk Redistribution and use in source and binary forms, with or without
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk modification, are permitted provided that the following conditions
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk - Redistributions of source code must retain the above copyright
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk notice, this list of conditions and the following disclaimer.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk - Redistributions in binary form must reproduce the above copyright
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk notice, this list of conditions and the following disclaimer in the
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk documentation and/or other materials provided with the distribution.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk - Neither the name of Sun Microsystems nor the names of its
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk contributors may be used to endorse or promote products derived
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk from this software without specific prior written permission.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk This is ant (http://ant.apache.org) build script to build the jconsole
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk script console plugin.
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk<project name="JConsole Script Shell Plugin" default="all" basedir=".">
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <!-- property definitions -->
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <property name="app.name" value="jconsole-plugin"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <property name="jconsole.jar.dir" value="${java.home}/lib"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <property name="dist.jar" value="${build.dir}/${app.name}.jar"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <property name="classes.dir" value="${build.dir}/classes"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <property name="resources.dir" value="${classes.dir}/resources"/>
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <!-- make directories required -->
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <!-- we need jconsole.jar in CLASSPATH to build -->
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <pathelement path="${jconsole.jar.dir}/jconsole.jar" />
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <target name="compile" depends="prepare" description="compiles the sources">
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk <target name="all" depends="compile" description="buile deployment bundle">
c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0jeff.schenk basedir="${classes.dir}"/>