The Struts Validator was recently moved (right before beta 1) from contrib/validator to the main source tree. I don't know why the build isn't working for you. Those classes are in cvs. Maybe your checkout failed? The ValidatorPlugIn is in the org.apache.struts.validator package (along with ValidatorForm, etc.).
David --- Joe Germuska <[EMAIL PROTECTED]> wrote: > 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:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>