diff --git a/rocker-compiler/src/main/java/com/fizzed/rocker/compiler/JavaGeneratorRunnable.java b/rocker-compiler/src/main/java/com/fizzed/rocker/compiler/JavaGeneratorRunnable.java
index c913097..d5fb798 100644
--- a/rocker-compiler/src/main/java/com/fizzed/rocker/compiler/JavaGeneratorRunnable.java
+++ b/rocker-compiler/src/main/java/com/fizzed/rocker/compiler/JavaGeneratorRunnable.java
@@ -117,7 +117,7 @@ public void run() throws RuntimeException{
// use resource name, but strip leading slash
// place it into the classes directory (not the compile directory)
try{
- File configFile = new File(this.configuration.getClassDirectory(), RockerRuntime.CONF_RESOURCE_NAME.substring(1));
+ File configFile = new File(this.configuration.getOutputDirectory(), RockerRuntime.CONF_RESOURCE_NAME.substring(1));
this.configuration.write(configFile);
log.info("Generated rocker configuration " + configFile);
}catch(IOException iox){
diff --git a/rocker-test-reload/pom.xml b/rocker-test-reload/pom.xml
index b993b08..92fcba9 100644
--- a/rocker-test-reload/pom.xml
+++ b/rocker-test-reload/pom.xml
@@ -46,6 +46,31 @@
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 1.7
+
+
+ add-generated-resources
+ generate-test-resources
+
+ add-test-resource
+
+
+
+
+ ${basedir}/target/generated-test-sources/rocker
+ ${basedir}/target/test-classes
+
+ **/*.conf
+
+
+
+
+
+
+
@@ -124,4 +149,4 @@
-
\ No newline at end of file
+