Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Project Creation(Project creation driven by XML)
Project Creation [message #799048] Wed, 15 February 2012 06:26 Go to next message
Aravindhan Annamalai is currently offline Aravindhan Annamalai
Messages: 88
Registered: July 2009
Location: Chennai
Member
My plug-in has an option to create a custom project in eclipse.

I create the project with some default contents and default folders.

Now, the folders are created by hard-coding the folder name using IPath and IProject.

I am thinking of either a properties file (or) a xml file where we can dictate the project contents.

The project creation should be based on that file.

Need some pointers on this.

Regards,
Aravind
Re: Project Creation [message #800437 is a reply to message #799048] Thu, 16 February 2012 23:17 Go to previous messageGo to next message
Abhijeet Shankargouda is currently offline Abhijeet Shankargouda
Messages: 40
Registered: January 2012
Member
its in .project file which is hidden in you project folder.. its a xml file which has all the details of your project
Re: Project Creation [message #800521 is a reply to message #800437] Fri, 17 February 2012 02:13 Go to previous messageGo to next message
Aravindhan Annamalai is currently offline Aravindhan Annamalai
Messages: 88
Registered: July 2009
Location: Chennai
Member
Thanks for your reply.

You get the .project only after the project creation and the contents are available in that.

What i was asking was, the project creation should be dictated from a xml file?

The folders within the project should be configurable. So, if i include a node in that xml file, the project creation should have a folder created for it.


-Aravind
Re: Project Creation [message #800741 is a reply to message #800521] Fri, 17 February 2012 07:36 Go to previous message
Abhijeet Shankargouda is currently offline Abhijeet Shankargouda
Messages: 40
Registered: January 2012
Member
yes its the good option to dictate through xml file , if you are familiar with xml parsing it will help you,
Previous Topic:Ant script generated by export plug-in fails
Next Topic:Best option for automated plugin testing?
Goto Forum:
  


Current Time: Fri Apr 18 04:19:29 EDT 2014

Powered by FUDForum. Page generated in 0.02208 seconds