struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Germuska <...@germuska.com>
Subject build failing - validator in transition?
Date Thu, 04 Apr 2002 06:16:08 GMT
I hope I'm not overlooking something basic because it's late.  I'm 
trying to build from the current CVS tree and I'm running into 
problems.   When I run Ant against the root "build.xml" file, I get a 
number of errors because Ant can't find ValidatorPlugIn.  I guess some 
things have moved around since the last time I built from source.  I 
thought maybe the solution would be to build .../jakarta-
struts/contrib/validator, but the build.properties file in that 
directory references "struts.jar", and I haven't yet built struts.jar.  
(Sure, I could just get the binary, but...)

Also, looking at the validator code in contrib, it looks out of date -- 
still depends upon regexp instead of ORO.   I can't simply move it into 
the core src/share directory and build.

Did I overlook some instructions somewhere?  Or did I catch it in 
transition?

Thanks,
	Joe


compile.library:
     [javac] Compiling 189 source files to 
/Users/germuska/Development/jakarta/jakarta-struts/target/library/classes
     [javac] /Users/germuska/Development/jakarta/jakarta-
struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java:
78: cannot resolve symbol
     [javac] symbol  : class ValidatorPlugIn
     [javac] location: package validator
     [javac] import org.apache.struts.validator.ValidatorPlugIn;
     [javac]                                    ^
     [javac] /Users/germuska/Development/jakarta/jakarta-
struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java:78: 
cannot resolve symbol
     [javac] symbol  : class ValidatorPlugIn
     [javac] location: package validator
     [javac] import org.apache.struts.validator.ValidatorPlugIn;
     [javac]                                    ^
     [javac] /Users/germuska/Development/jakarta/jakarta-
struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java:
257: cannot resolve symbol
     [javac] symbol  : variable ValidatorPlugIn
     [javac] location: class 
org.apache.struts.taglib.html.JavascriptValidatorTag
     [javac]           
pageContext.getAttribute(ValidatorPlugIn.VALIDATOR_KEY, 
PageContext.APPLICATION_SCOPE);
     [javac]                                    ^
     [javac] /Users/germuska/Development/jakarta/jakarta-
struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java:112: 
cannot resolve symbol
     [javac] symbol  : variable ValidatorPlugIn
     [javac] location: class org.apache.struts.util.StrutsValidatorUtil
     [javac]       return 
(ValidatorResources)application.getAttribute(ValidatorPlugIn.VALIDATOR_KEY)
;
     [javac]                                                           ^
     [javac] Note: Some input files use or override a deprecated API.
     [javac] Note: Recompile with -deprecation for details.
     [javac] 4 errors


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message