Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Make system property optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed May 22, 2015
1 parent b26552c commit af908c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Once those steps are achieved, .zip and .tgz archives will be available in `dist

TIP: If you build with `mvn install -Pdev` an uncompressed directory will be created in `dist/target`.
A default user will be created, the username is `jdoe` and the password is `password`. This can be convenient
when you are working on the project as you won't have to unzip/untar and register a new user. The uncompressed directory
when you are working on the project as you won't have to unzip/untar and register a new user. The uncompressed directory
can be found in 'dist/target/hawkular-1.0.0-SNAPSHOT/wildfly-8.2.0.Final/' and run with 'bin/standalone.sh' as normally
starting a WildFly server.

Expand Down
4 changes: 3 additions & 1 deletion dist/src/main/resources/wildfly/patches/standalone.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@
<!-- add system properties -->
<xsl:template name="system-properties">
<system-properties>
<property name="hawkular-metrics.backend" value="embedded_cass" />
<xsl:text disable-output-escaping="yes">
&lt;property name="hawkular-metrics.backend" value="${hawkular-metrics.backend:embedded_cass}" /&gt;
</xsl:text>
</system-properties>
</xsl:template>

Expand Down

0 comments on commit af908c2

Please sign in to comment.