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