aboutsummaryrefslogtreecommitdiffstats
path: root/make/validate-properties.xml
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-06-15 22:52:34 +0000
committerKenneth Russel <[email protected]>2009-06-15 22:52:34 +0000
commit506b634b780dcd23aa61015c2ceba3e687196abf (patch)
tree897649a36cc769351704a050828f8e0e994c5686 /make/validate-properties.xml
parent04c0c10bfee764dbd0301ae83a0fae695dcb5b23 (diff)
Deleted obsolete source code in preparation for copying JOGL_2_SANDBOX
on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1958 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/validate-properties.xml')
-rw-r--r--make/validate-properties.xml71
1 files changed, 0 insertions, 71 deletions
diff --git a/make/validate-properties.xml b/make/validate-properties.xml
deleted file mode 100644
index 4a2d386c9..000000000
--- a/make/validate-properties.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- - A validator for all of the user-defined properties. It will be called
- - from build.xml in the "init" task.
- -->
-<project name="Configuration validator" default="validate">
-
- <!-- ================================================================== -->
- <!--
- - Ensure that "antlr.jar" is set.
- -->
- <target name="antlr.jar.validate" unless="antlr.jar">
- <fail>
-
- *****************************************************************
- ** The property "antlr.jar" was not set in the JOGL properties **
- ** file **
- ** "${user.properties.file}" **
- ** (or this file was not found). **
- ** **
- ** Please set "antlr.jar" to to the full path of the ANTLR jar **
- ** including the jar itself. **
- *****************************************************************
- </fail>
- </target>
-
- <!--
- - Ensure that "java.home.dir" is set.
- - NOTE: "java.home" is an internal property for ANT that is not
- - typically set to what the build needs it to be.
- -->
- <target name="java.home.dir.validate" unless="java.home.dir">
- <fail>
-
- *************************************************************
- ** The property "java.home.dir" was not set in the JOGL **
- ** properties file **
- ** "${user.properties.file}" **
- ** (or this file was not found). **
- ** **
- ** Please set "java.home.dir" to your JAVA_HOME directory. **
- *************************************************************
- </fail>
- </target>
-
- <!--
- - Make sure that jogl.jar is not on the CLASSPATH; this can cause
- - builds to fail since if this Java process has the jar file open
- - we can not overwrite it.
- -->
- <target name="java.class.path.validate">
- <available property="jogl.jar.on.class.path" classname="javax.media.opengl.GL" />
- <fail if="jogl.jar.on.class.path">
-
- ******************************************************************
- ** Your CLASSPATH environment variable appears to be set (some **
- ** JOGL classes are currently visible to the build.) This can **
- ** cause the build to fail. Please unset your CLASSPATH **
- ** variable and restart the build. **
- ******************************************************************
- </fail>
- </target>
-
- <!-- ================================================================== -->
- <!--
- - Validate the required properties
- -->
- <target name="validate" depends="antlr.jar.validate, java.home.dir.validate, java.class.path.validate"
- description="Validate required properties" />
-
-</project>