Stephan Herrmann | 4ad92ca | 2013-01-22 21:09:16 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
<!-- |
| 2 | Copyright (c) 2006, 2009 IBM Corporation and others. |
| 3 | All rights reserved. This program and the accompanying materials |
| 4 | are made available under the terms of the Eclipse Public License v1.0 |
| 5 | which accompanies this distribution, and is available at |
| 6 | http://www.eclipse.org/legal/epl-v10.html |
| 7 | |
| 8 | Contributors: |
| 9 | IBM Corporation - initial API and implementation
GK Software AG - fill in details for Object Teams |
| 10 | --> |
| 11 | |
| 12 | <!-- ===================================================================== --> |
| 13 | <!-- Custom targets called from a project's generated build.xml --> |
| 14 | <!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.--> |
| 15 | <!-- ===================================================================== --> |
| 16 | <project name="Build specific targets and properties" default="noDefault"> |
| 17 | |
| 18 | <!-- ===================================================================== --> |
| 19 | <!-- Default target --> |
| 20 | <!-- ===================================================================== --> |
| 21 | <target name="noDefault"> |
| 22 | <echo message="This file must be called with explicit targets" /> |
| 23 | </target> |
| 24 | |
| 25 | <!-- ===================================================================== --> |
| 26 | <!-- Steps to do before the target build.jars --> |
| 27 | <!-- Available parameters : --> |
| 28 | <!-- build.result.folder - folder to contain the build results --> |
| 29 | <!-- ===================================================================== --> |
| 30 | <target name="pre.build.jars"> |
| 31 | </target> |
| 32 | |
| 33 | <!-- ===================================================================== --> |
| 34 | <!-- Steps to do after the target build.jars --> |
| 35 | <!-- Available parameters : --> |
| 36 | <!-- build.result.folder - folder to contain the build results --> |
| 37 | <!-- ===================================================================== --> |
| 38 | <target name="post.build.jars">
</target> |
| 39 | |
| 40 | <!-- ===================================================================== --> |
| 41 | <!-- Steps to do before the target build.sources --> |
| 42 | <!-- Available parameters : --> |
| 43 | <!-- build.result.folder - folder to contain the build results --> |
| 44 | <!-- ===================================================================== --> |
| 45 | <target name="pre.build.sources"> |
| 46 | </target> |
| 47 | |
| 48 | <!-- ===================================================================== --> |
| 49 | <!-- Steps to do after the target build.sources --> |
| 50 | <!-- Available parameters : --> |
| 51 | <!-- build.result.folder - folder to contain the build results --> |
| 52 | <!-- ===================================================================== --> |
| 53 | <target name="post.build.sources"> |
| 54 | </target> |
| 55 | |
| 56 | <!-- ===================================================================== --> |
| 57 | <!-- Steps to do before the compilation target <name> --> |
| 58 | <!-- Substitute "name" with the name of the compilation target, eg @dot --> |
| 59 | <!-- Available parameters : --> |
| 60 | <!-- source.foldern : n = 1 ... N, the source folders --> |
| 61 | <!-- target.folder : where the results of the compilation go --> |
| 62 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 63 | <!-- reference to the classpath structure. --> |
| 64 | <!-- ===================================================================== --> |
| 65 | <target name="pre.name"> |
| 66 | </target> |
| 67 | |
| 68 | <target name="pre.@dot"> |
| 69 | </target> |
| 70 | |
| 71 | <!-- ===================================================================== --> |
| 72 | <!-- Steps to do during the compilation target <name>, after the compile --> |
| 73 | <!-- but before jaring. Substitute "name" with the name of the compilation--> |
| 74 | <!-- target, eg @dot --> |
| 75 | <!-- Available parameters : --> |
| 76 | <!-- source.foldern : n = 1 ... N, the source folders --> |
| 77 | <!-- target.folder : where the results of the compilation go --> |
| 78 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 79 | <!-- reference to the classpath structure. --> |
| 80 | <!-- ===================================================================== --> |
| 81 | <target name="post.compile.name"> |
| 82 | </target> |
| 83 | |
| 84 | <target name="post.compile.@dot"> |
| 85 | <echo message="Jaring variants of OTRE from ${target.folder} into ${buildDirectory}/plugins/org.eclipse.objectteams.otdt/lib" />
<jar destfile="${buildDirectory}/plugins/org.eclipse.objectteams.otdt/lib/otre_min.jar"
basedir="${target.folder}"
includes="org/objectteams/*.class"
compress="true"/>
<jar destfile="${buildDirectory}/plugins/org.eclipse.objectteams.otdt/lib/otre_agent.jar"
basedir="${target.folder}"
includes="org/eclipse/objectteams/otredyn/transformer/jplis/otreAgent.class"
compress="true">
<manifest>
<attribute name="Premain-Class" value="org.eclipse.objectteams.otredyn.transformer.jplis.otreAgent"/>
<attribute name="Can-Redefine-Classes" value="true"/>
</manifest>
</jar>
</target> |
| 86 | |
| 87 | <!-- ===================================================================== --> |
| 88 | <!-- Steps to do after the compilation target <name> --> |
| 89 | <!-- Substitute "name" with the name of the compilation target, eg @dot --> |
| 90 | <!-- Available parameters : --> |
| 91 | <!-- jar.location - the location of the compilation results --> |
| 92 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 93 | <!-- reference to the classpath structure. --> |
| 94 | <!-- ===================================================================== --> |
| 95 | <target name="post.name"> |
| 96 | </target> |
| 97 | |
| 98 | <target name="post.@dot"> |
| 99 | </target> |
| 100 | |
| 101 | <!-- ===================================================================== --> |
| 102 | <!-- Steps to do before the target gather.bin.parts --> |
| 103 | <!-- Available parameters : --> |
| 104 | <!-- build.result.folder - folder containing the build results --> |
| 105 | <!-- target.folder - destination folder --> |
| 106 | <!-- ===================================================================== --> |
| 107 | <target name="pre.gather.bin.parts"> |
| 108 | </target> |
| 109 | |
| 110 | <!-- ===================================================================== --> |
| 111 | <!-- Steps to do after the target gather.bin.parts --> |
| 112 | <!-- Available parameters : --> |
| 113 | <!-- build.result.folder - folder containing the build results --> |
| 114 | <!-- target.folder - destination folder --> |
| 115 | <!-- ===================================================================== --> |
| 116 | <target name="post.gather.bin.parts"> |
| 117 | </target> |
| 118 | |
| 119 | <!-- ===================================================================== --> |
| 120 | <!-- Steps to do before the target gather.sources --> |
| 121 | <!-- Available parameters : --> |
| 122 | <!-- destination.temp.folder - destination folder --> |
| 123 | <!-- ===================================================================== --> |
| 124 | <target name="pre.gather.sources"> |
| 125 | </target> |
| 126 | |
| 127 | <!-- ===================================================================== --> |
| 128 | <!-- Steps to do after the target gather.sources --> |
| 129 | <!-- Available parameters : --> |
| 130 | <!-- destination.temp.folder - destination folder --> |
| 131 | <!-- ===================================================================== --> |
| 132 | <target name="post.gather.sources"> |
| 133 | </target> |
| 134 | |
| 135 | <!-- ===================================================================== --> |
| 136 | <!-- Steps to do before the target gather.logs --> |
| 137 | <!-- Available parameters : --> |
| 138 | <!-- destination.temp.folder - destination folder --> |
| 139 | <!-- ===================================================================== --> |
| 140 | <target name="pre.gather.logs"> |
| 141 | </target> |
| 142 | |
| 143 | <!-- ===================================================================== --> |
| 144 | <!-- Steps to do after the target gather.logs --> |
| 145 | <!-- Available parameters : --> |
| 146 | <!-- destination.temp.folder - destination folder --> |
| 147 | <!-- ===================================================================== --> |
| 148 | <target name="post.gather.logs"> |
| 149 | </target> |
| 150 | |
| 151 | <!-- ===================================================================== --> |
| 152 | <!-- Steps to do before the target clean --> |
| 153 | <!-- Available parameters : --> |
| 154 | <!-- destination.temp.folder - destination folder --> |
| 155 | <!-- ===================================================================== --> |
| 156 | <target name="pre.clean"> |
| 157 | </target> |
| 158 | |
| 159 | <!-- ===================================================================== --> |
| 160 | <!-- Steps to do after the target clean --> |
| 161 | <!-- Available parameters : --> |
| 162 | <!-- plugin.destination - final destination of the build --> |
| 163 | <!-- build.result.folder - results of the compilation --> |
| 164 | <!-- temp.folder - temporary folder --> |
| 165 | <!-- ===================================================================== --> |
| 166 | <target name="post.clean"> |
| 167 | </target> |
| 168 | |
| 169 | </project> |