I use myeclipseide-4.0-m2 and would like to add tld (tag library) files to my project to get auto complison and syntax check etc. How can I do that?
Well that depends, what TLDs exactly do you want to add? If you are talking about Struts or JSTL, you don’t need to add them to get autocomplete and syntax highlighting because both the struts.jar and standard.jar file contain the TLDs inside of them, and MyEclipse will parse/load them for you as long as you have them in the appropriate locations (WEB-INF/lib) and mounted in your build path.
How can I get struts and jstl support for this existing project?
Right click Project > MyEclipse > Add Struts Capabilities / Add JSTL Capabilities
I don’t want to add any jar files to my CVS repository I want to keep the jar files outside from my project.
For correct taglib autocomplete you will need the JARs that contain the TLDs inside of the project as I mentioned above. You can avoid compilation errors by adding then as “External JARs” in your build path, but MyEclipse actually needs these JARs inside of the project itself for proper TLD parsing and handling.
If you don’t wan to add them to CVS, just add them to your .cvsignore file so they exist inside of your project on your computer, but don’ get checked into the repository.