diff options
author | Henri Sara <hesara@vaadin.com> | 2016-04-16 17:31:32 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-04-16 17:31:32 +0300 |
commit | 6b134587d6aae49f033df3a0d66216b2f984eab0 (patch) | |
tree | deb303ccc7f263803214300d28d136ac92703699 /build/ide.xml | |
parent | 606457c856120508566a2fae0bae02f2bddd8125 (diff) | |
download | vaadin-framework-6b134587d6aae49f033df3a0d66216b2f984eab0.tar.gz vaadin-framework-6b134587d6aae49f033df3a0d66216b2f984eab0.zip |
Refactoring of Ivy files and ide.xml
This moves ide.xml dependencies from uitest to build/ivy.xml so that
each side can be refactored and cleaned up independently of the other.
Note that ide.xml has several problems introduced by earlier changes.
This change adds some comments and updates some paths, but does not
fix all the related issues.
Change-Id: I0794decf785c41657f87e1ff120f5f017344a2b6
Diffstat (limited to 'build/ide.xml')
-rwxr-xr-x | build/ide.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/build/ide.xml b/build/ide.xml index a91a29db05..83b0028c41 100755 --- a/build/ide.xml +++ b/build/ide.xml @@ -12,8 +12,6 @@ <ivy:cachepath pathid="early.deps" conf="early" /> <ivy:resolve log="download-only" file="build/ivy.xml" conf="ide" /> <ivy:cachepath pathid="ide.deps" conf="ide" /> - <ivy:resolve log="download-only" file="uitest/ivy.xml" conf="ide" /> - <ivy:cachepath pathid="uitest.deps" conf="ide" /> <path id="classpath"> <path refid="early.deps" /> @@ -26,7 +24,6 @@ <path location="uitest/src" /> <path location="client/src/main/java" /> <path location="client/src/main/resources" /> - <path refid="uitest.deps" /> <path refid="ide.deps" /> </path> <property name="resolve.done" value="true" /> @@ -117,7 +114,8 @@ <arg value="--theme" /> <arg value="${theme}" /> <arg value="--theme-folder" /> - <arg value="WebContent/VAADIN/themes" /> + <!-- TODO relative paths in these are broken --> + <arg value="uitest/target/classes/VAADIN/themes" /> <arg value="--version" /> <arg value="${vaadin.version}" /> </java> @@ -128,18 +126,20 @@ <target name="default-widgetset"> <antcall target="compile-widgetset" inheritRefs="true"> <param name="widgetset" value="com.vaadin.DefaultWidgetSet" /> + <param name="widgetset.output.dir" location="client-compiled/target/classes/VAADIN/widgetsets" /> </antcall> </target> <target name="testing-widgetset"> <antcall target="compile-widgetset" inheritRefs="true"> <param name="widgetset" value="com.vaadin.tests.widgetset.TestingWidgetSet" /> + <param name="widgetset.output.dir" location="uitest/target/classes/VAADIN/widgetsets" /> </antcall> </target> <target name="compile-widgetset" depends="resolve"> <property name="module" value="${widgetset}" /> - <property name="module.output.dir" location="WebContent/VAADIN/widgetsets" /> + <property name="module.output.dir" location="${widgetset.output.dir}" /> <property name="logLevel" value="TRACE" /> <property name="style" value="PRETTY" /> <property name="localWorkers" value="2" /> @@ -158,6 +158,8 @@ <!--<ivy:resolve log="download-only" inline="true" organisation="javax.validation" module="validation-api" revision="1.0.0.GA"/> --> + <!-- TODO this does not work --> + <!-- compile the module --> <java classname="com.google.gwt.dev.Compiler" classpathref="classpath" failonerror="yes" fork="yes" maxmemory="512m"> <arg value="-workDir" /> @@ -185,6 +187,7 @@ <jvmarg value="-Dgwt.persistentunitcache=${gwt.persistentunitcache}" /> </java> </target> + <!-- TODO this should probably be removed - compiles the file to the wrong location --> <target name="vaadinPush.js" depends="resolve"> <property name="project.root" location="."/> <ivy:resolve log="download-only" file="${project.root}/ivy-taskdefs.xml" conf="taskdefs" /> |