[
http://jira.jboss.com/jira/browse/JBAS-3704?page=all ]
Martin Vecera updated JBAS-3704:
--------------------------------
Attachment: addresses.tar.bz2
New server:addresses task. Works as in comments.
Ant task definition:
<taskdef name="addresses"
classname="org.jboss.ant.taskdefs.server.AddressesServerTask"
uri="http://jboss.org/ns/test/ant/server"
loaderref="server.loader">
<classpath refid="server.taskdef.classpath"/>
</taskdef>
Example of use:
<server:addresses env="MYTESTIP_" prop="jboss.server.iface."
ifaces="2"/>
Add a notion of available interfaces to org.jboss.test.util.server.*
--------------------------------------------------------------------
Key: JBAS-3704
URL:
http://jira.jboss.com/jira/browse/JBAS-3704
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-4.0.4.GA
Reporter: Scott M Stark
Assigned To: Martin Vecera
Priority: Critical
Fix For: JBossAS-4.2.1.CR1
Attachments: addresses.tar.bz2
Original Estimate: 2 days
Remaining Estimate: 2 days
An issue with automating testing involving binding to specific addresses is that there is
no predefined set of properties a testsuite descriptor can reference. The qa env has
MYTESTIP_1 type of env vars set, and java 1.4.2+ has java.net.NetworkInterface, that could
be used as the basis for defining jboss.server.iface.0..N system properties that
configurations could rely on for setting one or more bind interfaces.
We need to add this functionality to the server startup tasks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira