Version 2.3
Copyright © 2008, 2009, 2010, 2011, 2012 Lars Vogel
24.06.2012
| Revision History | |||
|---|---|---|---|
| Revision 0.1 | 30.11.2008 | Lars Vogel |
created |
| Revision 0.2 - 2.3 | 20.04.2009 - 24.06.2012 | Lars Vogel |
bug fixes and enhancements |
Table of Contents
A fragment project is always defined for a host project. At runtime the fragment project is merged with its host project and for the runtime both projects are just one.
Fragment project are always optional for their host plug-in.
To create a fragment project select → → → → .
Fragment project are typical used for containing the tests. This way the tests can access the host plug-in classes, even if the host plug-in does not define them as external API. Sometimes tests are also contained in normal plug-ins, in this case they can only test the external API for other plug-ins.
Another typical usage examples for fragment projects are translations and native code. A new translation can be contributed to a plug-in via a fragment project. SWT makes use of fragment projects to factor out it native code parts.
Before posting questions, please see the vogella FAQ. If you have questions or find an error in this article please use the www.vogella.com Google Group. I have created a short list how to create good questions which might also help you.
vogella Training Android and Eclipse Training from the vogella team
Android Tutorial Introduction to Android Programming
GWT Tutorial Program in Java and compile to JavaScript and HTML
Eclipse RCP Tutorial Create native applications in Java
JUnit Tutorial Test your application
Git Tutorial Put everything you have under distributed version control system