Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Eclipse with WTP hangs
Eclipse with WTP hangs [message #96179] Fri, 29 April 2005 09:57 Go to next message
Eclipse UserFriend
Originally posted by: sorry.no.mail

Hello
I'm using Eclipse with WTP and it's really good.
But I have a problem with it - sometimes when i'm opening complex JSP
file, it takes ages for WTP to check syntax. Almost every change in source
of such file fires syntax checking (i think it is it), which demands 100%
of processor power. It's almost impossible to work with such file. I know
WTP is in beta stage, so I would like to switch off syntax checking for
JSP files, but I can't find such an option.

I also had no luck with using Tomcat 4.1.31 server with WTP (WTP didn't
properly fill server.xml and Tomcat refuses to start) so i'm still using
"tomcat plugin"

Thanx for any help
Marx
Re: Eclipse with WTP hangs [message #96310 is a reply to message #96179] Fri, 29 April 2005 17:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sgregory.orchardsoft.com

Marx wrote:

> I'm using Eclipse with WTP and it's really good.
> But I have a problem with it - sometimes when i'm opening complex JSP
> file, it takes ages for WTP to check syntax. Almost every change in
> source of such file fires syntax checking (i think it is it), which
> demands 100% of processor power. It's almost impossible to work with
> such file. I know WTP is in beta stage, so I would like to switch off
> syntax checking for JSP files, but I can't find such an option.


Yeah I was running into this problem too. I finally found the setting
to turn it off. Under Window > Preferences, disable:
General > Editors > Structured Text Editors > Analyze annotations while
typing.

About half of the JSPs I've been working on get stuck when loading with
tis option enabled.

--Stevo
Re: Eclipse with WTP hangs [message #96339 is a reply to message #96310] Fri, 29 April 2005 18:41 Go to previous messageGo to next message
Eclipse UserFriend
On Fri, 29 Apr 2005 16:00:43 -0500, stevo <sgregory@orchardsoft.com> wrote:


>
> About half of the JSPs I've been working on get stuck when loading with
> this option enabled.
>

Be sure to open bugs, and attach sample files that exhibit problem behavior.
We've fixed some of the known problems in (the near) M4, but
if we don't know about 'em we can't fix 'em.

(For examples, we had some issues where with just the right input and editor position
we would repeatedly "re-read" taglibs and/or includes ... normally a quick/easy process
that greatly improves content assist and validation, but ... not if you
constantly re-read it :(

My guess is this is the problem you're seeing?
But, if my guess is wrong,
and it is something else, its an important way to contribute
... to bring to our attention.

Thanks
Re: Eclipse with WTP hangs [message #96354 is a reply to message #96339] Fri, 29 April 2005 19:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sgregory.orchardsoft.com

David Williams wrote:

> My guess is this is the problem you're seeing?
> But, if my guess is wrong,
> and it is something else, its an important way to contribute
> ... to bring to our attention.

My guess is this probably what I was seeing. I'll try out M4 when
that's ready. If the problem persists, I'll be sure to add a bug and
try to come up with a simple example where this happens.

--Stevo
Re: Eclipse with WTP hangs [message #97327 is a reply to message #96339] Mon, 02 May 2005 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sgregory.orchardsoft.com

David Williams wrote:
> On Fri, 29 Apr 2005 16:00:43 -0500, stevo <sgregory@orchardsoft.com> wrote:
>
>
>>
>> About half of the JSPs I've been working on get stuck when loading with
>> this option enabled.
>>
>
> Be sure to open bugs, and attach sample files that exhibit problem
> behavior.
> We've fixed some of the known problems in (the near) M4, but
> if we don't know about 'em we can't fix 'em.
>
> (For examples, we had some issues where with just the right input and
> editor position
> we would repeatedly "re-read" taglibs and/or includes ... normally a
> quick/easy process
> that greatly improves content assist and validation, but ... not if you
> constantly re-read it :(
>
> My guess is this is the problem you're seeing?
> But, if my guess is wrong,
> and it is something else, its an important way to contribute
> ... to bring to our attention.
>
> Thanks

M4 fixed the problem

Thanks,
Stevo
Re: Eclipse with WTP hangs [message #98409 is a reply to message #96310] Wed, 04 May 2005 03:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.email.no

Thank you, it seems it has helped.
I have a few includes in my JSP and it seems it's this known bug.
I would try M4 but it's pain to install WTP - is there description what
else should I install? Only new version of WTP, or new version of Eclipse
too?
Re: Eclipse with WTP hangs [message #98902 is a reply to message #98409] Wed, 04 May 2005 15:20 Go to previous messageGo to next message
Eclipse UserFriend
Marx wrote:
> Thank you, it seems it has helped.
> I have a few includes in my JSP and it seems it's this known bug.
> I would try M4 but it's pain to install WTP - is there description what
> else should I install? Only new version of WTP, or new version of
> Eclipse too?

WTP M4 requires Eclipse 3.1M6, so yes you would have to upgrade that
as well. The Web Services addon jar issue from M3 is no more and a
combined zip for Win32 with all of the prerequisites included can be
found on the M4 download page:

http://download.eclipse.org/webtools/downloads/drops/S-1.0M4 -200504292037/
http://www.eclipse.org/downloads/download.php?file=/webtools /downloads/drops/S-1.0M4-200504292037/wtp-eclipse-emf-gef-je m-sdk-1.0M4.zip

--
- Nitin
Re: Eclipse with WTP hangs [message #99079 is a reply to message #98902] Thu, 05 May 2005 04:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.aaa.aa

I've installed new version of WTP and it seems it solved a problem.
I have two additional questions:
-My whole project is set to use ISO 8859-2 encoding, and it's seen in
every file' properties. Should I also set it in preferences
(general->editors->content type->text->jsp->default charset) and in type
of files (Web and XML -> HTML files ->encoding)?
-Is there possibility to change tab size for JSP files? I'm using 2 and
it's set by default to 4
Re: Eclipse with WTP hangs [message #103298 is a reply to message #99079] Fri, 13 May 2005 02:11 Go to previous message
Eclipse UserFriend
On Thu, 05 May 2005 04:20:14 -0400, Marx <nomail@aaa.aa> wrote:


> -My whole project is set to use ISO 8859-2 encoding, and it's seen in
> every file' properties. Should I also set it in preferences
> (general->editors->content type->text->jsp->default charset) and in type
> of files (Web and XML -> HTML files ->encoding)?

Actually, for JSP's and HTML (and XML, etc), you should always specify the encoding
in the file itself, in the meta tag for HTML and in the page directive for JSPs
(and, if JSP and HTML, do both, the page directive and the meta tag).

It will be recognized as "from content" for those file types, and that way,
it works correctly once you deploy it to a server too.
Previous Topic:hierarchy for packages in j2ee perspective?
Next Topic:websphere server support
Goto Forum:
  


Current Time: Wed Jul 16 07:36:00 EDT 2025

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

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

Back to the top