Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:46 Go to next message
David Witherspoon is currently offline David WitherspoonFriend
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 22:21 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
Re: Can I set a JSP "source path"? [message #230594 is a reply to message #230588] Thu, 23 April 2009 01:17 Go to previous messageGo to next message
David Witherspoon is currently offline David WitherspoonFriend
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 09: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: Thu Apr 18 17:33:23 GMT 2024

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

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

Back to the top