[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] How to place web files outside the application context?

I'm using eclipse-jee-ganymede-M6 and I can't seem to figure out
how to put files outside of the application context.  In particular,
I would like to put some of my more generic CSS and Javascript files
in top level /css/ and /js/ directories (relative to the server root)
rather than in /MyAppName/css/ or /MyAppName/js/ so that I could use
them with other apps without having multiple copies on my server.

I'm fine with putting them in another project if I need to but I need
them to still be served up by the same local instance of Tomcat 6 that's
serving up MyAppName.  This instance is apparently configured by
Eclipse and puts the files in some funky location deep in the bowels
of the workspace .metadata/.plugins directory.  I need the css/js files
in this instance because I want to use them in my JSP's.  I've tried
creating other web projects, both static and dynamic but I can't seem to
get it right.  It always wants to put the files under the project name/
application context relative to the server root.  I suppose I could
create a project called "css" and another called "js" but that just
feels wrong.