Hi Matthias,

yes, it's possible. The <andromda> task contains a nested <userProperty>
tag:

<andromda ....>
  <userProperty name="clustered" value="true" />
</andromda>

Try this - it should work.

Cheers,
Matthias

P.S.: This feature is undocumented. Could you file a documentation bug
in the bug area, please?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of [EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2003 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: [Andromda-devel] Build-time properties
> 
> 
> Hi,
> 
> does Andromda support build-time properties? E.g. properties 
> that can be defined within the andromda-task and used by the 
> templates. Here's an example:
> 
> build.xml:
> 
> <andromda ....>
> 
>   <property name="clustered" value="true" />
> 
> </andromda>
> 
> template:
> 
> @jboss.clustered 
>     clustered = "$clustered"
> 
> Is something like this possible with the current version? Or 
> does anybody have an idea for a good workaround (I don't want 
> to define something like "clustered" in my model)? If it's 
> not possible I would implement a patch for this. What do you think?
> 
> Matthias D.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book. 
www.parasoft.com/bulletproofapps
_______________________________________________
Andromda-devel mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to