Files
i2p.i2p/installer/lib/wrapper/build.xml
zzz e3a4a54802 Build: Update wrapper to 3.5.60
- Remove Solaris Sparc 32-bit wrapper files
- Remove Linux PPC 32-bit BE wrapper files (never included in packages, no longer supported by Tanuki)
- Add patch to fix breakage on Debian xx-ea Java versions

All binaries from Tanuki Delta Pack Community Edition,
except for armhf (armv6), compiled on Raspberry Pi:
      ant 1.10.9
      openjdk 1.8.0_312
      gcc 10.2.1

Windows binaries remain unchanged as we must recompile them ourselves
(32 bit just to change the icon; 64 bit is not provided by Tanuki)

Patch file is unmodified in this checkin, as a base for future merges.
Patch will be in next checkin.
Do not squash.
2025-03-08 08:57:36 -05:00

80 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="wrapper">
<property name="javac.compilerargs" value="" />
<property name="javac.version" value="1.8" />
<property name="javac.release" value="8" />
<property name="build.built-by" value="unknown" />
<property name="build.timestamp" value="unknown" />
<property name="workspace.version" value="unknown" />
<property name="wrapper.version" value="3.5.60" />
<target name="all" depends="jar" />
<condition property="depend.available">
<typefound name="depend" />
</condition>
<target name="depend" if="depend.available">
<depend
cache="../../build"
srcdir="./patches"
destdir="./build/obj" >
<classpath>
<pathelement location="all/wrapper.jar" />
</classpath>
</depend>
</target>
<target name="compilePatches" depends="depend" >
<mkdir dir="./build" />
<mkdir dir="./build/obj" />
<javac
srcdir="./patches"
debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
release="${javac.release}"
destdir="./build/obj"
encoding="UTF-8"
includeAntRuntime="false" >
<classpath>
<pathelement location="all/wrapper.jar" />
</classpath>
<compilerarg line="${javac.compilerargs}" />
</javac>
</target>
<!--
- We have to make a new jar because the tanuki one is signed
-->
<target name="jar" depends="compilePatches, jarUpToDate" unless="jar.uptodate" >
<jar destfile="./build/wrapper.jar" basedir="./build/obj" includes="**/*.class">
<manifest>
<attribute name="Specification-Title" value="Java Service Wrapper" />
<attribute name="Specification-Vendor" value="Tanuki Software, Ltd." />
<attribute name="Specification-Version" value="${wrapper.version}" />
<attribute name="Implementation-Title" value="org.tanukisoftware.wrapper" />
<attribute name="Implementation-Vendor" value="Tanuki Software, Ltd." />
<attribute name="Implementation-Version" value="${wrapper.version}" />
<attribute name="Built-By" value="${build.built-by}" />
<attribute name="Build-Date" value="${build.timestamp}" />
<attribute name="Base-Revision" value="${workspace.version}" />
<attribute name="X-Compile-Source-JDK" value="${javac.version}" />
<attribute name="X-Compile-Target-JDK" value="${javac.version}" />
</manifest>
<zipfileset excludes="META-INF/* org/tanukisoftware/wrapper/bootstrap/WrapperBootstrap.class" src="all/wrapper.jar"/>
</jar>
</target>
<target name="jarUpToDate">
<uptodate property="jar.uptodate" targetfile="build/wrapper.jar" >
<srcfiles dir= "build/obj" includes="**/*.class" />
<srcfiles dir= "all" />
</uptodate>
</target>
<target name="clean" >
<delete dir="./build" />
</target>
<target name="distclean" depends="clean" />
</project>