Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Mobile Java Development Tools
Previous Page Home Next Page

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:

  1. PRE_BUILD [Before build process starts]
  2. PRE_PREPROCESS [Before preprocessing]
  3. POST_PREPROCESS [After preprocessing]
  4. PRE_COMPILE [Before JDT builder starts]
  5. POST_COMPILE [After JDT builder ends]
  6. PRE_LOCALIZATION [Before localization]
  7. POST_LOCALIZATION [After localization]
  8. PRE_PREVERIFICATION [Before preverifying]
  9. POST_PREVERIFICATION [After preverifying]
  10. 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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire