Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Can I set a JSP "source path"?
Can I set a JSP "source path"? [message #230572] Wed, 22 April 2009 15:46 Go to next message
Eclipse UserFriend
I created a dynamic web project, and pointed at some existing code. There
is no WebContent structure in that code today. Instead, there are various
directories like test, misc, perf, and so on.

WTP is walking the directory tree and compiling/validating everything it
can find.

With Java, you can do Project > Build Path > Source, and you can specify
which directories to include and which to exclude.

I was hoping to find that same sort of thing for JSPs...but haven't found
it yet.

Is there a way to configure my web project so that it does not consider
certain directories? I want it to find JSP source in the webapps folder
and the WEB-INF folder, but nowhere else.

Thanks in advance.
Re: Can I set a JSP "source path"? [message #230588 is a reply to message #230572] Wed, 22 April 2009 18:21 Go to previous messageGo to next message
Eclipse UserFriend
DaveyBob wrote:
> I created a dynamic web project, and pointed at some existing code.
> There is no WebContent structure in that code today. Instead, there are
> various directories like test, misc, perf, and so on.
>
> WTP is walking the directory tree and compiling/validating everything it
> can find.
>
> With Java, you can do Project > Build Path > Source, and you can specify
> which directories to include and which to exclude.
>
> I was hoping to find that same sort of thing for JSPs...but haven't
> found it yet.
>
> Is there a way to configure my web project so that it does not consider
> certain directories? I want it to find JSP source in the webapps folder
> and the WEB-INF folder, but nowhere else.

The Validation preference page should contain a button in the
Settings column for the JSP Syntax Validator. You can modify the
filtering rules there.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
Re: Can I set a JSP "source path"? [message #230594 is a reply to message #230588] Wed, 22 April 2009 21:17 Go to previous messageGo to next message
Eclipse UserFriend
I guess that is similar to what I want. With the validation rules, which
I had found, I can go through and tell it not to do validation in
directories A, B, C with a separate rule for each.

That is a bit of work in my case, since there are several directories I
want to ignore.

I was hoping for something under Build Path like a Web Source tab where I
could include/exlude directories.

Any chance something like that is in the works? Is it a good enough idea
to submit a bug/enhancement request?

Thanks, though, for the speedy reply!!
Re: Can I set a JSP "source path"? [message #230608 is a reply to message #230594] Thu, 23 April 2009 05:50 Go to previous message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

DaveyBob ha scritto:
> Any chance something like that is in the works? Is it a good enough
> idea to submit a bug/enhancement request?

Two requests that go towards this direction:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=107039
https://bugs.eclipse.org/bugs/show_bug.cgi?id=133359

Mauro.
Previous Topic:Relative paths
Next Topic:Update server.xml and catalina.properties
Goto Forum:
  


Current Time: Wed Jul 23 15:18:34 EDT 2025

Powered by FUDForum. Page generated in 0.24379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top