| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2010, 2018 E.D.Willink, CEA, and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v2.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v20.html |
| |
| Contributors: |
| E.D.Willink - initial API and implementation |
| Christian W. Damus (CEA) - adapted from OCL project for 382342 |
| Kenn Hussey - 526568, 536029, 535301 |
| --> |
| <project name="org.eclipse.uml2.examples.uml.ui" default="zip.examples" basedir="."> |
| <target name="init"> |
| </target> |
| |
| <patternset id="zip.excludes" |
| excludes="src.zip,build*.xml,javaCompiler*,bin/**,temp.folder/**,@dot/**,**/*.graffle,target/**"/> |
| |
| <target name="zip.examples" depends="init"> |
| <!-- UML2 examples --> |
| <!--eclipse.convertPath resourcePath="org.eclipse.uml2.examples.gettingstarted" property="projectDir"/--> |
| <zip destfile="zips/gettingstarted.zip" basedir="../org.eclipse.uml2.examples.gettingstarted"> |
| <patternset refid="zip.excludes"/> |
| </zip> |
| |
| <!--eclipse.convertPath resourcePath="org.eclipse.uml2.examples.introtoprofiles" property="projectDir"/--> |
| <zip destfile="zips/introtoprofiles.zip" basedir="../org.eclipse.uml2.examples.introtoprofiles"> |
| <patternset refid="zip.excludes"/> |
| </zip> |
| </target> |
| |
| <target name="clean" depends="init"> |
| <delete> |
| <fileset dir="zips" includes="*.zip"/> |
| </delete> |
| <antcall target="refresh"/> |
| </target> |
| |
| <target name="refresh" depends="init" if="eclipse.running"> |
| <eclipse.refreshLocal resource="/org.eclipse.uml2.examples.uml.ui" depth="infinite"/> |
| </target> |
| </project> |