what's the best way to generate code using some sort of template in Eclipse?

Posted on 2005-03-13
Medium Priority
Last Modified: 2013-11-18
If there are some things that I do in code that I do over and over again and am unable to abstract for whatever reason, then I'd like to use some sort of template generator to generate that code given a set of parameters.

There are a variety of systems out there and I don't know much about any of them.

* eclipse templates (is it even possible to to put parameters in eclipse templates?)
* xdoclet (I don't even know what you use xdoclet for or how it works.)
* velocity (this is a template system, but how would I use it in eclipse for generating snippets or even multiple source files of code?)

In short, I want to know the best way to use a template system inside of eclipse.
Question by:HappyEngineer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 92

Expert Comment

ID: 13530997
have a look at coccoon
LVL 92

Accepted Solution

objects earned 1500 total points
ID: 13531023
LVL 92

Assisted Solution

objects earned 1500 total points
ID: 13531533

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question