using ${} notation in ant recipe

Ian Springer ian.springer at redhat.com
Tue Jun 29 23:34:38 UTC 2010


Yeah, this is a bug. I'm working on it - should have a fix in at some 
point tomorrow morning.

On 06/29/2010 09:31 AM, John Mazzitelli wrote:
> shashin from #rhq has this question - I haven't tried this, but this
> should work. If it doesn't, we should try to fix it so it does work.
> This would be an important feature:
>
> In deploy.xml ant recipe, define this:
>
> <rhq:input-property name="profile.template"
>      description="Name of JBoss EAP template used to create Profile"
>      required="true"
>      defaultValue="default"
>      type="string"/>
>
> Now, inside of the<rhq:deployment-unit>  task, define an rhq:file
> definition, and use that input property in the value of the name
> attribute, like this:
>
> <rhq:deployment-unit ...>
> ...
>      <rhq:file name="eap-template-${profile.template}-50.zip" />
>
> Our ant handler should replace all ${} variables with their property
> values (whether they were defined with rhq:input-property or just the
> normal Ant<property>.
>
> Its been reporting that this doesn't work. Can someone confirm that this
> is broken? If so, we need to write up a bugzilla and hopefully fix this.
> _______________________________________________
> rhq-users mailing list
> rhq-users at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-users
>    


-- 
Ian Springer
Sr. Software Developer
JBoss Operations Network
Red Hat
ian.springer at redhat.com



More information about the rhq-users mailing list