blob: 0fd5dbb7f81f8be5bb6dbe4b0959230c3dd85628 [file] [log] [blame]
Stephan Herrmann97623742010-07-22 17:30:40 +00001<?xml version="1.0" encoding="UTF-8"?> <!--
Stephan Herrmann35705382020-03-03 21:42:19 +01002 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 Herrmann97623742010-07-22 17:30:40 +00003 Contributors:
4 IBM Corporation - initial API and implementation GK Software AG - fill in details for Object Teams
5 -->
6
7<!-- ===================================================================== -->
8<!-- Custom targets called from a project's generated build.xml -->
9<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
10<!-- ===================================================================== -->
11<project name="Build specific targets and properties" default="noDefault">
12
13 <!-- ===================================================================== -->
14 <!-- Default target -->
15 <!-- ===================================================================== -->
16 <target name="noDefault">
17 <echo message="This file must be called with explicit targets" />
18 </target>
19
20 <!-- ===================================================================== -->
21 <!-- Steps to do before the target build.jars -->
22 <!-- Available parameters : -->
23 <!-- build.result.folder - folder to contain the build results -->
24 <!-- ===================================================================== -->
25 <target name="pre.build.jars">
26 </target>
27
28 <!-- ===================================================================== -->
29 <!-- Steps to do after the target build.jars -->
30 <!-- Available parameters : -->
31 <!-- build.result.folder - folder to contain the build results -->
32 <!-- ===================================================================== -->
Stephan Herrmann84a42432010-07-22 18:41:46 +000033 <target name="post.build.jars"> </target>
Stephan Herrmann97623742010-07-22 17:30:40 +000034
35 <!-- ===================================================================== -->
36 <!-- Steps to do before the target build.sources -->
37 <!-- Available parameters : -->
38 <!-- build.result.folder - folder to contain the build results -->
39 <!-- ===================================================================== -->
40 <target name="pre.build.sources">
41 </target>
42
43 <!-- ===================================================================== -->
44 <!-- Steps to do after the target build.sources -->
45 <!-- Available parameters : -->
46 <!-- build.result.folder - folder to contain the build results -->
47 <!-- ===================================================================== -->
48 <target name="post.build.sources">
49 </target>
50
51 <!-- ===================================================================== -->
52 <!-- Steps to do before the compilation target <name> -->
53 <!-- Substitute "name" with the name of the compilation target, eg @dot -->
54 <!-- Available parameters : -->
55 <!-- source.foldern : n = 1 ... N, the source folders -->
56 <!-- target.folder : where the results of the compilation go -->
57 <!-- <name>.classpath : name = name of the compilation target. A -->
58 <!-- reference to the classpath structure. -->
59 <!-- ===================================================================== -->
60 <target name="pre.name">
61 </target>
62
63 <target name="pre.@dot">
64 </target>
65
66 <!-- ===================================================================== -->
67 <!-- Steps to do during the compilation target <name>, after the compile -->
68 <!-- but before jaring. Substitute "name" with the name of the compilation-->
69 <!-- target, eg @dot -->
70 <!-- Available parameters : -->
71 <!-- source.foldern : n = 1 ... N, the source folders -->
72 <!-- target.folder : where the results of the compilation go -->
73 <!-- <name>.classpath : name = name of the compilation target. A -->
74 <!-- reference to the classpath structure. -->
75 <!-- ===================================================================== -->
76 <target name="post.compile.name">
77 </target>
78
79 <target name="post.compile.@dot">
Stephan Herrmannd8acd7d2014-04-22 22:10:34 +020080 <echo message="Jaring minimal OT runtime 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,org/eclipse/objectteams/otredyn/runtime/*.class" compress="true"/> </target>
Stephan Herrmann97623742010-07-22 17:30:40 +000081
82 <!-- ===================================================================== -->
83 <!-- Steps to do after the compilation target <name> -->
84 <!-- Substitute "name" with the name of the compilation target, eg @dot -->
85 <!-- Available parameters : -->
86 <!-- jar.location - the location of the compilation results -->
87 <!-- <name>.classpath : name = name of the compilation target. A -->
88 <!-- reference to the classpath structure. -->
89 <!-- ===================================================================== -->
90 <target name="post.name">
91 </target>
92
93 <target name="post.@dot">
94 </target>
95
96 <!-- ===================================================================== -->
97 <!-- Steps to do before the target gather.bin.parts -->
98 <!-- Available parameters : -->
99 <!-- build.result.folder - folder containing the build results -->
100 <!-- target.folder - destination folder -->
101 <!-- ===================================================================== -->
102 <target name="pre.gather.bin.parts">
103 </target>
104
105 <!-- ===================================================================== -->
106 <!-- Steps to do after the target gather.bin.parts -->
107 <!-- Available parameters : -->
108 <!-- build.result.folder - folder containing the build results -->
109 <!-- target.folder - destination folder -->
110 <!-- ===================================================================== -->
111 <target name="post.gather.bin.parts">
112 </target>
113
114 <!-- ===================================================================== -->
115 <!-- Steps to do before the target gather.sources -->
116 <!-- Available parameters : -->
117 <!-- destination.temp.folder - destination folder -->
118 <!-- ===================================================================== -->
119 <target name="pre.gather.sources">
120 </target>
121
122 <!-- ===================================================================== -->
123 <!-- Steps to do after the target gather.sources -->
124 <!-- Available parameters : -->
125 <!-- destination.temp.folder - destination folder -->
126 <!-- ===================================================================== -->
127 <target name="post.gather.sources">
128 </target>
129
130 <!-- ===================================================================== -->
131 <!-- Steps to do before the target gather.logs -->
132 <!-- Available parameters : -->
133 <!-- destination.temp.folder - destination folder -->
134 <!-- ===================================================================== -->
135 <target name="pre.gather.logs">
136 </target>
137
138 <!-- ===================================================================== -->
139 <!-- Steps to do after the target gather.logs -->
140 <!-- Available parameters : -->
141 <!-- destination.temp.folder - destination folder -->
142 <!-- ===================================================================== -->
143 <target name="post.gather.logs">
144 </target>
145
146 <!-- ===================================================================== -->
147 <!-- Steps to do before the target clean -->
148 <!-- Available parameters : -->
149 <!-- destination.temp.folder - destination folder -->
150 <!-- ===================================================================== -->
151 <target name="pre.clean">
152 </target>
153
154 <!-- ===================================================================== -->
155 <!-- Steps to do after the target clean -->
156 <!-- Available parameters : -->
157 <!-- plugin.destination - final destination of the build -->
158 <!-- build.result.folder - results of the compilation -->
159 <!-- temp.folder - temporary folder -->
160 <!-- ===================================================================== -->
161 <target name="post.clean">
162 </target>
163
164</project>