Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How do I turn off warnings for html etc for my some paths
How do I turn off warnings for html etc for my some paths [message #174530] Sat, 15 July 2006 18:57 Go to next message
Jimisola Laursen is currently offline Jimisola LaursenFriend
Messages: 134
Registered: July 2009
Senior Member
Hi!

Upgraded to Callisto and installed WTP as well. I have a lot of warnings
(e.g. for "No end tag (</p>").
These are due that I use Maven and that some plugins (e.g. site, javancss)
create faulty html files.

I assume that it is WTP that create the warnings even though projects with
these warnings aren't WTP projects.
How do I configure WTP not check some paths or at least not check for a
project at all?

My "Default output folder" is target/classes, but these files usually reside
under target/site.

Regards,
Jimisola
Re: How do I turn off warnings for html etc for my some paths [message #174538 is a reply to message #174530] Sat, 15 July 2006 18:59 Go to previous messageGo to next message
Jimisola Laursen is currently offline Jimisola LaursenFriend
Messages: 134
Registered: July 2009
Senior Member
I kept saying warning - these are actually errors and they apply to some
faulty xml files as well.

/J

"Jimisola Laursen" <public@jimisola.com> wrote in message
news:e9bdr1$oar$1@utils.eclipse.org...
> Hi!
>
> Upgraded to Callisto and installed WTP as well. I have a lot of warnings
> (e.g. for "No end tag (</p>").
> These are due that I use Maven and that some plugins (e.g. site, javancss)
> create faulty html files.
>
> I assume that it is WTP that create the warnings even though projects with
> these warnings aren't WTP projects.
> How do I configure WTP not check some paths or at least not check for a
> project at all?
>
> My "Default output folder" is target/classes, but these files usually
> reside under target/site.
>
> Regards,
> Jimisola
>
Re: How do I turn off warnings for html etc for my some paths [message #174583 is a reply to message #174530] Sat, 15 July 2006 23:01 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Sat, 15 Jul 2006 14:57:45 -0400, Jimisola Laursen <public@jimisola.com>
wrote:

>
> Upgraded to Callisto and installed WTP as well. I have a lot of warnings
> (e.g. for "No end tag (</p>").
> These are due that I use Maven and that some plugins (e.g. site,
> javancss)
> create faulty html files.
>
> I assume that it is WTP that create the warnings even though projects
> with
> these warnings aren't WTP projects.
> How do I configure WTP not check some paths or at least not check for a
> project at all?

You should be able to turn off "Validation" under the preferences.
And, ... I thought too these were not supposed to run if not a web
project, but don't recall details (such as I don't recall how it
determines).
So, if its not working as you expect,
a bug or feature request would not be unreasonable.
Re: How do I turn off warnings for html etc for my some paths [message #174597 is a reply to message #174583] Sun, 16 July 2006 16:27 Go to previous messageGo to next message
Jimisola Laursen is currently offline Jimisola LaursenFriend
Messages: 134
Registered: July 2009
Senior Member
"David Williams" <david_williams@us.ibm.com> wrote in message
news:op.tcq574a5ac05ss@dmw2t23.nc.rr.com...
> On Sat, 15 Jul 2006 14:57:45 -0400, Jimisola Laursen <public@jimisola.com>
> wrote:
>
>>
>> Upgraded to Callisto and installed WTP as well. I have a lot of warnings
>> (e.g. for "No end tag (</p>").
>> These are due that I use Maven and that some plugins (e.g. site,
>> javancss)
>> create faulty html files.
>>
>> I assume that it is WTP that create the warnings even though projects
>> with
>> these warnings aren't WTP projects.
>> How do I configure WTP not check some paths or at least not check for a
>> project at all?
>
> You should be able to turn off "Validation" under the preferences.
> And, ... I thought too these were not supposed to run if not a web
> project, but don't recall details (such as I don't recall how it
> determines).
> So, if its not working as you expect,
> a bug or feature request would not be unreasonable.

Thank you for the tip.

I can turn off validation for an individual project (Project ->
Preferences -> Validation) by overriding workspace validaton preferences.
For "The selected validators will run when <project> is validated:" I have
check boxes for both Manual and Build.
It seems pretty obvious what "Manual" and "Build" are for, but I if I
uncheck "Manual" I still seem to be able to right-click on the faulty dtd in
the Package Explorer and select "Validate".
What are the two options ("Manual" and "Build") for?

Is there a way to just remove validation marks from Problems on a
per-file-basis until next validation (manual or build)?
MyEclipse had this feature and I found it very useful at times.

1) Validation should not be performed on non-source folder or perhaps only
on non-build folders. This doesn't seem to be way it works. I use Maven2 and
I get hundreds of errors in html under target/. The user might have to be
able to specify validation or package/folder level. E.g. with Maven2
validate main/resources, main/config etc but not target/...

2) I am not certain that validation should be active per default for all
projects - perhaps only for WTP projects


Hope I don't have two many questions in my post. I've never use WTP before,
so I might have a few enhancements coming in... :)

Regards,
Jimisola
Re: How do I turn off warnings for html etc for my some paths [message #174748 is a reply to message #174597] Tue, 18 July 2006 09:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

> Is there a way to just remove validation marks from Problems on a
> per-file-basis until next validation (manual or build)?
> MyEclipse had this feature and I found it very useful at times.
>

Alreay in Bugzilla as an enhancement request. But nothing happened up to now...

https://bugs.eclipse.org/bugs/show_bug.cgi?id=125877

Best regards

Wolfgang
Re: How do I turn off warnings for html etc for my some paths [message #174780 is a reply to message #174748] Tue, 18 July 2006 17:45 Go to previous message
Jimisola Laursen is currently offline Jimisola LaursenFriend
Messages: 134
Registered: July 2009
Senior Member
Thanks for the link.

/J

"Wolfgang Knauf" <wknauf_NO_@_INSIDE_hg-online.de> wrote in message
news:e9ibap$4uc$1@utils.eclipse.org...
>> Is there a way to just remove validation marks from Problems on a
>> per-file-basis until next validation (manual or build)?
>> MyEclipse had this feature and I found it very useful at times.
>>
>
> Alreay in Bugzilla as an enhancement request. But nothing happened up to
> now...
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=125877
>
> Best regards
>
> Wolfgang
Previous Topic:J2EE Module Dependencies not persisting
Next Topic:Tomcat server startup times out after 45s
Goto Forum:
  


Current Time: Tue Apr 16 14:12:58 GMT 2024

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

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

Back to the top