aports/testing/eclipse-ecj/build.xml
Holger Jaekel 85bc4849e7 testing/eclipse-ecj: upgrade to 4.33
enable on ppc64le
2024-11-22 21:30:29 +01:00

48 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 2021 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<project name="export-executable" default="build" basedir=".">
<property name="output" value="bin" />
<property name="jar_file" value="ecj.jar" />
<target name="build">
<delete file="${basedir}/${jar_file}" failonerror="no" />
<delete dir="${output}" failonerror="no" />
<mkdir dir="${output}" />
<javac srcdir="${basedir}" destdir="${output}"
debuglevel="lines,source"
debug="true">
<compilerarg line="-Xlint:none --patch-module java.compiler=javax17api.jar"/>
</javac>
<zip destfile="${basedir}/${jar_file}">
<fileset dir="${output}" />
<fileset dir="${basedir}">
<include name="about.html"/>
<include name="ecj.1"/>
<include name="**/*.rsc"/>
<include name="**/readableNames.props"/>
<include name="META-INF/**"/>
<include name="**/*.properties"/>
<exclude name="META-INF/eclipse.inf"/>
<exclude name="META-INF/ECLIPSE_.SF"/>
<exclude name="META-INF/ECLIPSE_.RSA"/>
</fileset>
</zip>
<delete dir="${output}" />
</target>
</project>