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 Erik Hatcher wrote: > No one ever replied before..... so I'm pinging again. I'm still having > this problem, and I'd like to resolve it. Any pointers on where to > start digging? > > It works with the <template> subtask, but not for <webdoclet> or its > nested <deploymentdescriptor> subtask. Maybe I'm hallucinating. > > Thanks for any and all assistance. > > Erik > > > > Erik Hatcher wrote: > >> I'm trying to customize some settings (toggle authentication method) >> in my web-security.xml merge file using <XDtConfig:ifConfigParameEquals>. >> >> Its not working. I've tried setting <configParam> under <webdoclet> >> and also under <deploymentdescriptor> directly, but all attempts to >> use it have not succeeded - the value as written out by >> <XDtConfig:configParameterValue> is blank. >> >> Am I missing something here? Or is there a bug? >> >> Thanks, >> Erik >> >> >> >> ------------------------------------------------------- >> In remembrance >> www.osdn.com/911/ >> _______________________________________________ >> Xdoclet-devel mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel >> >> > ------------------------------------------------------- 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