|
ProjectFromSrc
Create plug-in project from source code
IntroductionThis page lists out the instructions on how to create the Eclipse plug-in project using the source code in the project svn for working on it. Just follow the 9 step procedure to start playing with it. InstructionsNote: Following instructions are for Eclipse v3.3.2. For other versions, they may differ a bit or may be not. Step 1: Checkout the project source as mentioned in the source tab. Let's say you checked the source out to $HOME/gdata-java-client-eclipse-plugin. Step 2: Now, open Eclipse. Go to File --> New --> Project. You can see the following window. In that look out for 'Plug-in Project'. Select 'Plug-in Project' and click on 'Next' button.
Step 3: In the window which appears, we need to enter appropriate information.
Now, hit 'Next'.
Step 4: You can see the window shown below. Let 'Plug-in Properties' be as it is since it will eventually get overwritten. For 'Plug-in Options' uncheck both the options. For 'Rich Client Application' check 'No' and hit 'Finish' button.
Step 5: You may be asked if you want to open the 'Plug-in Perspective'. If so, hit 'Yes'. Step 6: Now, after the project is created, right-click on the project folder named 'Google_Data_Plugin' (if that's what you have named the project) in the 'Package Explorer' and click on 'Import' as shown below.
Step 7: On this page, expand the folder named 'General' and select 'File System' as shown below and then hit 'Next'.
Step 8:
Step 9: Now the plug-in project is created in Eclipse. To run it as a plug-in, right-click on the project folder in the 'Package Explorer' and go to Run As --> Eclipse Application. A new instance of Eclipse will be opened and you can test the plug-in there. Now, you are ready to work on the plug-in your way. Good luck! |
Sign in to add a comment