]
Adrian Brock moved JBJMX-99 to JBAS-6537:
-----------------------------------------
Project: JBoss Application Server (was: JBoss JMX)
Key: JBAS-6537 (was: JBJMX-99)
Affects Version/s: (was: JBossAS-4.0.0)
Security: Public
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: