Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Eclipse beginner question - how to add .jsp / .xml etc. to project ?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have heard so much praise about Eclipse, so today I decided to check it out and downloaded it with tomcat-plugin.

So far it looks nice but after doing some RTFM I still didn't manage to figure out something so simple as how to add .xml/.jsp/etc. files to project

- Roni
 
roni suvanto
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I figured out that I can add .jsp/.xml etc. to the project by copying them directly to the project-folder.

But is there a way to write these files with eclipse ? Kinda sucks to write them with <insert name of the ascii-editor here> and then saving them to the right directory manually.

- Roni
 
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create a new file with any extension within Eclipse (File->New->File or equivalent button on toolbar on 3.0M9). Is that what you meant?

The real bugger is there are no native XML or JSP editors - so you don't get syntax highlighting or code completion in JSPs for taglibs and stuff.

I've yet to find a good, free editor for either XML or JSP, though I admit I haven't looked far. The Lomboz J2EE plugin has some JSP facilities but it's massive overkill for the editor alone - I'm running Eclipse on a RAM hungry machine so I try and keep plugins to a minimum.

Anyway, HTH.

Cheers,



--Tim
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The XMLBuddy plugin is a decent XML editor with syntax highlighting.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SolarEclipse is a good resource friendly JSP/XML/CSS editor. Doesn't work well with 3.0 but under the 2.1 branch it's excellent.
 
roni suvanto
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jeroen Wenting:
SolarEclipse is a good resource friendly JSP/XML/CSS editor. Doesn't work well with 3.0 but under the 2.1 branch it's excellent.



Thanks Jeroen. Just the thing I was looking for.

- Roni
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Which plugins support the eclipse 3.0 for jsp/xml editor.

Thanks and regards,
madhu
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an update to SolarEclipse which you can find a link to in their support forum at sf.
It's not perfect, but it works and doesn't seem to crash.
 
Madhu GM
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeroen..

I used lomboz plugin.. it works fine with eclipse 3.0

Regards,
-Madhu
 
Think of how dumb the average person is. Mathematically, half of them are EVEN DUMBER. Smart tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic