Fix broken JUnit web mode; we were incorrectly returning the compiler work directory rather than the compiler output directory.
Review by: amitmanjhi (desk)
git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@3913 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/GWTShell.java b/dev/core/src/com/google/gwt/dev/GWTShell.java
index 24ad277..2c2ebc0 100644
--- a/dev/core/src/com/google/gwt/dev/GWTShell.java
+++ b/dev/core/src/com/google/gwt/dev/GWTShell.java
@@ -220,7 +220,7 @@
static class ShellOptionsImpl extends GWTCompilerOptionsImpl implements
ShellOptions, WorkDirs {
public File getCompilerOutputDir(ModuleDef moduleDef) {
- return new File(getWorkDir(), moduleDef.getDeployTo());
+ return new File(getOutDir(), moduleDef.getDeployTo());
}
public File getShellWorkDir(ModuleDef moduleDef) {