diff options
author | Artur Signell <artur@vaadin.com> | 2012-09-06 19:08:31 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-09-09 11:23:46 +0300 |
commit | bbab36092aecd61b2718363b415052eba29b5b60 (patch) | |
tree | ed433fb93d7520e324cd732100b4ed2795c157fe /all | |
parent | 33abea751764a61858ed0e50f70a5dd1c8147263 (diff) | |
download | vaadin-framework-bbab36092aecd61b2718363b415052eba29b5b60.tar.gz vaadin-framework-bbab36092aecd61b2718363b415052eba29b5b60.zip |
Removed unnecessary files from zip (#9299)
Diffstat (limited to 'all')
-rw-r--r-- | all/build.xml | 13 |
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> |