While Ant property substitution in templates is WAY cool, I'm actually
specifically talking about the <XDtConfig:...> tags so that a template could
be controlled from Ant in some way beyond just property substitution - i.e.
turning on/off output.

Could the use of those config tags be demonstrated with some examples?

    Erik


----- Original Message -----
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
To: "Erik Hatcher" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 7:58 PM
Subject: Re: [Xdoclet-user] Config params


> Have a look in the samples, at the AccountBean.  The lines:
>
>  * @jboss:table-name "account"
>  * @jboss:create-table "${jboss.create.table}"
>  * @jboss:remove-table "${jboss.remove.table}"
>  * @jboss:tuned-updates "${jboss.tuned.updates}"
>  * @jboss:read-only "${jboss.read.only}"
>
> pick up the corresponding ant properties from the samples build.xml:
>
>       <!-- These are here to test the use of properties in @tags -->
>       <property name="jboss.create.table" value="true" />
>       <property name="jboss.remove.table" value="true" />
>       <property name="jboss.tuned.updates" value="true" />
>       <property name="jboss.read.only" value="false" />
>
> does that help?  To do this, you dont need a subtask (although I haven't
> tried it myself)... so should be able to use it with the template subtask.
>
> hth
> dim
>
>
> ----- Original Message -----
> From: "Erik Hatcher" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 17, 2002 11:35 AM
> Subject: [Xdoclet-user] Config params
>
>
> > Is it possible to use config parameters in regular templates?  I think I
> > read somewhere that a custom subtask is required, but I just wanted to
get
> > confirmation.
> >
> > If you can use parameters with standard templates, could someone provide
> an
> > example of their use?
> >
> > Thanks,
> >     Erik
> >
> >
> > _______________________________________________
> > 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

Reply via email to