| <?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="build.src.zip" basedir="."> |
| |
| <target name="init"> |
| <dirname property="workspace.folder" file="${basedir}"/> |
| <dirname property="src.folder" file="${basedir}/src"/> |
| <property name="dest.file" value="${workspace.folder}/org.eclipse.gmf.examples.runtime.ui.pde/examples/service_provider_src.zip"/> |
| <defaultexcludes add="**/BuildInfo.java"/> |
| |
| </target> |
| |
| <target name="build.src.zip" depends="init" description="Build Src.zip"> |
| |
| <echo level="info" message="Creating ${dest.file}"/> |
| |
| <!-- Create zip for wizard --> |
| <zip destfile="${dest.file}" basedir="${src.folder}" update="true" filesonly="false" whenempty="skip" |
| excludes="**/*.class"> |
| </zip> |
| |
| <!-- Copy zip for java doc --> |
| <copy toDir="${workspace.folder}/org.eclipse.gmf.runtime.doc.isv/html/tutorials/"> |
| <fileset file="${dest.file}"/> |
| </copy> |
| |
| </target> |
| |
| </project> |