move derby test db to target/ so that mvn clean doesn't leave it behind

This commit is contained in:
Hadrian Zbarcea 2014-03-04 18:17:28 -05:00
parent efcef4533e
commit a7ff5975ee
1 changed files with 3 additions and 3 deletions

View File

@ -327,7 +327,7 @@ public class AMQ4952Test {
JDBCPersistenceAdapter jdbc = new JDBCPersistenceAdapter();
EmbeddedDataSource remoteDataSource = new EmbeddedDataSource();
remoteDataSource.setDatabaseName("derbyDBRemoteBroker");
remoteDataSource.setDatabaseName("target/derbyDBRemoteBroker");
remoteDataSource.setCreateDatabase("create");
jdbc.setDataSource(remoteDataSource);
broker.setPersistenceAdapter(jdbc);
@ -400,7 +400,7 @@ public class AMQ4952Test {
// Persistence adapter
JDBCPersistenceAdapter localJDBCPersistentAdapter = new JDBCPersistenceAdapter();
EmbeddedDataSource localDataSource = new EmbeddedDataSource();
localDataSource.setDatabaseName("derbyDBLocalBroker");
localDataSource.setDatabaseName("target/derbyDBLocalBroker");
localDataSource.setCreateDatabase("create");
localJDBCPersistentAdapter.setDataSource(localDataSource);
broker.setPersistenceAdapter(localJDBCPersistentAdapter);
@ -502,4 +502,4 @@ public class AMQ4952Test {
producerExchange.getConnectionContext().setDontSendReponse(true);
}
}
}
}