Bug 350

Summary: build: Use system antlr automatically if jpackage-compatible system
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: look up antlr in /usr/share/java

Description Sven Gothel 2010-03-24 07:51:22 CET


---- Reported by colinwalters 2008-03-29 09:43:10 ----

Hi, the jpackage.org (http://jpackage.org/) project defines a means by which
Java libraries can install into the base operating system; in a nutshell, jar
files are all placed in /usr/share/java.  

The attached patch allows jogl's build system to automatically detect this, and
work out of the box on jpackage.org-compatible systems.  This is an intermediate
step until JSR277 is complete.



---- Additional Comments From colinwalters 2008-03-29 09:43:32 ----

Created an attachment
look up antlr in /usr/share/java




---- Additional Comments From kbr 2008-04-19 10:48:04 ----

Added available check of /usr/share/java/antlr.jar. Not fully tested.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 350 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=350
Imported an attachment (id=121)

The original submitter of attachment 121 [details] is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.