blob: 66e740370fe896d7e0a57c72c2f5685789d60f42 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2005 IBM Corporation and others. -->
<!-- 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: -->
<!-- IBM Corporation - initial API and implementation -->
<project default="gather_examples" basedir=".">
<target name="init">
<property name="workspace.folder" value=".."/>
<property name="examples.destination" value="${basedir}/examples"/>
<property name="examples.icons.destination" value="${basedir}/icons"/>
<!-- IMPORTANT: Include new examples here. Example that is added here must be added as a dependency in plugin.xml of this plugin -->
<patternset id="examples">
<include name="org.eclipse.gmf.examples.runtime.emf.clipboard/emf-clipboard-copypaste.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.geoshapes/geoshapes.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.logic/logic.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.logic.model/logicSemantic.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.logic.model.edit/logicSemanticEdit.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.logic.model.editor/logicSemanticEditor.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.decorator/servicesDecorator.zip"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.layout/servicesLayout.zip"/>
<include name="org.eclipse.gmf.examples.runtime.common.service/serviceExample.zip"/>
</patternset>
<!-- IMPORTANT: Include new example icons here -->
<patternset id="icons">
<include name="org.eclipse.gmf.examples.runtime.diagram.geoshapes/icons/geoshape.gif"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.logic/icons/logic.gif"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.decorator/icons/diagram.gif"/>
<include name="org.eclipse.gmf.examples.runtime.diagram.layout/icons/diagram2.gif"/>
</patternset>
</target>
<target name="gather_examples" depends="init">
<copy todir="${examples.destination}" flatten="true">
<fileset dir="${workspace.folder}">
<patternset refid="examples"/>
</fileset>
</copy>
<copy todir="${examples.icons.destination}" flatten="true">
<fileset dir="${workspace.folder}">
<patternset refid="icons"/>
</fileset>
</copy>
</target>
</project>