Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Create Eclipse Custom Project(Create Eclipse Custom Project)
Create Eclipse Custom Project [message #1732365] Mon, 16 May 2016 15:27 Go to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
Hi,

Can anybody tell me?

I want to create project from eclipse on selecting New -> MyProjectName

On selecting the MyProjectName it should generate a project (like any project) but with my own folder structure.
Re: Create Eclipse Custom Project [message #1732366 is a reply to message #1732365] Mon, 16 May 2016 15:30 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
If I understand what you mean by "Custom" the following should work.
New -> Other -> General -> Project


Oxygen 3a
Windows 10
Re: Create Eclipse Custom Project [message #1732367 is a reply to message #1732366] Mon, 16 May 2016 15:37 Go to previous messageGo to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
But how can I put my own folder structure?

Like

MyProjectName
|-> lib
|-> bin
|-> util
Re: Create Eclipse Custom Project [message #1732368 is a reply to message #1732367] Mon, 16 May 2016 15:39 Go to previous messageGo to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
Here I want to create a project along with these empty directories.
Re: Create Eclipse Custom Project [message #1732370 is a reply to message #1732368] Mon, 16 May 2016 15:49 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Once the project is created do the following....

Bring up the context menu (normally right mouse click) New -> folder.

As long as the folders stay empty keep one as a template and do a copy paste at the project level for new instances.

If the template project will have sub-folders with files then the copy paste of the IDE will not work. Install the Oomph copy project tool from here if this is going to be more than a one time activity.

index.php/fa/25917/0/



  • Attachment: Snap8.tif
    (Size: 988.92KB, Downloaded 1829 times)


Oxygen 3a
Windows 10
Re: Create Eclipse Custom Project [message #1732373 is a reply to message #1732370] Mon, 16 May 2016 15:59 Go to previous messageGo to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
So using this tool Can I create a plugin with custom folder structure?
Re: Create Eclipse Custom Project [message #1732375 is a reply to message #1732373] Mon, 16 May 2016 16:08 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
The tool does not create a plug-in. All it does is a deep copy of a project. The current version of Eclipse does not support a deep copy of projects.

Oxygen 3a
Windows 10
Re: Create Eclipse Custom Project [message #1732376 is a reply to message #1732373] Mon, 16 May 2016 16:05 Go to previous messageGo to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
Hi,

I want to create a eclipse plugin with my own folder structure. Once the plugin is completed. If I install that plugin it should show a option in new -> file-> (in the wizard like java project I want to show my own project name along with its folders)
Re: Create Eclipse Custom Project [message #1732377 is a reply to message #1732375] Mon, 16 May 2016 16:06 Go to previous messageGo to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
If I select my project from menu it should create project with my own folder structure (like java project does)
Re: Create Eclipse Custom Project [message #1732379 is a reply to message #1732377] Mon, 16 May 2016 16:18 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
The two screen captures are all you get with the Oomph tool..

index.php/fa/25922/0/

index.php/fa/25923/0/

  • Attachment: Snap9.tif
    (Size: 310.58KB, Downloaded 1727 times)
  • Attachment: Snap11.tif
    (Size: 305.47KB, Downloaded 1702 times)


Oxygen 3a
Windows 10
Re: Create Eclipse Custom Project [message #1732380 is a reply to message #1732379] Mon, 16 May 2016 16:22 Go to previous messageGo to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
I don't want to install oomph tool. I want to create just an eclipse plugin. If I install that plugin on any eclipse IDE it should show my project as an option in the menu. If I select that option it should generate a project with all files and folders that I have added in the plugin
Re: Create Eclipse Custom Project [message #1732430 is a reply to message #1732380] Tue, 17 May 2016 09:29 Go to previous message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
Hi,

These are the solutions for my question:

https://cvalcarcel.wordpress.com/2009/07/11/writing-an-eclipse-plug-in-part-2-creating-a-custom-project-in-eclipse-adding-to-the-new-project-wizard/

https://cvalcarcel.wordpress.com/2009/07/26/writing-an-eclipse-plug-in-part-4-create-a-custom-project-in-eclipse-new-project-wizard-the-behavior/
Previous Topic:Create Eclipse Custom Project Type
Next Topic:Eclipse IDE blocks on startup (no response)
Goto Forum:
  


Current Time: Thu Apr 18 07:27:12 GMT 2024

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

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

Back to the top