Radim Hanus [
http://community.jboss.org/people/rhanus] created the discussion
"Re: The replacement of system properties in *-ds.xml is done only for elements of
string value type"
To view the discussion, visit:
http://community.jboss.org/message/578771#578771
--------------------------------------------------------------
I tried my best but it still doesn't work for me please help ;-)
fixed deployers/dependency-deployers-jboss-beans.xml
<bean name="DependenciesParserDeployer"
class="org.jboss.deployers.vfs.plugins.dependency.DependenciesParserDeployer">
<property name="stage"><inject
bean="PreParseStage"/></property>
</bean>
<bean name="DependenciesMDDeployer"
class="org.jboss.deployers.vfs.plugins.dependency.DependenciesMetaDataDeployer">
<property name="stage"><inject
bean="PreParseStage"/></property>
</bean>
<bean name="DeploymentDependenciesDeployer"
class="org.jboss.deployers.vfs.plugins.dependency.DeploymentDependencyDeployer">
<property name="stage"><inject
bean="PreParseStage"/></property>
</bean>
<bean name="PreParseStage"
class="org.jboss.deployers.spi.deployer.DeploymentStage">
<constructor>
<parameter class="java.lang.String">PreParse</parameter>
<parameter class="java.lang.String">Not Installed</parameter>
</constructor>
</bean>
new deploy/myapp.ear/META-INF/jboss-dependency.xml:
<dependency xmlns="urn:jboss:dependency:1.0">
<item whenRequired="PreParse"
dependentState="Create">istep:type=Properties,name=SystemProperties</item>
</dependency>
I've tried a plenty of both whenRequired and dependentState combinations but no luck
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/578771#578771]
Start a new discussion in IronJacamar at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]