Hi, I was wondering where the antlr3 repo that is used to build antlr4 is? I read in an email earlier that it was in //depot/code/antlr/antlr3-main/... but I don't have any luck with that:
argus% git p4 clone //depot/code/antlr/antlr3-main/main@all . Importing from //depot/code/antlr/antlr3-main/main@all into . Reinitialized existing Git repository in /h/argus/2/j/antlr3/g/antlr3/antlr3/.git/ No changes to import! Could not detect main branch. No checkout/master branch created. argus% pwd /h/argus/2/j/antlr3/g/antlr3/antlr3 argus% cat .p4config P4PORT=antlr.org:666 P4USER=mwright P4CLIENT=mwright-antlr3 argus% Another email sort of made be guess that maybe its in //depot/code/antlr/main/... but its missing the runtime/Java/src/main/resources directory, the build fails: [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /h/argus/2/j/antlr3/g/antlr3/antlr3/runtime/Java/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ antlr-runtime --- [INFO] Compiling 86 source files to /h/argus/2/j/antlr3/g/antlr3/antlr3/runtime/Java/target/classes [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping ANTLR Master build control POM [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ANTLR Master build control POM .................... SUCCESS [0.369s] [INFO] Antlr 3 Runtime ................................... FAILURE [12.466s] [INFO] ANTLR Grammar Tool ................................ SKIPPED [INFO] Maven plugin for ANTLR V3 ......................... SKIPPED [INFO] ANTLR gUnit ....................................... SKIPPED [INFO] Maven plugin for gUnit ANTLR V3 ................... SKIPPED [INFO] ANTLR3 Maven Archetype ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19.969s [INFO] Finished at: Sun Jul 17 18:56:05 EST 2011 [INFO] Final Memory: 11M/239M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project antlr-runtime: Compilation failure: Compilation failure: [ERROR] /h/argus/2/j/antlr3/g/antlr3/antlr3/runtime/Java/src/main/java/org/antlr/runtime/tree/DOTTreeGenerator.java:[30,28] package org.stringtemplate.v4 does not exist [ERROR] [ERROR] /h/argus/2/j/antlr3/g/antlr3/antlr3/runtime/Java/src/main/java/org/antlr/runtime/tree/DOTTreeGenerator.java:[55,15] cannot find symbol [ERROR] symbol : class ST [ERROR] location: class org.antlr.runtime.tree.DOTTreeGenerator [ERROR] The reason I was trying to build antlr3 is the antlr4 build fails, I was wondering if I'm using the wrong antlr3 to build antlr4: /h/argus/2/j/antlr4/g/antlr4/antlr4/runtime/Java/src/org/antlr/v4/runtime/tree/gui/JTreeASTModel.java /h/argus/2/j/antlr4/g/antlr4/antlr4/tool/src/org/antlr/v4/Tool.java:435: cannot find symbol symbol : method freshenParentAndChildIndexesDeeply() location: class org.antlr.v4.tool.GrammarAST lexerRulesRoot.freshenParentAndChildIndexesDeeply(); ^ /h/argus/2/j/antlr4/g/antlr4/antlr4/tool/src/org/antlr/v4/semantics/BasicSemanticTriggers.java:1331: cannot find symbol symbol : method checkTokenArgs(org.antlr.runtime.Token) location: class org.antlr.v4.semantics.BasicSemanticChecks if ( state.backtracking==1 ) {checker.checkTokenArgs(TOKEN_REF8.token);} /h/argus/2/j/antlr4/g/antlr4/antlr4/tool/src/org/antlr/v4/semantics/BasicSemanticTriggers.java:1478: checkTokenOptions(org.antlr.v4.tool.GrammarAST,java.lang.String) in org.antlr.v4.semantics.BasicSemanticChecks cannot be applied to (org.antlr.v4.tool.GrammarAST,org.antlr.runtime.Token,java.lang.String) boolean ok = checker.checkTokenOptions((GrammarAST)o.getParent(), ^ /h/argus/2/j/antlr4/g/antlr4/antlr4/tool/src/org/antlr/v4/semantics/BasicSemanticTriggers.java:1787: checkWildcardRoot(org.antlr.v4.tool.GrammarAST) in org.antlr.v4.semantics.BasicSemanticChecks cannot be applied to (org.antlr.runtime.Token) if ( state.backtracking==1 ) {checker.checkWildcardRoot(WILDCARD9.token);} /h/argus/2/j/antlr4/g/antlr4/antlr4/tool/src/org/antlr/v4/semantics/CollectSymbols.java:1854: cannot find symbol symbol : variable rewriteElements location: class org.antlr.v4.tool.Alternative currentRule.alt[currentAlt].rewriteElements.add(((GrammarAST)retval.start)); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 5 errors Thanks, Mark _______________________________________________ antlr-dev mailing list antlr-dev@antlr.org http://www.antlr.org/mailman/listinfo/antlr-dev