Disable Eclipse warning about generated html?
Posted
by Chadwick
on Stack Overflow
See other posts from Stack Overflow
or by Chadwick
Published on 2009-07-25T22:53:07Z
Indexed on
2010/05/15
11:44 UTC
Read the original article
Hit count: 297
When developing Flex projects, Eclipse gives warnings about the default index.html
file generated by Flex Builder. The file is in the 'target' folder (or "generated artifacts" folder. Yes, I'm also using Maven). Can I eliminate or disable this warning?
The code which generates the warning is below, though I would definitely prefer not changing the html - as I say this is the template suggested by Adobe. Eclipse warns of "Undefined attribute name (xxx)" for scroll
on the body
tag, and most of the embed
attributes.
There is no DOCTYPE
declaration in the html file.
<html lang="en">
...
<body scroll="no">
...
<embed src="myswf.swf" quality="high" bgcolor="#869ca7"
width="100%" height="100%" name="myswf-flex" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
...
© Stack Overflow or respective owner