Skip to content
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

building ANTLR 3.5.2 #188

Open
kavi33 opened this issue May 2, 2017 · 1 comment
Open

building ANTLR 3.5.2 #188

kavi33 opened this issue May 2, 2017 · 1 comment

Comments

@kavi33
Copy link

kavi33 commented May 2, 2017

I want to manually build ANTLR using the jar files.
I followed these steps:
Having the latest source helps: I used the mirror at github, downloaded the zip file from the web interface. Cloning gave me errors.
cd in to the unzipped directory, then:

mvn -N install
mvn -Dmaven.test.skip=true

Its failing with
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ANTLR 3 Master build control POM ................... SUCCESS [ 0.840 s]
[INFO] ANTLR 3 Runtime .................................... SUCCESS [ 4.233 s]
[INFO] ANTLR 3 Tool ....................................... SUCCESS [ 17.335 s]
[INFO] ANTLR 3 Maven plugin ............................... SUCCESS [ 2.630 s]
[INFO] ANTLR 3 gUnit ...................................... SUCCESS [ 6.687 s]
[INFO] ANTLR 3 gUnit Maven plugin ......................... SUCCESS [ 0.907 s]
[INFO] ANTLR 3 Maven Archetype ............................ SUCCESS [ 1.544 s]
[INFO] ANTLR 3 Complete ................................... FAILURE [ 1.016 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.908 s
[INFO] Finished at: 2017-05-02T10:19:53-07:00
[INFO] Final Memory: 32M/349M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.0:shade (complete-no-st3) on project antlr-complete: Error creating shaded jar: error in opening zip file /home/kavig/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7-sources.jar -> [Help 1]

Any idea on this issue would be helpful

@timeraider4u
Copy link

timeraider4u commented May 17, 2017

I am sorry, but I cannot confirm your bug report:
Running

git clone https://github.com/antlr/antlr3
cd antlr3
mvn -N install
mvn -Dmaven.test.skip=true

results in

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ANTLR 3 Master build control POM ................... SUCCESS [  0.376 s]
[INFO] ANTLR 3 Runtime .................................... SUCCESS [ 10.054 s]
[INFO] ANTLR 3 Tool ....................................... SUCCESS [ 19.045 s]
[INFO] ANTLR 3 Maven plugin ............................... SUCCESS [  6.560 s]
[INFO] ANTLR 3 gUnit ...................................... SUCCESS [  4.661 s]
[INFO] ANTLR 3 gUnit Maven plugin ......................... SUCCESS [  0.638 s]
[INFO] ANTLR 3 Maven Archetype ............................ SUCCESS [  3.537 s]
[INFO] ANTLR 3 Complete ................................... SUCCESS [  5.812 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 min
[INFO] Finished at: 2017-05-17T20:51:32+02:00
[INFO] Final Memory: 57M/721M
[INFO] ------------------------------------------------------------------------

for me.

You might try to run maven with the -X option to get a more verbose output - http://maven.apache.org/archives/maven-1.x/faq.html#debug-maven

Please also note that ANTLR3 is not supported any more. Try switching to ANTLR4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants