Browse Source

Removed unnecessary files from zip (#9299)

tags/7.0.0.beta1
Artur Signell 11 years ago
parent
commit
bbab36092a
1 changed files with 12 additions and 1 deletions
  1. 12
    1
      all/build.xml

+ 12
- 1
all/build.xml View File

@@ -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>

Loading…
Cancel
Save