diff options
author | Kenneth Russel <[email protected]> | 2008-04-19 17:41:40 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-04-19 17:41:40 +0000 |
commit | 11191045c9b4cff294b180573afaa327d0e6766c (patch) | |
tree | 6f65f2236e194677c1507370ead509773a4bea5f | |
parent | c047af44ab42520ee1a4d9911d5e3bc72dbf884a (diff) |
Fixed Issue 5: build: Use system antlr automatically if jpackage-compatible system
Added available check of /usr/share/java/antlr.jar. Not fully tested.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@74 a78bb65f-1512-4460-ba86-f6dc96a7bf27
-rwxr-xr-x | make/build.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 5b8da31..6ad5e4e 100755 --- a/make/build.xml +++ b/make/build.xml @@ -10,6 +10,10 @@ - clean: clean all built --> <project name="GlueGen" basedir="." default="all"> + <!-- On jpackage.org-compatible systems, antlr.jar can be found in /usr/share/java --> + <available property="antlr.jar" file="/usr/share/java/antlr.jar" + value="/usr/share/java/antlr.jar"/> + <target name="load.user.properties" unless="user.properties.file"> <!-- Load the user specified properties file that defines various host - specific paths. The user will be notified if this is does not |