summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-10-15 13:26:55 +0000
committerArtur Signell <artur.signell@itmill.com>2009-10-15 13:26:55 +0000
commit95dad56e345c7f7f0c96e9380f5345dfac89e5d0 (patch)
tree138b2e84484205c47a85df3a082da4e2509b857c /build
parent77632583996c8cc673360ea77fc86d5fc14db462 (diff)
downloadvaadin-framework-95dad56e345c7f7f0c96e9380f5345dfac89e5d0.tar.gz
vaadin-framework-95dad56e345c7f7f0c96e9380f5345dfac89e5d0.zip
Merged: Fix for #3393 - Update release build configuration to also build Liferay package
svn changeset:9212/svn branch:6.2
Diffstat (limited to 'build')
-rw-r--r--build/build.xml31
1 files changed, 30 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml
index 15f650659f..da2896f0a5 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -43,7 +43,7 @@
<!--
Call one of package-* targets unless you understand what you are doing
-->
- <target name="package-all" depends="clean-all, package-init, init, build, docs, internal-package-mac, internal-package-windows, internal-package-linux, internal-package-war" description="Build public packages for Windows, Linux and Mac platforms.">
+ <target name="package-all" depends="clean-all, package-init, init, build, docs, internal-package-mac, internal-package-windows, internal-package-linux, internal-package-war, internal-package-liferay" description="Build public packages for Windows, Linux and Mac platforms.">
</target>
<target name="package-mac" depends="clean-result, package-init, init, build, docs, internal-package-mac" description="Create public tar.gz package for Mac.">
@@ -64,6 +64,9 @@
<target name="package-war" depends="clean-result, package-init, init, build, docs, internal-package-linux, internal-package-war">
</target>
+ <target name="package-liferay-zip" depends="clean-result, package-init, init, build, docs, internal-package-linux, internal-package-liferay">
+ </target>
+
<target name="package-test" depends="clean-result, nightly-init, package-init, init, build, docs, internal-package-linux, nightly-publish">
</target>
@@ -362,6 +365,32 @@
</war>
</target>
+ <target name="internal-package-liferay" depends="internal-package-war">
+ <!-- We assume the needed files are put in place by internal-package-war -->
+ <echo>Building Liferay zip</echo>
+
+ <zip zipfile="${result-path}/${product-file}-${version}-liferay.zip">
+ <zipfileset prefix="VAADIN/widgetsets/com.vaadin.portal.gwt.PortalDefaultWidgetSet" dir="${output-dir}/WebContent/VAADIN/widgetsets/com.vaadin.portal.gwt.PortalDefaultWidgetSet">
+ <patternset>
+ <include name="**/*" />
+ </patternset>
+ </zipfileset>
+ <zipfileset prefix="VAADIN/themes" dir="${output-dir}/WebContent/VAADIN/themes">
+ <patternset>
+ <include name="base/**/*" />
+ <include name="liferay/**/*" />
+ <include name="runo/**/*" />
+ <include name="reindeer/**/*" />
+ <include name="default/**/*" />
+ </patternset>
+ </zipfileset>
+
+ </zip>
+
+ <echo>##teamcity[publishArtifacts '${result-path}/${product-file}-${version}-liferay.zip']</echo>
+
+ </target>
+
<target name="create-mac-diskimage">
<!-- create Mac disk image (dmg) also -->
<property name="mount.dir" value="${result-path}/mac-mounted-image" />