This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse: Custom project type? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse: Custom project type?" Watch "Eclipse: Custom project type?" New topic
Author

Eclipse: Custom project type?

Clifford Adams
Ranch Hand

Joined: May 12, 2004
Posts: 50
Is it possible to define a new project type for eclipse? I would like to create a 'Struts Project' type that has the right libraries and config files there.

Thanks.
Xiao Wu
Greenhorn

Joined: Mar 31, 2004
Posts: 2
I too would be interested in this if someone knows how to do it!!!
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30580
    
154

I'm sure there is a way of doing that since plugin developers would need to create project types. But I'm sure it is complicated and there are easier ways to accomplish what you are trying to do.

1) Create a project containing the proper classpath and jars. Every time, you want a new Struts project, make a copy of this project.
2) Download a plugin that supports Struts. You can do a search of this forum to find a few. I think one is free.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Clifford Adams
Ranch Hand

Joined: May 12, 2004
Posts: 50
Thanks for the tip. I had figured this out, but assumed that there was a better way to do it.

The struts plugins are mostly disapointing. I'm working on my boss to by the Exadel one now.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse: Custom project type?