Is there a way to create a Plugin Eclipse project programmatically? I tried creating a java project but it doesn't include the Manifest file and the build.properties file. I added pluginnature but it still could not create those files. Any idea?
-
Right click in META-INF folder inside your project, New/File... Name it MANIFEST.MF. More info about the manifest file in Working with Manifest Files: The BasicsLuiggi Mendoza– Luiggi Mendoza2012-09-13 06:37:11 +00:00Commented Sep 13, 2012 at 6:37
-
I suspect this isn't possible directly, you'll prob have to write standard java code to create the MANIFEST.MF, build.properties etc. This is probably what the create project 'wizards' do...Adam– Adam2012-09-13 06:47:24 +00:00Commented Sep 13, 2012 at 6:47
-
You could try to invoke plugin project wizard programmatically, hide it's window, fill it with needed values and press the finish button. Here is example of how to call wizard: torkild.resheim.no/2010/07/invoking-eclipse-wizard.htmlKonstantin V. Salikhov– Konstantin V. Salikhov2012-09-13 08:42:16 +00:00Commented Sep 13, 2012 at 8:42
-
Hi luiggi, i want to do it programmatically. I want to be able to create a customized plugin project with my own jars inside. I will try this one from Konstantin.jantox– jantox2012-09-13 09:15:42 +00:00Commented Sep 13, 2012 at 9:15
Add a comment
|
1 Answer
I found this site. Found this site. http://sodecon.blogspot.com.au/2009/09/create-elicpse-plug-in-project.html Really helpful! It explains how to create all the necessary documents in an eclipse plug-in project.