[jboss-jira] [JBoss JIRA] Commented: (JBAS-6537) Ant task <jmx><setAttribute> problem : unable to use <value> tag inside
Mr X (JIRA)
jira-events at lists.jboss.org
Wed Jul 8 15:33:51 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12475515#action_12475515 ]
Mr X commented on JBAS-6537:
----------------------------
Can anyone suggest a workaround or alternative library to accomplish setting an attribute while we wait for a fix?
> Ant task <jmx><setAttribute> problem : unable to use <value> tag inside
> -----------------------------------------------------------------------
>
> Key: JBAS-6537
> URL: https://jira.jboss.org/jira/browse/JBAS-6537
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: Windows XP,
> JRE 1.5
> Eclipse 3.2
> Ant 1.6.5
> Reporter: Benoit Lavenier
>
> The Ant task JMX (org.jboss.ant.JMX) has a code error in the subclass "Setter" (used by <setAttribute> sub task)
> The methode named setValue in Setter subclass should be "addValue"
> Please refer to the folowwing url : http://ant.apache.org/manual/develop.html , and the "Supporting nested elements" section
> I think the following code will works fine :
> // "setValue" method (of subclass Setter) remaned in "addValue"
> public void addValue(Param value)
> {
> // This will only consider the last <value> tag, if more than one tag
> this.value = value;
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list