Details
Description
While browsing the JBoss code I found this in that surely must be a simple typing error:
org.codehaus.cargo.container.jboss.internal.JBossStandaloneLocalConfigurationCapability.java
public JBossStandaloneLocalConfigurationCapability() { super(); this.propertySupportMap = new HashMap(); this.defaultSupportsMap.put(GeneralPropertySet.HOSTNAME, Boolean.TRUE); this.propertySupportMap.put(GeneralPropertySet.PROTOCOL, Boolean.FALSE); this.propertySupportMap.put(ServletPropertySet.USERS, Boolean.FALSE); this.propertySupportMap.put(JBossPropertySet.CONFIGURATION, Boolean.TRUE); ... }
Note that HOSTNAME is put in a different map (defaultSupportsMap belongs to the extended class) than all other capability properies. Checking the code I believe that the net effect is zero as the two maps are merged to get the sum of capabilities. But it's weird anyhow!
Fixed in r2427 in trunk