Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Recipe 12.2. Creating plugin.xml

12.2.1. Problem

You want to do the minimal work required to create a new plug-in.

12.2.2. Solution

At a minimum, every plug-in needs a plugin.xml file that tells Eclipse about it. And if you have a plugin.xml file, you have a plug-in—even one that doesn't have any code. Start off plugin.xml with a standard XML declaration, add a <plugin> element, and set the id, name, version, and provider-name attributes of this element. Then store plugin.xml in a folder in the plugins directory to install this rudimentary plug-in.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint