summaryrefslogtreecommitdiffstats
path: root/build/ide.xml
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-04-02 14:34:05 +0300
committerHenri Sara <hesara@vaadin.com>2016-04-02 14:44:21 +0300
commitc2afd4339ae1c8158171da93744abc2c27e2cbf4 (patch)
tree07f616efefffd549ed64a9b907dd5d359479700a /build/ide.xml
parent009efc50ec48ad97f991ba1e65424c05c6b3b1fb (diff)
downloadvaadin-framework-c2afd4339ae1c8158171da93744abc2c27e2cbf4.tar.gz
vaadin-framework-c2afd4339ae1c8158171da93744abc2c27e2cbf4.zip
Remove most Ivy files
Consolidate Ivy dependencies for Eclipse and ide.xml in one location and remove redundant ivy.xml files. This also fixes some theme and resource paths in ide.xml but does not fully fix test theme compilation. Change-Id: If44c73d7f85d02ebef379aa306e6e284fe7446c1
Diffstat (limited to 'build/ide.xml')
-rwxr-xr-xbuild/ide.xml57
1 files changed, 29 insertions, 28 deletions
diff --git a/build/ide.xml b/build/ide.xml
index e5d5479ed6..a675a49e58 100755
--- a/build/ide.xml
+++ b/build/ide.xml
@@ -8,36 +8,23 @@
<property name="threadsPerProcessor" value="1" />
<target name="resolve" unless="resolve.done">
- <ivy:resolve log="download-only" file="client-compiler/ivy.xml" conf="ide" />
- <ivy:cachepath pathid="client-compiler.deps" conf="ide" />
- <ivy:resolve log="download-only" file="server/ivy.xml" conf="ide" />
- <ivy:cachepath pathid="server.deps" conf="ide" />
- <ivy:resolve log="download-only" file="client/ivy.xml" conf="ide" />
- <ivy:cachepath pathid="client.deps" conf="ide" />
- <ivy:resolve log="download-only" file="shared/ivy.xml" conf="ide" />
- <ivy:cachepath pathid="shared.deps" conf="ide" />
+ <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" />
- <ivy:resolve log="download-only" file="buildhelpers/ivy.xml" />
- <ivy:cachepath pathid="buildhelpers.deps" />
- <ivy:resolve log="download-only" file="gwt/ivy.xml" conf="ide" />
- <ivy:cachepath pathid="gwt.deps" conf="ide" />
<path id="classpath">
<path location="bin" />
<path location="build/classes" />
- <path refid="client-compiler.deps" />
- <path refid="server.deps" />
- <path refid="shared.deps" />
- <path refid="client.deps" />
- <path refid="buildhelpers.deps" />
- <path refid="gwt.deps" />
+ <path refid="ide.deps" />
<path refid="uitest.deps" />
<path location="server/src/main/java" />
+ <path location="server/src/main/resources" />
<path location="shared/src/main/java" />
<path location="shared/src/main/java-templates" />
<path location="uitest/src" />
<path location="client/src/main/java" />
+ <path location="client/src/main/resources" />
</path>
<property name="resolve.done" value="true" />
</target>
@@ -72,34 +59,34 @@
<antcall target="compile-theme" inheritRefs="true">
<param name="theme" value="valo" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-dark" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-metro" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-flat" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-flatdark" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-facebook" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-blueprint" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-light" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-disabled-animations" />
</antcall>
- <antcall target="compile-theme" inheritRefs="true">
+ <antcall target="compile-test-theme" inheritRefs="true">
<param name="theme" value="tests-valo-no-font-awesome" />
</antcall>
</parallel>
@@ -112,6 +99,20 @@
<arg value="--theme" />
<arg value="${theme}" />
<arg value="--theme-folder" />
+ <arg value="themes/src/main/resources/VAADIN/themes" />
+ <arg value="--version" />
+ <arg value="${vaadin.version}" />
+ </java>
+
+ </target>
+
+ <target name="compile-test-theme" depends="resolve">
+ <java classname="com.vaadin.buildhelpers.CompileTheme" failonerror="yes" fork="yes">
+ <classpath refid="classpath" />
+ <jvmarg value="-Djava.awt.headless=true" />
+ <arg value="--theme" />
+ <arg value="${theme}" />
+ <arg value="--theme-folder" />
<arg value="WebContent/VAADIN/themes" />
<arg value="--version" />
<arg value="${vaadin.version}" />