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