I am not sure I got your question. I will make an answer with a typical way to have an attribute value to depend on a system property with a default value:
<param name="connection-url" value="${org.bedework.db.url.carddav:my-default-value}"/>
If the system
property org.bedework.db.url.carddav is not set, the
default-value is used.
2 - Can the installer create their own configuration and have it applied by the galleon cli?
The galleon CLI tool doesn't have support to invoke a given CLI script after installation. You could automate in a bash script the execution of the 2 tools.
Instead I think that you could define a properties file to
persist the system properties values and use it when starting the
server. Something like:
standalone.sh --properties=myproperties.properties
JF
--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/84da7220-2225-411d-963f-429af7719dc3n%40googlegroups.com.
Thanks for the response.
I've done more or less as you describe below. I was left with a
couple of cases that currently need replacement at install time -
or editing afterwards. One is a soap service location embedded in
a wsdl document. Property replacement at run-time doesn't work
there so I hoped ther was a way to provide site specific values at
install time through galleon.
There may be alternative approaches for that particular use case.
You received this message because you are subscribed to a topic in the Google Groups "WildFly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wildfly/Xv48KXZtPkM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/d04cbdac-b31b-4752-aaba-42b7391a5298%40redhat.com.