Browse Source

Use a class that's only in antlrall.jar to add the "real" jar to our

classpath.

PR: 17807


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274373 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
5c01d4c164
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java View File

@@ -235,7 +235,7 @@ public class ANTLR extends Task {
* specify it directly.
*/
public void init() throws BuildException {
addClasspathEntry("/antlr/Tool.class");
addClasspathEntry("/antlr/ANTLRGrammarParseBehavior.class");
}

/**
@@ -268,7 +268,7 @@ public class ANTLR extends Task {
log("Found " + f.getAbsolutePath(), Project.MSG_DEBUG);
createClasspath().setLocation(f);
} else {
log("Couldn\'t find " + resource, Project.MSG_DEBUG);
log("Couldn\'t find " + resource, Project.MSG_VERBOSE);
}
}



Loading…
Cancel
Save