Hi, I've been getting up to speed on Xdoclet recently, but I have come across a problem that I can't crack. My validation.xml is getting generated, and my merge files are getting merged into it, but the validation rules from my forms are not being created there. The form and its properties show up in the generated struts-config.xml, but validation tags are ignored.
What follows are some pertinent configuration details. Any help would be much appreciated!!! ---project.properties file--- # set up xdoclet to process this subset of files maven.xdoclet.webdoclet.fileset.0=true maven.xdoclet.webdoclet.fileset.0.include=**/*.java # Generate a struts validation descriptor maven.xdoclet.webdoclet.strutsvalidationxml.0=true maven.xdoclet.webdoclet.strutsvalidationxml.0.destDir=${basedir}/target/${pom.artifactId}/WEB-INF maven.xdoclet.webdoclet.strutsvalidationxml.0.subTaskName=Generating struts-validation.xml maven.xdoclet.webdoclet.strutsvalidationxml.0.mergeDir=${basedir}/merge maven.xdoclet.webdoclet.strutsvalidationxml.0.version=1.1.3 # Generate a struts config descriptor pulling in extra data from # metadata/struts maven.xdoclet.webdoclet.strutsconfigxml.0=true maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.2 maven.xdoclet.webdoclet.strutsconfigxml.0.destDir=${basedir}/target/${pom.artifactId}/WEB-INF maven.xdoclet.webdoclet.strutsconfigxml.0.subTaskName=Generating struts-config.xml maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=${basedir}/merge --- POJO form class --- /** * @struts.dynaform name="loginForm" * type="org.apache.struts.validator.DynaValidatorActionForm" * validate="true" */ public class LoginForm { String certLevel; /** * @struts.dynaform-field */ public String getCertLevel() { return certLevel; } /** * @struts.validator type="required" * @struts.validator-args arg0resource="login.certLevel" */ public void setCertLevel(String certLevel) { this.certLevel = certLevel; } } -- Josh Cronemeyer Information Network of Kansas "I don't understand," said the scientist, "why you lemmings all rush down to the sea and drown yourselves." "How curious," said the lemming. "The one thing I don't understand is why you human beings don't." >From Interview With a Lemming, by James Thurber ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user