dev@woodstock.java.net

List indicators Error in Alert class

From: John Yeary <johnyeary_at_gmail.com>
Date: Wed, 18 Apr 2007 22:58:20 -0400

Hello All,

I got the following error while trying to do a cvs trunk build of woodstock.

woodstock/webui/src/runtime/com/sun/webui/jsf/component/Alert.java:828:
Method getIndicators for property indicators has incorrect signature
    public List<Indicator> getIndicators() {
woodstock/webui/src/runtime/com/sun/webui/jsf/component/Alert.java:848:
Method setIndicators for property indicators has incorrect signature
    public void setIndicators(List<Indicator> indicators) {

The apparently obvious issue is that List indicators was not using the
generic form which should be

List <Indicator> indicators;

However, when I make this change in the Alert class, I get another error and
the build fails. It has to do with the tlddoc, but I can not find the error
it is complaining about. I am willing to fix it, but I can not find it. I
have looked at the tag-descriptions.xml file and it not obvious if it is
there. The error message is located below.

Any thoughts?

webui-dt:
build-manifest:
Copying 1 file to
/Users/jyeary/Desktop/woodstock/webui/classes/designtime/META-INF
Building jar:
/Users/jyeary/Desktop/woodstock/webui/netbeans/modules/autoload/ext/webui-
jsf-dt.jar
jars:
tlddoc:
tlddoc-init:
Created dir: /Users/jyeary/Desktop/woodstock/webui/tlddocs
build-tlddoc:
Loading and translating 1 Tag Library...
[Fatal Error] :2312:74: The element type "com.sun.webui.jsf.model.Indicator"
must be terminated by the matching end-tag
"</com.sun.webui.jsf.model.Indicator>".
com.sun.tlddoc.GeneratorException: org.xml.sax.SAXParseException: The
element type "com.sun.webui.jsf.model.Indicator" must be terminated by the
matching end-tag "</com.sun.webui.jsf.model.Indicator>".
        at com.sun.tlddoc.TLDDocGenerator.generate(TLDDocGenerator.java:448)
        at com.sun.tlddoc.TLDDoc.main(TLDDoc.java:217)
Caused by: org.xml.sax.SAXParseException: The element type "
com.sun.webui.jsf.model.Indicator" must be terminated by the matching
end-tag "</com.sun.webui.jsf.model.Indicator>".
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(
DOMParser.java:264)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse
(DocumentBuilderImpl.java:292)
        at com.sun.tlddoc.TLDFileTagLibrary.getTLDDocument(
TLDFileTagLibrary.java:85)
        at com.sun.tlddoc.TLDDocGenerator.createTLDSummaryDoc(
TLDDocGenerator.java:530)
        at com.sun.tlddoc.TLDDocGenerator.generate(TLDDocGenerator.java:439)
        ... 1 more

-- 
John Yeary
--
"If I have seen further, it is because I have stood on the shoulders of
giants..."  Sir Isaac Newton