Permalink
Browse files

Make the tmp dir in the application directory no matter where invoked

  • Loading branch information...
1 parent 4f51ec4 commit bee9f17a74109ca0d852298bc4cae6c076ccc043 @mrspandex committed Feb 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/play/modules/gae/PlayDevEnvironment.java
@@ -27,7 +27,7 @@ public static PlayDevEnvironment create() {
// Save datastore file in tmp/
LocalDatastoreServiceTestConfig datastoreConfig = new LocalDatastoreServiceTestConfig();
datastoreConfig.setNoStorage(false);
- datastoreConfig.setBackingStoreLocation("tmp/datastore");
+ datastoreConfig.setBackingStoreLocation(Play.applicationPath + "/tmp/datastore");
datastoreConfig.setUp();
// Use local implementation for deferred queues

0 comments on commit bee9f17

Please sign in to comment.