Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » project type / nature(Creation of new project Type)
project type / nature [message #505394] Wed, 30 December 2009 11:31 Go to next message
NH  is currently offline NH Friend
Messages: 14
Registered: December 2009
Junior Member
i have define a new perspective, say "MyPerspective", I ultimately want to create my own Project ,"MyProjectType" and related XML source files. So when I go into FILE > NEW> PROJECT > "MyProjectType" will come up.

The execution of this command will create say
myproject1 folder (in the current workspace) &
resource1template.xml
resource2template.xml

I am a bit confused and was thinking the project type is equivalent to the project nature??

Does anybody know the class and method, that I should be putting my code in order to create the above project structure...
I'm not experienced in Java or Eclipse, so any help would be much appreciated..
Re: project type / nature [message #505611 is a reply to message #505394] Sun, 03 January 2010 14:19 Go to previous messageGo to next message
NH  is currently offline NH Friend
Messages: 14
Registered: December 2009
Junior Member
:blush: there must be somebody that can help!!
Re: project type / nature [message #505626 is a reply to message #505394] Sun, 03 January 2010 14:46 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
On 12/30/2009 5:01 PM, NH wrote:
> i have define a new perspective, say "MyPerspective", I ultimately want
> to create my own Project ,"MyProjectType" and related XML source files.
> So when I go into FILE > NEW> PROJECT > "MyProjectType" will come up.
>
> The execution of this command will create say
> myproject1 folder (in the current workspace) & resource1template.xml
> resource2template.xml
>
> I am a bit confused and was thinking the project type is equivalent to
> the project nature??
>
> Does anybody know the class and method, that I should be putting my code
> in order to create the above project structure...
> I'm not experienced in Java or Eclipse, so any help would be much
> appreciated..

Project Nature is more like identifying the type of a project. What I feel you need is to create
project template for "MyProjectType" to appear in that New wizard. Have a look at following links to
see how to do it

How to develop templates
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. cdt.doc.isv/guide/projectTemplateEngine/Howtoregistertemplat es.html


How to register a template with Eclipse
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. cdt.doc.isv/guide/projectTemplateEngine/Howtoregistertemplat es.html

Example template
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. cdt.doc.isv/guide/projectTemplateEngine/Howtoregistertemplat es.html

hth,
--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Re: project type / nature [message #509701 is a reply to message #505626] Mon, 25 January 2010 00:27 Go to previous messageGo to next message
NH  is currently offline NH Friend
Messages: 14
Registered: December 2009
Junior Member
thanks for response, is this the only way to you can create a new project template. cdt uses the c compiler which I don't really need. ie I just want to create a simple xml file file in the project... Is there no a java utilty which does a similar job.. without installing a c compiler..?
Re: project type / nature [message #513098 is a reply to message #509701] Mon, 08 February 2010 20:15 Go to previous message
NH  is currently offline NH Friend
Messages: 14
Registered: December 2009
Junior Member
Just to complete... I used inewwizard class to sort this out
Previous Topic:PDE Headless Build doesn't work with feature
Next Topic:project type / nature
Goto Forum:
  


Current Time: Fri Aug 07 21:59:54 GMT 2020

Powered by FUDForum. Page generated in 0.02249 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top