summaryrefslogtreecommitdiffstats
path: root/all
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-09-06 19:08:31 +0300
committerArtur Signell <artur@vaadin.com>2012-09-09 11:23:46 +0300
commitbbab36092aecd61b2718363b415052eba29b5b60 (patch)
treeed433fb93d7520e324cd732100b4ed2795c157fe /all
parent33abea751764a61858ed0e50f70a5dd1c8147263 (diff)
downloadvaadin-framework-bbab36092aecd61b2718363b415052eba29b5b60.tar.gz
vaadin-framework-bbab36092aecd61b2718363b415052eba29b5b60.zip
Removed unnecessary files from zip (#9299)
Diffstat (limited to 'all')
-rw-r--r--all/build.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/all/build.xml b/all/build.xml
index 0ffde57bb4..f69e8a0bb5 100644
--- a/all/build.xml
+++ b/all/build.xml
@@ -26,14 +26,25 @@
<delete dir="${temp.dir}" />
<antcontrib:foreach list="${modules.to.publish.to.maven}" target="fetch.module.and.dependencies" param="module" />
<!-- All jars are now in temp.dir. Still need to separate vaadin and deps -->
- <move todir="${temp.dir}/deps">
+ <move todir="${temp.dir}/lib">
<fileset dir="${temp.dir}">
<exclude name="vaadin-*-${vaadin.version}.*" />
<exclude name="vaadin-*-${vaadin.version}-*.*" />
</fileset>
</move>
+
<zip destfile="${zip.file}">
<fileset dir="${temp.dir}">
+ <!-- Avoid conflicts with servlet and portlet API. They are provided by the container -->
+ <exclude name="**/servlet-api*" />
+ <exclude name="**/portlet-api*" />
+ <!-- Buildhelpers should not even get here ... -->
+ <exclude name="*buildhelpers*" />
+ <!-- Zip users should not need javadoc, sources or pom files -->
+ <exclude name="*.pom" />
+ <exclude name="*-javadoc.jar" />
+ <exclude name="*-sources.jar" />
+
</fileset>
<fileset refid="common.files.for.all.jars" />
</zip>