• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Eclipse Project Template

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm new to Eclipse so I hope this isn't a dumb question.

I want to set up a project, libraries, VM settings, etc and then save it as a template that I can use to create future projects. As it stands right now every time I create a new Java Project I have to manually connect my libraries, set some VM settings and more. There must be a better way.

I have tried just copying/pasting the project in the Package Explorer but that doesn't seem to 'really' do the trick. I also tried exporting/importing with no luck. Both of these might be good options, could be I'm just not doing it correctly.

Any ideas appreciated.

rivers
 
Saloon Keeper
Posts: 24321
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not a dumb question at all!

I was thinking that I knew how to make a project prototype once, but I've forgotten how, if so. More commonly, I, too copy/paste projects. I also use the Eclipse code snippet templating features a lot.

Someone elsewhere suggested simply writing an Eclipse plugin/wizard, but that's probably overkill.

One other possibility, though, if you use Maven to build projects is to build and catalog a Maven archetype. They're easy to create, since you basically just supply a prototype project and some support files and Maven sucks it all in and makes it available for endless replication. You can hook up a Maven project to Eclipse by using the "eclipse:eclipse" mvn goal.
 
Rodney Ivers
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply. I think your solution is way above my skill level right now. Maven is one of many things on my list of things to learn.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic