Skip to content

Commit

Permalink
Make log4j and ptrans.conf development file paths configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
tsegismont committed Jun 9, 2015
1 parent 200c30a commit 0279ab5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions clients/ptranslator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
<ptrans.wildfly.management.port>57898</ptrans.wildfly.management.port>
<wildfly.logging.console.level>ERROR</wildfly.logging.console.level>
<wildfly.logging.file.level>DEBUG</wildfly.logging.file.level>
<!-- Configuration files used when starting a development ptrans instance with mvn exec:java -->
<dev.log4j.configuration>${project.basedir}/log4j-dev.xml</dev.log4j.configuration>
<dev.ptrans.conf>${project.basedir}/ptrans.conf</dev.ptrans.conf>
</properties>

<dependencies>
Expand Down Expand Up @@ -265,12 +268,12 @@
<systemProperties>
<systemProperty>
<key>log4j.configuration</key>
<value>file:${project.basedir}/log4j-dev.xml</value>
<value>file:${dev.log4j.configuration}</value>
</systemProperty>
</systemProperties>
<arguments>
<argument>-c</argument>
<argument>${project.basedir}/ptrans.conf</argument>
<argument>${dev.ptrans.conf}</argument>
</arguments>
</configuration>
</plugin>
Expand Down

0 comments on commit 0279ab5

Please sign in to comment.