I've worked out what to do
1) Take xdoclet-apache-module-1.2.jar from xdoclet-bin-1.2.zip
2) Take struts_config_xml.xdt from 
        
xdoclet-apache-module-1.2.jar\xdoclet\modules\apache\struts\resources
3) Update struts_config_xml.xdt using the xdt stuff from Erik Hatcher
below inserted just before the line
     <XDtClass:forAllClassTags tagName="struts:action-forward">
4) Place struts_config_xml.xdt back in it's jar file, and redeploy

I now have 
@struts.action-set-property property="name" value="value"
being used properly in a stand alone ant build

To get code assist working for this tag in eclipse I need to update
xtags.xml in xdoclet-apache-module-1.2.jar\META-INF

Haven't done that yet, but it doesn't look difficult.

Thanks for the input
Martin


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Heudecker
Sent: 20 March 2004 22:30
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] Struts "set-property" addition for Actions

I offer my patched version of the XDoclet Apache module from my
website.  I announce the release on my blog and, moving forward,
here.  It's a drop-in replacement for the default XDoclet Apache
module.

On 2004-Mar-20 17:03, Martin Alley wrote:
> If it's not already in the release - yes please.
> 
> How and where will this release be packaged?
> 
> Thanks
> Martin
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nick
> Heudecker
> Sent: 20 March 2004 17:11
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] Struts "set-property" addition for Actions
> 
> If you'd like, I can include this in the next version of the XDoclet
> extension that I maintain.  I can have the release out on Tuesday.
> 
> (Is that service or what?)
> 
> On 2004-Mar-20 12:03, Martin Alley wrote:
> > Hi,
> > 
> > I'm interested in the @struts.action-set-property property="name"
> > value="value" tag.
> > 
> > I saw the message from Erik Hatcher saying
> > "
> > If you'll just apply this to a local  
> >  copy of your template and use the templateFile override:
> >  
> >    <XDtClass:forAllClassTags tagName="struts:action-set-property">
> >         <set-property
> >           property="<XDtClass:classTagValue  
> >  tagName="struts:action-set-property" paramName="property"/>"
> >           value="<XDtClass:classTagValue  
> >  tagName="struts:action-set-property" paramName="value"/>"
> >         />
> >    </XDtClass:forAllClassTags>
> >  
> >  And in your action classes use
> >  
> >     @struts.action-set-property property="name" value="value"
> > "
> > 
> > But I don't understand what is meant.
> > I am using Eclipse M6 with JBossIDE1.2.230.
> > 
> > I have also posted to JBossIDE forum and eclipsedev forum
> > 
> > Thanks
> > Martin
> > 
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO
of
> > GenToo technologies. Learn everything from fundamentals to system
> >
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> -- 
> Nick Heudecker
> System Mobile, Inc.
> Email: [EMAIL PROTECTED]
> Phone: 734.604.9192
> Web: http://www.systemmobile.com
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user

-- 
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Phone: 734.604.9192
Web: http://www.systemmobile.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to