facebook

Changing or adding HTML and JSP templates

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #197571 Reply

    Tom Cole
    Participant

    How do I add new JSP and HTML templates or edit the existing ones? I find that I have to go through some serious editing to get the default templates to meet my requirements. With my current project topping the scales at around 100 JSP files, that’s a lot of document editing…I am running Eclipse 2.1.1 with MyEclipseWorkbench v. 2.5.0.

    Just to add, man what an awesome tool. Although I’ve been programming exclusively in Java for over 7 years now, I had a hell of a time breaking into the J2EE environment. I learn from books, and they were not helping me one iota. I got MyEclipse and three weeks later I’ve written everything from JSP’s to Servlet to Taglibs. Again, fantastic product.

    #197574 Reply

    Tom Cole
    Participant

    Sorry, I found it…

    For those who haven’t:

    Look under the directory:
    <install_dir>/plugins/com.genuitec.wizards_2.5.0/Templates

    There you’ll find the various JSP and HTML templates. Just modify and resave…

    Guess I should’ve looked a little bit harder…

    FYI..How do I save these so they aren’t overwritten in future upgrades?

    #197575 Reply

    Tom Cole
    Participant

    In case I forgot to mention, the above directory is under the <myEclipse_install_dir>

    #197577 Reply

    Scott Anderson
    Participant

    How do I add new JSP and HTML templates or edit the existing ones?

    Well, I see you’re resourceful, and fast. 😉 If you’ll notice in the ‘doc’ directory in there, you’ll find the instructions for adding completely new templates in case you want to leave the default ones and just add your own.

    FYI..How do I save these so they aren’t overwritten in future upgrades?

    Unfortunately, at the moment you can’t so be sure to keep a backup. We’ll be looking at making the mechanism more robust in the future.

    Just to add, man what an awesome tool. Although I’ve been programming exclusively in Java for over 7 years now, I had a hell of a time breaking into the J2EE environment. I learn from books, and they were not helping me one iota. I got MyEclipse and three weeks later I’ve written everything from JSP’s to Servlet to Taglibs. Again, fantastic product.

    Now feedback like this makes it all worthwhile. 🙂

    –Scott
    MyEclipse Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Changing or adding HTML and JSP templates

You must be logged in to post in the forum log in