Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [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 |
| 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"> |
| 39 | <property name="buildLabel" value="global" /> |
| 40 | <property name="build.result.folder" value="${basedir}" /> |
| 41 | <property name="postingDirectory" value="${build.result.folder}/ecj" /> |
| 42 | <property name="dest" value="${postingDirectory}/${buildLabel}" /> |
| 43 | <ant antfile="${basedir}/scripts/export-ecj.xml" target="export"/> |
| 44 | </target> |
| 45 | |
| 46 | <!-- ===================================================================== --> |
| 47 | <!-- Steps to do before the target build.sources --> |
| 48 | <!-- Available parameters : --> |
| 49 | <!-- build.result.folder - folder to contain the build results --> |
| 50 | <!-- ===================================================================== --> |
| 51 | <target name="pre.build.sources"> |
| 52 | </target> |
| 53 | |
| 54 | <!-- ===================================================================== --> |
| 55 | <!-- Steps to do after the target build.sources --> |
| 56 | <!-- Available parameters : --> |
| 57 | <!-- build.result.folder - folder to contain the build results --> |
| 58 | <!-- ===================================================================== --> |
| 59 | <target name="post.build.sources"> |
| 60 | </target> |
| 61 | |
| 62 | <!-- ===================================================================== --> |
| 63 | <!-- Steps to do before the compilation target <name> --> |
| 64 | <!-- Substitute "name" with the name of the compilation target, eg @dot --> |
| 65 | <!-- Available parameters : --> |
| 66 | <!-- source.foldern : n = 1 ... N, the source folders --> |
| 67 | <!-- target.folder : where the results of the compilation go --> |
| 68 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 69 | <!-- reference to the classpath structure. --> |
| 70 | <!-- ===================================================================== --> |
| 71 | <target name="pre.name"> |
| 72 | </target> |
| 73 | |
| 74 | <target name="pre.@dot"> |
| 75 | </target> |
| 76 | |
| 77 | <!-- ===================================================================== --> |
| 78 | <!-- Steps to do during the compilation target <name>, after the compile --> |
| 79 | <!-- but before jaring. Substitute "name" with the name of the compilation--> |
| 80 | <!-- target, eg @dot --> |
| 81 | <!-- Available parameters : --> |
| 82 | <!-- source.foldern : n = 1 ... N, the source folders --> |
| 83 | <!-- target.folder : where the results of the compilation go --> |
| 84 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 85 | <!-- reference to the classpath structure. --> |
| 86 | <!-- ===================================================================== --> |
| 87 | <target name="post.compile.name"> |
| 88 | </target> |
| 89 | |
| 90 | <target name="post.compile.@dot"> |
| 91 | <ant antfile="${basedir}/scripts/export-ecj.xml" target="extract-batch-compiler"/> |
| 92 | </target> |
| 93 | |
| 94 | <!-- ===================================================================== --> |
| 95 | <!-- Steps to do after the compilation target <name> --> |
| 96 | <!-- Substitute "name" with the name of the compilation target, eg @dot --> |
| 97 | <!-- Available parameters : --> |
| 98 | <!-- jar.location - the location of the compilation results --> |
| 99 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 100 | <!-- reference to the classpath structure. --> |
| 101 | <!-- ===================================================================== --> |
| 102 | <target name="post.name"> |
| 103 | </target> |
| 104 | |
| 105 | <target name="post.@dot"> |
| 106 | </target> |
| 107 | |
| 108 | <!-- ===================================================================== --> |
| 109 | <!-- Steps to do before the target gather.bin.parts --> |
| 110 | <!-- Available parameters : --> |
| 111 | <!-- build.result.folder - folder containing the build results --> |
| 112 | <!-- target.folder - destination folder --> |
| 113 | <!-- ===================================================================== --> |
| 114 | <target name="pre.gather.bin.parts"> |
| 115 | </target> |
| 116 | |
| 117 | <!-- ===================================================================== --> |
| 118 | <!-- Steps to do after the target gather.bin.parts --> |
| 119 | <!-- Available parameters : --> |
| 120 | <!-- build.result.folder - folder containing the build results --> |
| 121 | <!-- target.folder - destination folder --> |
| 122 | <!-- ===================================================================== --> |
| 123 | <target name="post.gather.bin.parts"> |
| 124 | </target> |
| 125 | |
| 126 | <!-- ===================================================================== --> |
| 127 | <!-- Steps to do before the target gather.sources --> |
| 128 | <!-- Available parameters : --> |
| 129 | <!-- destination.temp.folder - destination folder --> |
| 130 | <!-- ===================================================================== --> |
| 131 | <target name="pre.gather.sources"> |
| 132 | </target> |
| 133 | |
| 134 | <!-- ===================================================================== --> |
| 135 | <!-- Steps to do after the target gather.sources --> |
| 136 | <!-- Available parameters : --> |
| 137 | <!-- destination.temp.folder - destination folder --> |
| 138 | <!-- ===================================================================== --> |
| 139 | <target name="post.gather.sources"> |
| 140 | </target> |
| 141 | |
| 142 | <!-- ===================================================================== --> |
| 143 | <!-- Steps to do before the target gather.logs --> |
| 144 | <!-- Available parameters : --> |
| 145 | <!-- destination.temp.folder - destination folder --> |
| 146 | <!-- ===================================================================== --> |
| 147 | <target name="pre.gather.logs"> |
| 148 | </target> |
| 149 | |
| 150 | <!-- ===================================================================== --> |
| 151 | <!-- Steps to do after the target gather.logs --> |
| 152 | <!-- Available parameters : --> |
| 153 | <!-- destination.temp.folder - destination folder --> |
| 154 | <!-- ===================================================================== --> |
| 155 | <target name="post.gather.logs"> |
| 156 | </target> |
| 157 | |
| 158 | <!-- ===================================================================== --> |
| 159 | <!-- Steps to do before the target clean --> |
| 160 | <!-- Available parameters : --> |
| 161 | <!-- destination.temp.folder - destination folder --> |
| 162 | <!-- ===================================================================== --> |
| 163 | <target name="pre.clean"> |
| 164 | </target> |
| 165 | |
| 166 | <!-- ===================================================================== --> |
| 167 | <!-- Steps to do after the target clean --> |
| 168 | <!-- Available parameters : --> |
| 169 | <!-- plugin.destination - final destination of the build --> |
| 170 | <!-- build.result.folder - results of the compilation --> |
| 171 | <!-- temp.folder - temporary folder --> |
| 172 | <!-- ===================================================================== --> |
| 173 | <target name="post.clean"> |
| 174 | </target> |
| 175 | |
| 176 | <!-- ===================================================================== --> |
| 177 | <!-- Steps to do before the target jdtCompilerAdapter.jar --> |
| 178 | <!-- ===================================================================== --> |
| 179 | <target name="pre.jdtCompilerAdapter.jar"> |
| 180 | </target> |
| 181 | |
| 182 | <!-- ===================================================================== --> |
| 183 | <!-- Steps to do after the target compile.jdtCompilerAdapter.jar --> |
| 184 | <!-- ===================================================================== --> |
| 185 | <target name="post.compile.jdtCompilerAdapter.jar"> |
| 186 | <ant antfile="${basedir}/scripts/export-ecj.xml" target="extract-ant-adapter-compiler"/> |
| 187 | </target> |
| 188 | |
| 189 | <!-- ===================================================================== --> |
| 190 | <!-- Steps to do after the target jdtCompilerAdapter.jar --> |
| 191 | <!-- ===================================================================== --> |
| 192 | <target name="post.jdtCompilerAdapter.jar"> |
| 193 | </target> |
| 194 | </project> |