v4: remove stale code (and fix broken build)

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9539]
This commit is contained in:
sharwell 2011-12-06 13:31:34 -08:00
parent af8e1edb32
commit cb5d55512a
1 changed files with 0 additions and 10 deletions

View File

@ -271,16 +271,6 @@ public abstract class BaseTest {
* Had rules called r and modulo. Wouldn't compile til I changed to 'a'.
*/
protected boolean compile(String... fileNames) {
String classpathOption = "-classpath";
String[] args = new String[] {
"javac", "-d", tmpdir,
classpathOption, tmpdir+pathSep+CLASSPATH,
tmpdir+"/"+fileName
};
String cmdLine = "javac" +" -d "+tmpdir+" "+classpathOption+" "+tmpdir+pathSep+CLASSPATH+" "+fileName;
//System.out.println("compile: "+cmdLine);
List<File> files = new ArrayList<File>();
for (String fileName : fileNames) {
File f = new File(tmpdir, fileName);