[ 
https://issues.apache.org/jira/browse/JCR-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758865#action_12758865
 ] 

Michael Dürig commented on JCR-2319:
------------------------------------

I just tried to set the working directory in code. That is, set the user.dir 
property in the setup method and reset it to its initial value in the teardown 
method. 

However I seem to be hitting 
http://bugs.sun.com/bugdatabase/view_bug.do%3B:YfiG?bug_id=4117557 here. The 
files are being created at the wrong location. 

I therefor suggest to go with my initial proposal and set the working directory 
of the surefire plugin. 



> jackrabbit-jcr-client should put all test data under ./target
> -------------------------------------------------------------
>
>                 Key: JCR-2319
>                 URL: https://issues.apache.org/jira/browse/JCR-2319
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-client
>            Reporter: Jukka Zitting
>            Priority: Minor
>
> Currently the jackrabbit-jcr-client component drops a "repository" directory 
> and the "repository.xml" and "derby.log" files into the project root when 
> running the test suite. These files should go inside "target".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to