aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse beginner question - how to add .jsp / .xml etc. to project ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse beginner question - how to add .jsp / .xml etc. to project ?" Watch "Eclipse beginner question - how to add .jsp / .xml etc. to project ?" New topic
Author

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

roni suvanto
Greenhorn

Joined: Jul 23, 2002
Posts: 13
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

Joined: Jul 23, 2002
Posts: 13
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
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
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
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The XMLBuddy plugin is a decent XML editor with syntax highlighting.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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.


42
roni suvanto
Greenhorn

Joined: Jul 23, 2002
Posts: 13
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
Madhu GM
Greenhorn

Joined: Mar 09, 2004
Posts: 11
Hi,

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

Thanks and regards,
madhu
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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

Joined: Mar 09, 2004
Posts: 11
Thanks Jeroen..

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

Regards,
-Madhu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse beginner question - how to add .jsp / .xml etc. to project ?