diff --git a/antlr-clean-generated b/antlr-clean-generated deleted file mode 100644 index e8fbcca..0000000 --- a/antlr-clean-generated +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/python -# Clean out files which look to have been generated by antlr -# Author: Colin Walters -# This file is hereby placed into the public domain. - -import os,sys,re - -_antlr_compiled_re = re.compile(r'// \$ANTLR.*:.*->.*\$$') - -def clean_antlr_generated(basedir): - for (dpath,subdirs,fnames) in os.walk(basedir): - for fname in fnames: - fpath = os.path.join(dpath, fname) - f = open(fpath) - first = f.readline() - f.close() - if _antlr_compiled_re.match(first): - print "Deleting antlr-compiled %s" % (fpath,) - os.unlink(fpath) - -if __name__ == '__main__': - basedir = sys.argv[1] - clean_antlr_generated(basedir) diff --git a/antlr-pom.patch b/antlr-pom.patch new file mode 100644 index 0000000..9ec176f --- /dev/null +++ b/antlr-pom.patch @@ -0,0 +1,94 @@ +--- gunit/pom.xml.orig 2010-01-29 02:12:43.000000000 +0100 ++++ gunit/pom.xml 2010-01-29 02:12:54.000000000 +0100 +@@ -142,16 +142,6 @@ + maven-surefire-plugin + + +- +- org.codehaus.mojo +- findbugs-maven-plugin +- +- true +- true +- true +- +- +- + + + +--- runtime/Java/pom.xml.orig 2010-01-29 02:13:13.000000000 +0100 ++++ runtime/Java/pom.xml 2010-01-29 02:13:21.000000000 +0100 +@@ -104,15 +104,6 @@ + + + +- +- org.codehaus.mojo +- findbugs-maven-plugin +- +- true +- true +- true +- +- + + + +--- tool/pom.xml.orig 2009-09-23 20:50:28.000000000 +0200 ++++ tool/pom.xml 2010-02-01 13:01:08.000000000 +0100 +@@ -75,8 +82,7 @@ + + + +- org.codehaus.mojo +- antlr-maven-plugin ++ maven-antlr-plugin + + src/main/antlr2/org/antlr/grammar/v2 + antlr.g codegen.g, antlr.print.g, assign.types.g, buildnfa.g, define.g +--- pom.xml.orig 2009-09-23 20:46:18.000000000 +0200 ++++ pom.xml 2010-02-01 13:45:20.000000000 +0100 +@@ -146,25 +154,6 @@ + + + +- +- org.codehaus.mojo +- buildnumber-maven-plugin +- +- {0,date,MMM dd, yyyy} {0,time,kk:mm:ss} +- +- timestamp +- +- +- +- +- validate +- +- create +- +- +- +- +- + + maven-compiler-plugin + +@@ -179,16 +168,6 @@ + + + +- org.codehaus.mojo +- findbugs-maven-plugin +- +- true +- true +- true +- +- +- +- + +