| <?xml version="1.0"?> |
| <!-- ====================================================================== |
| Copyright (c) 2004 IBM Corporation and others. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Common Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/cpl-v10.html |
| |
| Contributors: |
| IBM Corporation - initial API and implementation |
| |
| Dec 1, 2004 12:07:36 PM |
| |
| Dyanmic class builder |
| Builds the components required by the dynamic test suite |
| |
| ====================================================================== --> |
| <project name="Dyanmic class builder" default="default"> |
| <description> |
| Builds the components required by the dynamic test suite |
| </description> |
| |
| <property name="output.dir" value="jars"/> |
| |
| |
| <!-- ================================= |
| target: default |
| ================================= --> |
| <target name="default" depends="clean, depends, intro, editor, view, oc, newWizard, perspective, startup, decorator, help, propertyPage, preferencePage, workingSet, browser, commands, handlers, statusHandler, markerSupport, self, finish" description="--> Builds the components required by the dynamic test suite"> |
| </target> |
| |
| <!-- - - - - - - - - - - - - - - - - - |
| target: depends |
| - - - - - - - - - - - - - - - - - --> |
| <target name="depends"> |
| <mkdir dir="${output.dir}"/> |
| </target> |
| |
| <target name="clean"> |
| <delete dir="${output.dir}"/> |
| </target> |
| |
| <target name="intro"> |
| <jar destfile="${output.dir}\intro.jar" basedir="intro.bin"/> |
| </target> |
| |
| <target name="editor"> |
| <jar destfile="${output.dir}\editor.jar" basedir="editor.bin"/> |
| </target> |
| |
| <target name="view"> |
| <jar destfile="${output.dir}\view.jar" basedir="view.bin"/> |
| </target> |
| |
| <target name="oc"> |
| <jar destfile="${output.dir}\oc.jar" basedir="oc.bin"/> |
| </target> |
| |
| <target name="newWizard"> |
| <jar destfile="${output.dir}\newWizard.jar" basedir="newWizard.bin"/> |
| </target> |
| |
| <target name="perspective"> |
| <jar destfile="${output.dir}\perspective.jar" basedir="perspective.bin"/> |
| </target> |
| |
| <target name="startup"> |
| <jar destfile="${output.dir}\startup.jar" basedir="startup.bin"/> |
| </target> |
| |
| <target name="decorator"> |
| <jar destfile="${output.dir}\decorator.jar" basedir="decorator.bin"/> |
| </target> |
| |
| <target name="help"> |
| <jar destfile="${output.dir}\help.jar" basedir="help.bin"/> |
| </target> |
| |
| <target name="propertyPage"> |
| <jar destfile="${output.dir}\propertyPage.jar" basedir="propertyPage.bin"/> |
| </target> |
| |
| <target name="preferencePage"> |
| <jar destfile="${output.dir}\preferencePage.jar" basedir="preferencePage.bin"/> |
| </target> |
| |
| <target name="workingSet"> |
| <jar destfile="${output.dir}\workingSet.jar" basedir="workingSet.bin"/> |
| </target> |
| |
| <target name="browser"> |
| <jar destfile="${output.dir}\browser.jar" basedir="browser.bin"/> |
| </target> |
| |
| <target name="commands"> |
| <jar destfile="${output.dir}\commands.jar" basedir="commands.bin"/> |
| </target> |
| |
| <target name="handlers"> |
| <jar destfile="${output.dir}\handlers.jar" basedir="handlers.bin"/> |
| </target> |
| |
| <target name="markerSupport"> |
| <jar destfile="${output.dir}\markerSupport.jar" basedir="markerSupport.bin"/> |
| </target> |
| |
| <target name="statusHandler"> |
| <jar destfile="${output.dir}\statusHandler.jar" basedir="statusHandler.bin"/> |
| </target> |
| |
| <target name="self"> |
| <!--<delete file="dynamic_classes.zip"/> |
| <zip destfile="dynamic_classes.zip" basedir="." update="true"> |
| <exclude name="**/*.jar" /> |
| <exclude name="dynamic_classes.zip" /> |
| <exclude name="**/*bin*/**" /> |
| </zip>--> |
| </target> |
| |
| <target name="finish"> |
| <eclipse.refreshLocal resource="org.eclipse.ui.dynamicCode" depth="infinite"/> |
| </target> |
| </project> |
| |