Opened 9 years ago

Closed 8 years ago

#28530 closed defect (fixed)

struts fails to build - cannot find antlr.jar - antlr port moved it

Reported by: vulcan_@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: struts

Description

Mac OS X 10.6.6 on MacBook 13" Duo Core intel

tried to install struts

Port command started with PID 7003
Computing dependencies for struts.
Fetching struts
struts-1.2.7-src.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/struts
Attempting to fetch struts-1.2.7-src.tar.gz from http://lil.fr.distfiles.macports.org/struts
  % Total    % Received % Xferd  
Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

 43 5627k   43 2463k    0     0  2558k      0  0:00:02 --:--:--  0:00
:02 2942k

100 5627k  100 5627k    0     0  2977k      0  0:00:01  0:00:01 --:
--:-- 3191k
Verifying checksum(s) for struts
Checksumming struts-1.2.7-src.tar.gz
Extracting struts
Extracting struts-1.2.7-src.tar.gz
/usr/bin/gnutar: A lone zero block at 88226
Configuring struts
Building struts
Buildfile: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/build.xml
init:
     [echo] --------- struts 1.2.7 ---------
     [echo] 
     [echo] java.class.path = /opt/local/share/java/apache-ant/lib/ant-launcher.jar:/opt/local/share/java/commons-digester-rss.jar:/opt/local/share/java/apache-ant/lib/ant-antlr.jar:/opt/local/share/java/apache-ant/lib/ant-apache-bcel.jar:/opt/local/share/java/apache-ant/lib/ant-apache-bsf.jar:/opt/local/share/java/apache-ant/lib/ant-apache-log4j.jar:/opt/local/share/java/apache-ant/lib/ant-apache-oro.jar:/opt/local/share/java/apache-ant/lib/ant-apache-regexp.jar:/opt/local/share/java/apache-ant/lib/ant-apache-resolver.jar:/opt/local/share/java/apache-ant/lib/ant-apache-xalan2.jar:/opt/local/share/java/apache-ant/lib/ant-commons-logging.jar:/opt/local/share/java/apache-ant/lib/ant-commons-net.jar:/opt/local/share/java/apache-ant/lib/ant-jai.jar:/opt/local/share/java/apache-ant/lib/ant-javamail.jar:/opt/local/share/java/apache-ant/lib/ant-jdepend.jar:/opt/local/share/java/apache-ant/lib/ant-jmf.jar:/opt/local/share/java/apache-ant/lib/ant-jsch.jar:/opt/local/share/java/apache-ant/lib/ant-junit.jar:/opt/local/share/java/apache-ant/lib/ant-junit4.jar:/opt/local/share/java/apache-ant/lib/ant-launcher.jar:/opt/local/share/java/apache-ant/lib/ant-netrexx.jar:/opt/local/share/java/apache-ant/lib/ant-swing.jar:/opt/local/share/java/apache-ant/lib/ant-testutil.jar:/opt/local/share/java/apache-ant/lib/ant.jar
     [echo] java.home = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
     [echo] user.home = /Users/jeffhayes
prepare.dist:
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/dist
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/dist/lib
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/dist/webapps
prepare.library:
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes/META-INF
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes/META-INF/tlds
    [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes/org/apache/struts/resources
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes/META-INF
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes/META-INF
     [copy] Copying 6 files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes/org/apache/struts/resources
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library
     [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library
     [copy] Warning: Could not find file /opt/local/share/java/antlr.jar to copy.
compile.library:
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/build.xml:396: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 274 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/target/library/classes
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:28: package antlr does not exist
    [javac] import antlr.TokenStreamException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:29: package antlr does not exist
    [javac] import antlr.TokenStreamIOException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:30: package antlr does not exist
    [javac] import antlr.TokenStreamRecognitionException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:31: package antlr does not exist
    [javac] import antlr.CharStreamException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:32: package antlr does not exist
    [javac] import antlr.CharStreamIOException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:33: package antlr does not exist
    [javac] import antlr.ANTLRException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:36: package antlr does not exist
    [javac] import antlr.CharScanner;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:37: package antlr does not exist
    [javac] import antlr.InputBuffer;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:38: package antlr does not exist
    [javac] import antlr.ByteBuffer;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:39: package antlr does not exist
    [javac] import antlr.CharBuffer;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:40: package antlr does not exist
    [javac] import antlr.Token;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:41: package antlr does not exist
    [javac] import antlr.CommonToken;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:42: package antlr does not exist
    [javac] import antlr.RecognitionException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:43: package antlr does not exist
    [javac] import antlr.NoViableAltForCharException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:44: package antlr does not exist
    [javac] import antlr.MismatchedCharException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:45: package antlr does not exist
    [javac] import antlr.TokenStream;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:46: package antlr does not exist
    [javac] import antlr.ANTLRHashString;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:47: package antlr does not exist
    [javac] import antlr.LexerSharedInputState;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:48: package antlr.collections.impl does not exist
    [javac] import antlr.collections.impl.BitSet;
    [javac]                              ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:49: package antlr does not exist
    [javac] import antlr.SemanticException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:51: package antlr does not exist
    [javac] public class ValidWhenLexer extends antlr.CharScanner implements ValidWhenParserTokenTypes, TokenStream
    [javac]                                          ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:51: cannot find symbol
    [javac] symbol: class TokenStream
    [javac] public class ValidWhenLexer extends antlr.CharScanner implements ValidWhenParserTokenTypes, TokenStream
    [javac]                                                                                             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:59: cannot find symbol
    [javac] symbol  : class InputBuffer
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] public ValidWhenLexer(InputBuffer ib) {
    [javac]                       ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:62: cannot find symbol
    [javac] symbol  : class LexerSharedInputState
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] public ValidWhenLexer(LexerSharedInputState state) {
    [javac]                       ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:72: cannot find symbol
    [javac] symbol  : class Token
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] public Token nextToken() throws TokenStreamException {
    [javac]        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:72: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] public Token nextToken() throws TokenStreamException {
    [javac]                                 ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:207: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                   ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:207: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:207: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mWS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                              ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:253: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mDECIMAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:253: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mDECIMAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                      ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:253: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mDECIMAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:299: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mHEX_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                            ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:299: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mHEX_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                  ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:299: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mHEX_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                       ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:339: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mOCTAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                              ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:339: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mOCTAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                    ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:339: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mOCTAL_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:364: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                               ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:364: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                     ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:364: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mSTRING_LITERAL(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                          ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:426: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:426: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                               ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:426: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                    ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:439: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mRBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:439: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mRBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                               ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:439: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mRBRACKET(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                    ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:452: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                       ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:452: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:452: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                  ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:465: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                       ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:465: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:465: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mRPAREN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                  ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:478: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mTHIS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                     ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:478: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mTHIS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:478: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mTHIS(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:491: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mIDENTIFIER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:491: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mIDENTIFIER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                 ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:491: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mIDENTIFIER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                      ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:573: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                          ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:573: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:573: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                     ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:587: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mNOTEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:587: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mNOTEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                   ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:587: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mNOTEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:601: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLESSTHANSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:601: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLESSTHANSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                   ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:601: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLESSTHANSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:614: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mGREATERTHANSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:614: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mGREATERTHANSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                      ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:614: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mGREATERTHANSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:627: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLESSEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                              ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:627: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLESSEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                    ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:627: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mLESSEQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:641: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mGREATEREQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                 ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:641: cannot find symbol
    [javac] symbol  : class CharStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mGREATEREQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                       ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:641: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public final void mGREATEREQUALSIGN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException {
    [javac] 	                                                                                                            ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:660: cannot find symbol
    [javac] symbol  : class BitSet
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0());
    [javac] 	                    ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java:665: cannot find symbol
    [javac] symbol  : class BitSet
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenLexer
    [javac] 	public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1());
    [javac] 	                    ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:27: package antlr does not exist
    [javac] import antlr.TokenBuffer;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:28: package antlr does not exist
    [javac] import antlr.TokenStreamException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:29: package antlr does not exist
    [javac] import antlr.TokenStreamIOException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:30: package antlr does not exist
    [javac] import antlr.ANTLRException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:31: package antlr does not exist
    [javac] import antlr.LLkParser;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:32: package antlr does not exist
    [javac] import antlr.Token;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:33: package antlr does not exist
    [javac] import antlr.TokenStream;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:34: package antlr does not exist
    [javac] import antlr.RecognitionException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:35: package antlr does not exist
    [javac] import antlr.NoViableAltException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:36: package antlr does not exist
    [javac] import antlr.MismatchedTokenException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:37: package antlr does not exist
    [javac] import antlr.SemanticException;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:38: package antlr does not exist
    [javac] import antlr.ParserSharedInputState;
    [javac]             ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:39: package antlr.collections.impl does not exist
    [javac] import antlr.collections.impl.BitSet;
    [javac]                              ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:41: package antlr does not exist
    [javac] public class ValidWhenParser extends antlr.LLkParser       implements ValidWhenParserTokenTypes
    [javac]                                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:170: cannot find symbol
    [javac] symbol  : class TokenBuffer
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] protected ValidWhenParser(TokenBuffer tokenBuf, int k) {
    [javac]                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:175: cannot find symbol
    [javac] symbol  : class TokenBuffer
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] public ValidWhenParser(TokenBuffer tokenBuf) {
    [javac]                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:179: cannot find symbol
    [javac] symbol  : class TokenStream
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] protected ValidWhenParser(TokenStream lexer, int k) {
    [javac]                           ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:184: cannot find symbol
    [javac] symbol  : class TokenStream
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] public ValidWhenParser(TokenStream lexer) {
    [javac]                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:188: cannot find symbol
    [javac] symbol  : class ParserSharedInputState
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] public ValidWhenParser(ParserSharedInputState state) {
    [javac]                        ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:193: cannot find symbol
    [javac] symbol  : class RecognitionException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] 	public final void integer() throws RecognitionException, TokenStreamException {
    [javac] 	                                   ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java:193: cannot find symbol
    [javac] symbol  : class TokenStreamException
    [javac] location: class org.apache.struts.validator.validwhen.ValidWhenParser
    [javac] 	public final void integer() throws RecognitionException, TokenStreamException {
    [javac] 	                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java:632: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Class for a varargs call
    [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
    [javac]                     loopTagSupportClass.getDeclaredMethod("getLoopStatus", null);
    [javac]                                                                            ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java:639: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Class for a varargs call
    [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
    [javac]                     loopTagStatusClass.getDeclaredMethod("getIndex", null);
    [javac]                                                                      ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java:656: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    [javac]                 Object status = loopTagSupportGetStatus.invoke(loopTag, null);
    [javac]                                                                         ^
    [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/src/share/org/apache/struts/taglib/html/BaseHandlerTag.java:657: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    [javac]                 return (Integer) loopTagStatusGetIndex.invoke(status, null);
    [javac]                                                                       ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 100 errors
    [javac] 4 warnings
BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src/build.xml:396: Compile failed; see the compiler error output for details.
Total time: 8 seconds
shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/work/struts-1.2.7-src &&  CLASSPATH=/opt/local/share/java/commons-digester-rss.jar  ant dist  -Dcommons-beanutils.jar=/opt/local/share/java/commons-beanutils.jar  -Dcommons-collections.jar=/opt/local/share/java/commons-collections.jar  -Dcommons-digester.jar=/opt/local/share/java/commons-digester.jar  -Dcommons-fileupload.jar=/opt/local/share/java/commons-fileupload.jar  -Dcommons-lang.jar=/opt/local/share/java/commons-lang.jar  -Dcommons-logging.jar=/opt/local/share/java/commons-logging.jar  -Dcommons-validator.jar=/opt/local/share/java/commons-validator.jar  -Djakarta-oro.jar=/opt/local/share/java/jakarta-oro.jar  -Dservlet.jar=/opt/local/share/java/servlet23-api.jar  -Dantlr.jar=/opt/local/share/java/antlr.jar  " returned error 1
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for struts): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for struts is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_struts/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Executing: /opt/local/bin/port -v install struts

the problem is in the copy section ...

    [copy] Warning: Could not find file /opt/local/share/java/antlr.jar to copy.

and it is true, there is no antlr in share/java. The port for antlr 2.7.7 installs it into /opt/local/share/antlr-2.7.7/ and into /opt/local/lib, but not into /opt/local/share/java/

so i put a softlink into the share/java dir and re-tried the install .. the install went just fine.

so the antlr port has changed the installation site for the jar and struts port needs to update to match

IMHO

Change History (2)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Keywords: java struts antlr removed

comment:2 Changed 8 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.