Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow do I turn off warnings for html etc for my some paths
https://www.eclipse.org/forums/index.php/mv/msg/54877/174530/#msg_174530
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]]>Jimisola Laursen2006-07-15T18:57:45-00:00Re: How do I turn off warnings for html etc for my some paths
https://www.eclipse.org/forums/index.php/mv/msg/54877/174538/#msg_174538
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
>]]>Jimisola Laursen2006-07-15T18:59:13-00:00Re: How do I turn off warnings for html etc for my some paths
https://www.eclipse.org/forums/index.php/mv/msg/54877/174583/#msg_174583
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.]]>David Williams2006-07-15T23:01:06-00:00Re: How do I turn off warnings for html etc for my some paths
https://www.eclipse.org/forums/index.php/mv/msg/54877/174597/#msg_174597
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]]>Jimisola Laursen2006-07-16T16:27:38-00:00Re: How do I turn off warnings for html etc for my some paths
https://www.eclipse.org/forums/index.php/mv/msg/54877/174748/#msg_174748
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...
Wolfgang]]>2006-07-18T09:57:47-00:00Re: How do I turn off warnings for html etc for my some paths
https://www.eclipse.org/forums/index.php/mv/msg/54877/174780/#msg_174780
/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]]>Jimisola Laursen2006-07-18T17:45:14-00:00