blob: 95eb2493cc918c0f8485839699b506057517e22d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011 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="project" default="default">
<description>
Build the pde-ant.jar. Either from scratch (default target), or by
gathering up the results of a workspace build from binary.
</description>
<!-- =================================
target: default
================================= -->
<target name="default" description="--> description">
<tstamp/>
<eclipse.buildScript elements="plugin@org.eclipse.pde.core"
buildDirectory="${buildDirectory}"
configInfo="*,*,*"
baseLocation="${baseLocation}"
buildingOSGi="true"
outputUpdateJars="false"
pluginpath="${thisPlugin}"
forceContextQualifier="z${DSTAMP}${TSTAMP}"
/>
<delete file="ant_tasks/pde-ant.jar" failonerror="false"/>
<ant antfile="build.xml" target="ant_tasks/pde-ant.jar"/>
</target>
<target name="workspaceBinaries" description="Jar up the binaries that were compiled by the jdt builder" >
<mkdir dir="ant_tasks" />
<delete file="ant_tasks/pde-ant.jar" failonerror="false"/>
<jar destfile="ant_tasks/pde-ant.jar" basedir="binary"/>
</target>
</project>