ec53678d3a
A feature-rich graphical Telnet 5250 emulator written in Java. WWW: http://tn5250j.sourceforge.net/ PR: ports/124537 Submitted by: Marcin Cieslak <saper@system.pl>
100 lines
4 KiB
XML
100 lines
4 KiB
XML
--- build.xml.orig 2008-06-12 17:53:31.850966916 +0200
|
|
+++ build.xml 2008-06-12 17:55:27.789182054 +0200
|
|
@@ -345,97 +345,8 @@
|
|
<delete file="${dist.dir}/${dist.src.name}.tar"/>
|
|
</target>
|
|
|
|
- <!-- Creates an installer for tn5250j -->
|
|
- <target name="generate-installer" depends="dist" description="Creates installer using IzPack">
|
|
|
|
- <!-- Allows us to use the IzPack Ant task -->
|
|
- <taskdef name="izpack" classpath="${basedir}/lib/compiler.jar"
|
|
- classname="com.izforge.izpack.ant.IzPackTask"/>
|
|
|
|
- <!-- Copies the files to the dist directory -->
|
|
- <echo message="Copies the image of the distribution to ${dist.dir}"/>
|
|
- <delete dir="${dist.dir}/installer"/>
|
|
- <mkdir dir="${dist.dir}/installer"/>
|
|
- <copy todir="${dist.dir}/installer" includeEmptyDirs="yes">
|
|
- <!--fileset dir="${basedir}">
|
|
- <include name="bin/**"/>
|
|
- <include name="lib/*.jar"/>
|
|
- </fileset-->
|
|
- <fileset dir="${build.dir}">
|
|
- <include name="${jarname}" />
|
|
- </fileset>
|
|
- <fileset dir="${dist.dir}/${dist.base.name}/src/installer/">
|
|
- <include name="**"/>
|
|
- </fileset>
|
|
- <fileset dir="${dist.dir}/${dist.base.name}/src/">
|
|
- <include name="readme.txt"/>
|
|
- <include name="COPYING"/>
|
|
- <include name="tn5250jSplash.jpg"/>
|
|
- <include name="tnicon.jpg"/>
|
|
- </fileset>
|
|
- <fileset dir="${lib.dir}">
|
|
- <include name="**"/>
|
|
- </fileset>
|
|
- </copy>
|
|
-
|
|
- <!-- We call IzPack -->
|
|
- <echo message="Makes the installer using IzPack"/>
|
|
- <izpack input="${dist.dir}/installer/install.xml"
|
|
- output="${dist.dir}/tn5250j-install-${version}.jar"
|
|
- installerType="standard"
|
|
- basedir="${dist.dir}"
|
|
- izPackDir="${IzPack.dir}"/>
|
|
-
|
|
- <!--echo message="Makes the web installer using IzPack"/-->
|
|
- <!--izpack input="${dist.dir}/installer/install.xml"
|
|
- output="${dist.dir}/tn5250j-install-web-${version}.jar"
|
|
- installerType="web"
|
|
- basedir="${dist.dir}"
|
|
- izPackDir="${IzPack.dir}"/-->
|
|
-
|
|
- </target>
|
|
-
|
|
-<!-- start jar bundler task -->
|
|
- <taskdef name="jarbundler"
|
|
- classpath="${lib.dir}/jarbundler-1.4.jar"
|
|
- classname="com.loomcom.ant.tasks.jarbundler.JarBundler" />
|
|
-
|
|
- <target name= "dist-bin-jarbundle" depends="dist-bin-prepare" description="Prepares jar bundle binary distribution">
|
|
- <jarbundler dir="${dist.dir}"
|
|
- name="${Name}"
|
|
- mainclass="org.tn5250j.My5250"
|
|
- icon="${source.dir}/tnicon.icns"
|
|
- version="${version}"
|
|
- infostring="${Name} ${version}, (c) ${year}"
|
|
- aboutmenuname="${Name}"
|
|
- bundleid="org.tn5250j"
|
|
- developmentregion="English"
|
|
- signature="????"
|
|
- type="APPL"
|
|
- jvmversion="1.4+"
|
|
- vmoptions="-Xmx256m"
|
|
- smalltabs="true"
|
|
- antialiasedgraphics="true"
|
|
- antialiasedtext="true"
|
|
- liveresize="true"
|
|
- growboxintrudes="false"
|
|
- workingdirectory="$APP_PACKAGE/Contents/Resources/Java"
|
|
- screenmenu="true" >
|
|
- <jarfileset dir="${dist.dir}/${dist.base.name}">
|
|
- <include name="**/*.jar" />
|
|
- <exclude name="**/CVS" />
|
|
- </jarfileset>
|
|
- </jarbundler>
|
|
- </target>
|
|
-
|
|
- <target name= "dist-bin-jarbundle-tgz" depends="dist-bin-jarbundle" description="Create a Tgz-File of the jar bundle distribution">
|
|
- <tar tarfile="${dist.dir}/${dist.bin.name}.app.tar"
|
|
- basedir="${dist.dir}/"
|
|
- includes="${Name}.app/**">
|
|
- </tar>
|
|
- <gzip zipfile="${dist.dir}/${dist.bin.name}.app.tgz" src="${dist.dir}/${dist.bin.name}.app.tar" />
|
|
- <delete file="${dist.dir}/${dist.bin.name}.app.tar"/>
|
|
- </target>
|
|
|
|
<!-- start jar bundler task -->
|
|
|