New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org.apache.tools.ant.taskdefs.optional.ANTLR was not found when building #3502
Comments
That looks like you have an alternate version of antlr somewhere in your CLASSPATH. The build instructions are correct as they are: there's no need to install antlr; you need the exact version that's included in the repo. Other versions are not compatible, which is what you're seeing here. |
No response; closing. |
Hello, I have just encountered the same issue when trying to compile processing from source (branch master ,cloned on June 19 2016). My system specs: At first I tried to manipulate env. CLASSPATH variable. No success. Then tried to edit build/shared/tools/MovieMaker/build.xml (task javac) to include path to $ANT_HOME/lib, because I thought it's need ant-antlr.jar, still no luck. Google took me here. Finally, I downloaded ant-optional-1.5.4.jar from http://mvnrepository.com/artifact/ant/optional/1.5.4 and put it in $ANT_HOME/lib. Everything works. Processing was built and run. Hope this would help anyone having the same issue. |
Same bug here, running Gentoo amd64. Oracle Java 1.8.92, ant 1.9.2. System-wide installed antlr did not work. |
Finally did as @spthaolt advised, but moved jar to /usr/share/ant-core/lib/ |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm compiling version 3.0a11, but is experiencing an error when I run "ant run."
The full error message is here -> http://pastebin.com/rQ9ZQXzv
From the little I have understanding of the message, it seems to lack the antlr, did his installation, yet the error message is displayed.
I did the tests running antlr via command line and appeared to function properly.
Yet the error message does not change.
I downloaded
antlr-4.5-complete.jar
andantlr-runtime-4.5.1.jar
and copy to the/usr/share/apache-ant/lib/
rename these files by removing the version(ex. antlr-runtime.jar), and also tried to leave onlyantlr.jar
, yet thecompilation does not work.
The reason I'm compiling this is what I'm packing the processing for the Void Linux
The text was updated successfully, but these errors were encountered: