summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-03-15 16:25:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-03-15 16:25:58 +0100
commit1630e37ceaf066ad5967711eac1f6e3ebfc7f24b (patch)
treef9e70f70e46dc5a957ef1b6b4d06963ddd31f779
parent0eca1f730f8c325415a4e63f2fb2a445f69620a7 (diff)
downloadshare-1630e37ceaf066ad5967711eac1f6e3ebfc7f24b.zip
share-1630e37ceaf066ad5967711eac1f6e3ebfc7f24b.tar.gz
java : vaadin : build run classes in separate path from application
-rw-r--r--java/vaadin/build.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/java/vaadin/build.xml b/java/vaadin/build.xml
index f0f297e..0a4304a 100644
--- a/java/vaadin/build.xml
+++ b/java/vaadin/build.xml
@@ -154,9 +154,9 @@
</target>
<target name="run.compile" depends="configure,resolve">
- <mkdir dir="${classes.dir}/test" />
+ <mkdir dir="${build.dir}/run" />
<javac srcdir="${run.dir}"
- destdir="${classes.dir}/test"
+ destdir="${build.dir}/run"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
@@ -173,6 +173,9 @@
<target name="run" depends="compile-server-side,run.compile">
<java classname="${run.name}" fork="true">
+ <classpath>
+ <dirset dir="${build.dir}/run" />
+ </classpath>
<classpath refid="cp.build"/>
<classpath refid="ivy.deps.run"/>
</java>