Location: JWare Software » PEd4Ant » Check Install
Check Install
This script will verify whether you’ve correctly installed PEd4Ant and all its dependencies. Note that the script shown below is always the latest version of the script to match the latest PEd4Ant distribution, even if that's a beta release. If you have an older version of PEd4Ant, you should use the script that came with your binary distribution (under etc/ped4ant-install-check.xml).
PEd4AntCheck Install Ant Script
<?xml version="1.0" encoding="UTF-8" ?>
<!--
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Do-nothing project that ensures Ant can locate and load JWare/PEd4Ant. |
| Expects to be run from <PED4ANT_HOME>/etc directory. |
| |
| (c) 2009-2011 Sandbox Software MC. All rights reserved. |
|________________________________________________________________________|
-->
<project name="ped4ant:check" basedir="." default="about-ped4ant"
xmlns:oja="jwaresoftware.antxtras" xmlns:ped="jwaresoftware.ped4ant" >
<description>Verify a 'bin_withdeps' PEd4Ant installation</description>
<!-- Load PEd4Ant distribution .jar files into Ant -->
<dirname property="PED4ANT_HOME" file="${basedir}"/>
<path id="jwtools.path">
<fileset dir="${PED4ANT_HOME}">
<include name="dep/*/lib/*.jar"/>
<include name="lib/*.jar"/>
</fileset>
</path>
<taskdef uri="jwaresoftware.antxtras"
resource="org/jwaresoftware/antxtras/install/antlib.xml"
classpathref="jwtools.path" loaderref="jwtools.classloader"/>
<taskdef uri="jwaresoftware.ped4ant"
resource="org/jwaresoftware/ped4ant/antlib.xml"
loaderref="jwtools.classloader"/>
<!-- We need a default target, so why not celebrate -->
<target name="about-ped4ant">
<oja:vendorinfo name="ped4ant"/>
<echo level="info" message="RELEASE: ${ped4ant.build.label}"/>
<ped:makeproperties under="about">
<string value="label=${ped4ant.build.label}"/>
</ped:makeproperties>
</target>
</project>
<!-- $Id: ped4ant-install-check.xml 1250 2011-08-20 17:22:32Z ssmc $ -->