This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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?