Skip to content

Commit

Permalink
Merge pull request #59 from futures/46142329-tmp-files
Browse files Browse the repository at this point in the history
[Fixes #46142329] Control the creation of application temp directories.
  • Loading branch information
cbeer committed May 15, 2013
2 parents 22b48ab + a454784 commit ec9b374
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fcrepo-jms/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
22 changes: 22 additions & 0 deletions fcrepo-webapp/pom.xml
Expand Up @@ -121,6 +121,28 @@
<webApp>
<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 fcrepo-webapp/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
6 changes: 6 additions & 0 deletions pom.xml
Expand Up @@ -399,6 +399,12 @@
<systemPropertyVariables>
<test.port>${test.port}</test.port>
<test.context.path>${test.context.path}</test.context.path>
<com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir>
${project.build.directory}/object-store-default
</com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir>
<com.arjuna.ats.arjuna.objectstore.objectStoreDir>
${project.build.directory}/object-store
</com.arjuna.ats.arjuna.objectstore.objectStoreDir>
</systemPropertyVariables>
</configuration>
<executions>
Expand Down

0 comments on commit ec9b374

Please sign in to comment.