Hi,

Based on the log snippet below, it looks like you've merges the Axis and
Xerces includes ... confusing the tool which generates the C bindings - it
should only be generating for the Axis API.

Regards,
Adrian
_______________________________________
Adrian Dick ([EMAIL PROTECTED])

Parthipan <[EMAIL PROTECTED]> wrote on 15/09/2005 10:50:42:

> Hello,
>
> I'm building the head version of Axis on Windows XP (VC++ 6, JDK 1.5,
> Xerces 2.2).
>
> When I run "ant buildCBindings" it throws up warnings for
> XERCES_CPP_NAMESPACE_END macro before aborting probably because of the
> same cause.
>
>      [java] pre-parsing
> E:\Work\Axis\Source\include\xercesc\dom\deprecated\DOM_XMLDecl.hpp...
>      [java] Bad C++ code!! Unrecognised file part DOM_XMLDecl.hpp
> lineno=166 <XERCES_CPP_NAMESPACE_END>
>      [java] pre-parsing
> E:\Work\Axis\Source\include\xercesc\dom\deprecated\MemDebug.hpp...
>      [java] Bad C++ code!! Braces do not match MemDebug.hpp lineno=89
<};>
>      [java] pre-parsing
> E:\Work\Axis\Source\include\xercesc\dom\deprecated\NameNodeFilter.hpp...
>      [java] java.lang.NullPointerException
>      [java]     at
> org.apache.axis.tools.common.Signature.setScope(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.PrototypePart.setScope(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.InputCppSourceCode.<init>(Unknown Source)
>      [java] Finished! (but encountered problems)
>      [java]     at
> org.apache.axis.tools.common.Headers.actOnFile(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.DirectoryTree.walkTree(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.DirectoryTree.walkTree(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.DirectoryTree.walkTree(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.DirectoryTree.walkTree(Unknown Source)
>      [java]     at
> org.apache.axis.tools.common.CParsingTool.preparseHeaders(Unknown
> Source)
>      [java]     at
> org.apache.axis.tools.cbindings.CBindingGenerator.main(Unknown Source)
>
> BUILD FAILED
> E:\Work\Axis\Source\build\buildTools.xml:63: Java returned: -2
>
> Any ideas? The rest of the targets can be built successfully.
>
> Thanks
> ~parthi

Reply via email to