Wow, ok... ConfigParamIntrospector. I had no idea we were doing stuff like that under the hood. Now could someone explain to me where and why that is used to do bean getter lookups?
I suspect there is a bug in there that is stripping the dots or not doing the proper name lookup for a simple String config param. I guess its now time to figure out XDoclet's unit tests and write one to identify this one. Erik Erik Hatcher wrote: > Ok, I have more clues. Here's what I'm trying to do: > > <deploymentdescriptor validatexml="true" > destdir="${build.dir}/${site}"> > <configParam name="web.security.mode" value="basic"/> > </deploymentdescriptor> > > And in web-security.xml I'm using the config parameter to control which > authentication mode is enabled. BASIC is nice for Cactus tests, but > sucks for production sites, so thats one of the reasons for doing this. > > I thought perhaps the dots in my parameter name might be causing the > problem, and sure enough as soon as I changed it to name="security" it > worked. > > Is there a reason we don't allow dots in configuration parameter names? > I'll have to dig into the code to see where this is happening, but it > seems unnecessary for us to be stripping the name, right? > > Erik ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel