If your stuff is for your personal use maybe it's better to use
<template/> with subclassname parameter and specify your
WebXmlSubTask-derived class there (remember to put it in classpath).
Xdoclet will pick your class and use your class instead of the original
one.

But if you intend to make some general enhancement for possible
inclusion in xdoclet's core then go ahead :o)

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, February 06, 2002 11:48 PM
> To: Erik Hatcher
> Cc: [EMAIL PROTECTED]; xdoclet-user-
> [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] hacking xdoclet (webdoclet to start)
> 
> Argh.  Nevermind.  I must be going nuts today.  This does work like it
> should.   I'm going to blame it on the cold I'm fighting. :)
> 
> On the plus side, I've got the web.xml file optionally creating more
> WebSphere-friendly code. :)  (Thanks Ara for the XDtId:id nudge)
> 
> -jason
> 
> 
> 
> 
> 
> Erik Hatcher <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 02/06/2002 02:54 PM
> 
> 
>         To:     [EMAIL PROTECTED], xdoclet-
> [EMAIL PROTECTED]
>         cc:
>         Subject:        Re: [Xdoclet-user] hacking xdoclet (webdoclet
to
> start)
> 
> 
> 
> Could you post your code?
> 
> Ant handles booleans (such that you can specify "yes"/"on"/"true" to
all
> map
> to true, anything else to false) for setter parameters just fine
(other
> XDoclet tasks use it as a matter of fact).
> 
> Ant has a pretty sophisticated introspection mechanism to allow data
type
> handling to be much more natural than dealing with strings for
everything.
> 
>     Erik
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 06, 2002 2:01 PM
> Subject: Re: [Xdoclet-user] hacking xdoclet (webdoclet to start)
> 
> 
> > Hrm... let me follow up to my original message.  I was trying to get
> this
> > to be a boolean true/false flag.  I went back and changed it to
Strings
> > throughout, and it is working as I had expected.  Is there a better
way
> to
> > do this with booleans?
> >
> > -jason
> >
> >
> >
> >
> >
> >
> > [EMAIL PROTECTED]
> > Sent by: [EMAIL PROTECTED]
> > 02/06/2002 01:30 PM
> >
> >
> >         To:     [EMAIL PROTECTED]
> >         cc:
> >         Subject:        [Xdoclet-user] hacking xdoclet (webdoclet to
> start)
> >
> >
> >
> > ok...I promise -- given a quick shove or two, I can be pretty
> > productive.... :)
> >
> > I'm having a little difficulty grokking how to add parameters to the
ant
> > tasks and have them get picked up by XDoclet.
> >
> > For instance (I'm just testing things out here), I want to add a
> "useIds"
> > parameter to the deploymentdescriptor ant tag of webdoclet.  I add
the
> > parameter in my build script, I add the proper variables and
accessors
> in
> > WebXmlSubTask (including a cheesey System.out.println when the
setter
> gets
> >
> > called), rebuild xdoclet, and try to build a sample project with it.
> > There's not really any errors or anything, but the "setter" is never
> > getting called.  I updated the web_xml.j template as well to test
for
> the
> > parameter, and it never is picking up the new one.  What am I
missing
> > here?
> >
> > thanks,
> > jason
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> >
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to