Does Eclipse support the concept of reusable “project structures” via scripting/configging?
For instance if I want all of my projects – upon creation – to take on the form:
MyProjectRoot/
src/
fizz/
buzz/
docs/
Is there a way to define this project structure somewhere (XML, etc.), and then link a new project to that structure?
I know I can write an ant/maven script to do this for me, but having a resource like this would save me from a lot of manual copying & pasting the same buildscript.
Thanks in advance!
Out of the box, I don’t think this exists.
One option is to create a template project and save the dir tree off somewhere. Then when you need a new project that should follow template, you can copy the dir tree and use File -> Import.
Another option that I’d recommend is to just use Maven and have Maven dictate dir structure. Eclipse can then import that maven project.