Build Hook
Identifier:
org.eclipse.mtj.core.mtjbuildhook
Since:
1.0
Description:
This extension point provides a way for third party components to hook themselves to the MTJ project's build process.
A hook can perform pre and pos build operations based on the several states available in the build process.
Currently, the ordered list of possible states are:
-
PRE_BUILD [Before build process starts]
-
PRE_PREPROCESS [Before preprocessing]
-
POST_PREPROCESS [After preprocessing]
-
PRE_COMPILE [Before JDT builder starts]
-
POST_COMPILE [After JDT builder ends]
-
PRE_LOCALIZATION [Before localization]
-
POST_LOCALIZATION [After localization]
-
PRE_PREVERIFICATION [Before preverifying]
-
POST_PREVERIFICATION [After preverifying]
-
POST_BUILD [After build process ends]
Configuration Markup:
<!ELEMENT extension (
build-hook)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT build-hook EMPTY>
<!ATTLIST build-hook
hook CDATA #REQUIRED
>
Adds a new build hook to the MTJ project's builder.
-
hook - The IMTJBuildHook implementation. This class represents the build hook and will be called during the build process.
Examples:
Example of a declaration of a
Build Hook
:
<extension point=
"org.eclipse.mtj.core.mtjbuildhook"
>
<build-hook
hook=
"org.eclipse.mtj.core.build.MotoBuildHook"
>
</build-hook>
</extension>
Supplied Implementation:
The MTJ itself does not have any hooks predefined.
Copyright (c) 2009 Motorola.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html