[antlr-interest] Java 1.1 Patch for Antlr-2.7.2

rjc at trump.net.au rjc at trump.net.au
Tue Mar 25 16:27:42 PST 2003


Hi,

I quickly hacked together a java 1.1 patch for antlr-2.7.2  There was only the HashSet to 
Hashtable and one other place where a 1.2 method in java.io.File was used(see the diff file 
for details).

to apply:
tar zxvf antlr-2.7.2.tar.gz
cd antlr-2.7.2
patch -p1 < java1.1.diff
1.2+) java antlr.build.Tool build
      java antlr.build.Tool jar
1.1)  java -classpath /usr/lib/jdk1.1/classes.zip:. antlr.build.Tool build
      java  -classpath /usr/lib/jdk1.1/classes.zip:.  antlr.build.Tool jar

which should leave you with an antlr.jar that can be used with 1.1

PS For some reason in the distribution the file privileges of a lot of files are read only, 
you might need to 'chown -R 644 *.java' before trying to build.

 - Robert
 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: C:\temp\java1.1.diff
Type: application/octet-stream
Size: 5771 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20030326/85b00e42/java1.1.obj


More information about the antlr-interest mailing list