|(jspf fragment) was not found at expected path - Adding external [message #687563]
||Wed, 22 June 2011 18:35
Registered: July 2009
Rather than turning off jspf validation, I'd rather try and get WTP to "see" some jsp's that are part of a core web application that is not in my project, but is in the final build.|
Yeah, so I've got two builds I do. One is the auto build that Eclipse does, and the other is an Apache Ant script that unpacks a core bunch of files, then follows that step with writing files out of my project. So the resulting build folder has more than what's in my project.
That all works pretty good, except that I get tons of "(jspf fragment) was not found at expected path" errors. Since the core files don't change at all, I would like to set those up somehow so that the jsp validator could "see" them.
In other words, is it possible for me to put the external jsp files somewhere, then configure the jsp validator to recognize that these files, although not in (project)/WEB-INF/web/blahblah (where it expects them), are really in this external location?
|Re: (jspf fragment) was not found at expected path - Adding external [message #689622 is a reply to message #689536]
||Tue, 28 June 2011 02:29
| Nitin Dahyabhai
Registered: July 2009
On 6/27/2011 3:30 PM, Dale wrote:|
> Nitin, Thanks for the reply. I don't mind digging around in a
> configuration file, but there seems to be not enough information from
> what you wrote to guide me.
> When I look at that configuration file, there's only 3 bits of info in
> there, and two have to do with a "classes" (Java, not jsp). The only
> other is the context root. It doesn't allow me to put in a fully
> qualified file path the context root. And even if I put the fully
> qualified path directly into the config text file, it still does not see
> the jsp's from the build path.
> So could you be more specific about how one would make changes to allow
> the validator to see the external jsp path?
Unfortunately I'm not an expert on how you author that file by hand as
I've only seen it accessed through APIs, and really only know that the
JSP validator will make use of its contents. As you probably saw,
however, multiple paths from the the project can be deployed to the same
location on the server. You might want to do some experimentation with
linked resources (the Advanced section in the New File and New Folder
wizard) and how specifically you can set up the deployment.
Eclipse WTP Source Editing and JSDT
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.02266 seconds