blob: 1bb02813a405dcc29a96b73046fa8dd12bae7e22 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
Copyright (c) 2010 SAP AG.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
Cloudsmith Inc - build.xml for Buckminster project
Martin Taal - changes for Teneo
Michael Wenz - changes Graphiti
The Teneo ant_common.xml was used as a template for creating this file:
Some important parts have been copied from Buckminster's own build setup:
<!-- This macro executes the default application of an eclipse installation that resides
in the folder ${buildtools}/@app
<macrodef name="eclipse.launch">
<attribute name="app" />
<element name="args" optional="true" />
<!-- We assume that the eclipse installation is beneath ${buildtools} -->
<property name="@{app}.deploy.dir" value="${toolsPath}/@{app}" />
<!-- Find the Eclipse launcher and adding its location to the @{app}.launcher property -->
<pathconvert property="@{app}.launcher">
<first count="1">
<fileset dir="${@{app}.deploy.dir}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar" />
<reverse xmlns="">
<date />
<!-- Launch the eclipse application -->
<java fork="true" jar="${@{app}.launcher}" dir="${@{app}.deploy.dir}">
<!-- Uncomment to debug <jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/> -->
<args />
<macrodef name="buckminster">
<attribute name="command" />
<attribute name="workspace" />
<element name="globargs" optional="true" />
<element name="cmdargs" optional="true" />
<eclipse.launch app="buckminster">
<jvmarg value="-Xmx1024m" />
<jvmarg value="-Dbugfix.288796=true" />
<arg value="-data" />
<arg value="@{workspace}" />
<arg value="--loglevel" />
<arg value="${buckminster.loglevel}" />
<arg value="--displaystacktrace" />
<arg value="@{command}" />
<globargs />
<arg value="-P" />
<arg value="${properties.tmp}" />
<cmdargs />