Skip to content
Snippets Groups Projects
Commit 360b1ef5 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

update.izpack.jar target, report izpack installer file sizes when complete

parent 408f6f66
No related branches found
No related tags found
No related merge requests found
......@@ -43,21 +43,28 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-->
<property name="installers.dir" location="installers"/>
<property name="installers.dir" location="installers"/>
<!-- Prerequisite for creating installer: you must have local izPack v5+ installed -->
<property file="nbproject/private/access.properties"/>
<property name="izpack-dist" value="${IZPACK_DIST}" description="local installation of latest distribution from http://izpack.org"/>
<path id="lib.path">
<fileset dir="${izpack-dist}/lib" includes="*.jar"/>
</path>
<target name="update.izpack.jar">
<echo message="Prerequisite: apply .jar fix in installers/util/izpack-lang-fix in local $IZPACK_DIST .jar at"/>
<echo message=" ${IZPACK_DIST}/lib/izpack-core-5.1.3.jar"/>
<copy file="installers/util/izpack-core-5.1.3.jar" todir="${IZPACK_DIST}/lib/" verbose="true" force="true"/>
</target>
<!-- Prerequisite for creating installer: you must have local izPack v5+ installed -->
<property file="nbproject/private/access.properties"/>
<property name="izpack-dist" value="${IZPACK_DIST}" description="local installation of latest distribution from http://izpack.org"/>
<path id="lib.path">
<fileset dir="${izpack-dist}/lib" includes="*.jar"/>
</path>
<taskdef name="izpack"
<taskdef name="izpack"
classpathref="lib.path"
classname="com.izforge.izpack.ant.IzPackTask"/>
<target name="build.installers"
<target name="build.installers"
description="Build Xj3D installer jars"
depends="clean.installer.materials">
depends="clean.installers">
<!-- TODO validate the izPack XML files -->
......@@ -108,13 +115,17 @@ POSSIBILITY OF SUCH DAMAGE.
<chmod file="${installers.dir}/${win.linux.32.64.installer.jar}" perm="ugo+rx"/>
<chmod file="${installers.dir}/${macosx.installer.jar}" perm="ugo+rx"/>
<length file="${installers.dir}/${win.linux.32.64.installer.jar}" property="length.win.linux.32.64.installer.jar"/>
<length file="${installers.dir}/${macosx.installer.jar}" property="length.macosx.installer.jar"/>
<echo message="Installer file sizes: ${win.linux.32.64.installer.jar}=${length.win.linux.32.64.installer.jar} bytes, ${macosx.installer.jar}=${length.macosx.installer.jar} bytes"/>
<echo/>
<echo message="IzPack installer builds complete"/>
</target>
<target name="clean.installer.materials"
description="Clean up all materials generated from producing the installers">
<target name="clean.installers"
description="Clean up all executables generated by producing the installers">
<delete>
<fileset dir="installers">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment