Skip to content

Commit

Permalink
Drop omero.version from zip name
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Nov 4, 2024
1 parent 86f45c7 commit ec7a659
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ To get started using Eclipse, execute "ant build-dev" and import the top-level
depends="release-clients,release-zip">
</target>

<target name="release-zip" description="Zip the dist directory into ${product.name}-${omero.version}.zip">
<zip destfile="${omero.home}/target/${product.name}-${omero.version}.zip">
<target name="release-zip" description="Zip the dist directory into ${product.name}.zip">
<zip destfile="${omero.home}/target/${product.name}.zip">
<zipfileset dir="${dist.dir}" prefix="${product.name}-${omero.version}"/>
</zip>
</target>
Expand All @@ -269,19 +269,19 @@ To get started using Eclipse, execute "ant build-dev" and import the top-level

</target>

<target name="release-src" description="Package the git source tree into openmicroscopy-${omero.version}.zip"
<target name="release-src" description="Package the git source tree into openmicroscopy.zip"
depends="release-src-embed,release-src-git"/>

<target name="release-clients" description="Zip the Java zip">
<zip destfile="${omero.home}/target/OMERO.java-${omero.version}.zip">
<zip destfile="${omero.home}/target/OMERO.java.zip">
<zipfileset dir="${dist.dir}/lib/client" prefix="OMERO.java-${omero.version}/libs" includes="**/*.jar"/>
<zipfileset dir="${dist.dir}/etc" prefix="OMERO.java-${omero.version}/libs" includes="logback-cli.xml"/>
</zip>

</target>

<target name="release-tar" description="Tar the dist directory into ${product-name}-${omero.version}.tar.bz2">
<tar destfile="${product.name}-${omero.version}.tar.bz2" compression="bzip2">
<target name="release-tar" description="Tar the dist directory into ${product-name}.tar.bz2">
<tar destfile="${product.name}.tar.bz2" compression="bzip2">
<zipfileset dir="${dist.dir}" prefix="${product.name}-${omero.version}"/>
</tar>
</target>
Expand All @@ -303,7 +303,7 @@ To get started using Eclipse, execute "ant build-dev" and import the top-level
</target>

<target name="release-training" description="Produces a zip with the examples/Training files">
<zip destfile="${omero.home}/target/OMERO.training-${omero.version}.zip">
<zip destfile="${omero.home}/target/OMERO.training.zip">
<zipfileset dir="${omero.home}/examples/Training" prefix="OMERO.training-${omero.version}" includes="**" excludes="markup.py"/>
<zipfileset dir="${omero.home}" prefix="OMERO.training-${omero.version}" includes="LICENSE.txt"/>
</zip>
Expand Down

0 comments on commit ec7a659

Please sign in to comment.