Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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
David Witherspoon is currently offline David Witherspoon
Messages: 10
Registered: July 2009
Junior Member
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
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2237
Registered: July 2009
Senior Member
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


---
Nitin Dahyabhai
Eclipse WTP, IBM
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
David Witherspoon is currently offline David Witherspoon
Messages: 10
Registered: July 2009
Junior Member
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 User
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: Tue Jul 29 14:52:16 EDT 2014

Powered by FUDForum. Page generated in 0.01598 seconds