blob: f64dec89583b1ebea89bd7b8c0ecffb8d32eb1f0 [file] [log] [blame]
<!--
******************************************************************************
* Copyright (c) 2016 Oracle
* 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Konstantin Komissarchik - initial implementation and ongoing maintenance
******************************************************************************
-->
<project name="corundum.macro.clean-pde-build">
<macrodef name="clean-pde-build">
<attribute name="source"/>
<sequential>
<delete includeEmptyDirs="true" quiet="false" failOnError="false">
<fileset dir="@{source}">
<include name="final*.*"/>
<include name="package*.*"/>
<include name="assemble*.*"/>
<include name="nestedJars/**"/>
</fileset>
<fileset dir="@{source}/plugins">
<include name="**/javaCompiler.*.args"/>
<include name="*/build.xml"/>
<include name="*/@dot/**"/>
<include name="*/temp.folder/**"/>
<include name="*.source/**"/>
<include name="*/src.zip"/>
<include name="*/build/**"/>
<include name="*/bin/**"/>
<include name="*/@dot.log"/>
<include name="*/.apt_generated/**"/>
<include name="*/.resources/**"/>
<include name="*.source_*/**"/>
<exclude name="**/.do-not-delete"/>
</fileset>
<fileset dir="@{source}/features">
<include name="*/*.log.zip"/>
<include name="*/build.xml"/>
<include name="*/feature.temp.folder/**"/>
</fileset>
</delete>
</sequential>
</macrodef>
</project>