diff --git a/java/webclient/build.xml b/java/webclient/build.xml
index 33ffe3dd48b5..cb893fb2721d 100644
--- a/java/webclient/build.xml
+++ b/java/webclient/build.xml
@@ -61,7 +61,7 @@
+ depends="compile.classes_spec,compile.src_share,compile.src_moz,create.webclient.scripts"/>
@@ -196,6 +196,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ set CLASSPATH=${build.home};%CLASSPATH%
+set PATH=%PATH%;${build.home}\..\bin;${build.home}\..\bin\components;${myenv.MOZ_JDKHOME}\jre\bin
+${myenv.MOZ_JDKHOME}/bin/java ${debug.options} org.mozilla.webclient.test.EmbeddedMozillaImpl ${build.home}\..\bin %1%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ export CLASSPATH=${build.home}:$CLASSPATH
+export LD_LIBRARY_PATH=${build.home}/../bin:${build.home}/../bin/components:$LD_LIBRARY_PATH:;${myenv.MOZ_JDKHOME}/jre/bin
+${myenv.MOZ_JDKHOME}/bin/java ${debug.options} org.mozilla.webclient.test.EmbeddedMozillaImpl ${build.home}/../bin $*
+
+
+
+