On 30/09/10 13:01, Sergey Beryozkin wrote:
Hi
Ate Douma has reported the following build issues on the trunk :
[...]
/cxf-2.3.0-SNAPSHOT/api/src/main/java/org/apache/cxf/wsdl/TExtensibilityElementImpl.java:
[31,12] cannot find symbol
symbol: class TExtensibilityElement
extends TExtensibilityElement
Shortly above this error is another suspicious error logged by
cxf-xjc:xsdtojava:
[INFO] [cxf-xjc:xsdtojava {execution: generate-sources}]
[ERROR] The declaration for the entity "ContentType" must end with '>'.
line 81 of http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd
See CXF-2997 for more details.
I've seen these build issues too, and usually I 'fix' them by removing a cxf
tree from the local maven repo.
Has anyone seen these errors as well ?
Sergey,
I just tried your hint of removing cxf tree from local repo. But that didn't
work for me the first time either.
However, when I rebuild once more, it all of a sudden worked.
To validate this I did another clean checkout of cxf trunk, removed cxf tree
once more from local repo and build again.
Now, it worked the first time.
Weird stuff ...
One suspicious thing I noticed while also building cxf-xjc trunk myself (as I suspected the remote snapshot repository might be outdated)
was that it showed to have a dependency on the cxf-java2ws-plugin from cxf main (downloading it from the remote snapshot repository).
But as cxf main itself in turn is depending on cxf-xjc, this seems to indicate
a circular dependency between the two.
If that is anywhere related to the above issue I have no idea, but with such circular (SNAPSHOT) dependencies you can of course end up with
using an outdated version of either one of them during the build.
Regards,
Ate
thanks, Sergey