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