Skip to content

Commit

Permalink
Merge pull request #3 from futures/aw-tmp-dirs-50763849
Browse files Browse the repository at this point in the history
Control the creation of application temp directories via system properties
  • Loading branch information
cbeer committed May 29, 2013
2 parents 08c9dde + 3e83b40 commit 1ce5819
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -9,7 +9,8 @@ indexes/
ObjectStore/
*/.cache
.cache
.idea/
# Build and Release Folders
bin/
bin-debug/
bin-release/
bin-release/
22 changes: 22 additions & 0 deletions pom.xml
Expand Up @@ -193,6 +193,28 @@
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
<contextPath>${test.context.path}</contextPath>
</webApp>

<systemProperties>

<systemProperty>
<name>
com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir
</name>
<value>${project.build.directory}/object-store-default</value>
</systemProperty>

<systemProperty>
<name>com.arjuna.ats.arjuna.objectstore.objectStoreDir</name>
<value>${project.build.directory}/object-store</value>
</systemProperty>

<systemProperty>
<name>fcrepo.activemq.dir</name>
<value>${project.build.directory}/active-mq</value>
</systemProperty>

</systemProperties>

</configuration>
<executions>
<execution>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/activemq.xml
Expand Up @@ -76,7 +76,7 @@
http://activemq.apache.org/persistence.html
-->
<persistenceAdapter>
<kahaDB directory="ActiveMQ/kahadb"/>
<kahaDB directory="${fcrepo.activemq.dir:ActiveMQ/kahadb}"/>
</persistenceAdapter>


Expand Down

0 comments on commit 1ce5819

Please sign in to comment.