Friends of Eclipse,
Eclipse is an open source community that benefits millions of developers around the world each and every day! During the month of September, we are asking you to give back to our wonderful open source community. All donations will be used to improve Eclipse technology. Your contribution counts!
We thank you for this gesture, and for giving back to our community.
This document provides instructions on how to install or upgrade the MTJ plug-in/feature set. In addition, once you have finished the installation itself, you will need to configure MTJ's settings as well as some Eclipse settings.
Install any of SDKs or wireless toolkits you want to use. When you do this, make note of the base directory into which each is installed, as you will need this information when you configure MTJ.
Unix users - if you install an SDK or a Wireless Toolkit for use by more than one user on your system, please ensure that all the users have the appropriate read and execute permissions on the contents of the target SDK or toolkit. For instance, some toolkits or SDKs contain a preverifier that MTJ will need to access during the build process. If the user doing the build does not have execute permissions on the preverifier, the build will fail. Similarly, if the user does not have execute permissions on the emulator, he or she will not be able to test the build.
Due to limitations in the extensibility of the Eclipse Java Compiler (see Bug 116143 for further information), it is necessary for MTJ to hook into the Eclipse platform at a lower level in order to provide preprocessor support. If you would like to take advantage of MTJ's support for preprocessing, a few extra changes need to be made to your Eclipse installation.
osgi.framework.extensions=org.eclipse.mtj.core.hooksIf the property already exists, append
",org.eclipse.mtj.core.hooks"to the end of the current property definition.
You will be warned if you have projects that are configured for
preprocessing, but the necessary configuration changes have not been
made. In this case, a warning will be written to the Eclipse workspace
log file with text similar to
"Preprocessor invoked, but hook is not installed. Consult the installation instructions for MTJ."
Back to the top