1
<?xml version="1.0" encoding="UTF-8"?>
3
- A validator for all of the user-defined properties. It will be called
4
- from build.xml in the "init" task.
6
<project name="Configuration validator" default="validate">
9
- Make sure that gluegen.jar is not on the CLASSPATH; this can cause
10
- builds to fail since if this Java process has the jar file open
11
- we can not overwrite it.
13
<target name="java.class.path.validate">
14
<available property="gluegen.jar.on.class.path" classname="com.jogamp.gluegen.GlueGen" />
15
<fail if="gluegen.jar.on.class.path">
16
*******************************************************************
17
** Your CLASSPATH environment variable appears to be set (some **
18
** GlueGen classes are currently visible to the build.) This can **
19
** cause the build to fail. Please unset your CLASSPATH **
20
** variable and restart the build. **
21
*******************************************************************
25
<!-- ================================================================== -->
27
- Validate the required properties
29
<target name="validate" depends="java.class.path.validate"
30
description="Validate required properties" />