|
|
|
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 |
Jimisola Laursen 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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05736 seconds