Hmm.. I have no idea. I just downloaded the src tarballs again and it
ran fine for me.
After it fails, can you check the
C:/java/cxf/apache-cxf-2.1-src/api/target/schemas/schemas/wsdl/
directory and see if the ws-addr-wsdl.xsd is there and actually valid?
The only thing I can really think of is if a drive space issue or
something is causing the file to not be written there.
Dan
On Tuesday 29 April 2008, [EMAIL PROTECTED] wrote:
> Hello,
>
> i'm trying to build CXF from sources using mvn -Pfastinstall as i did
> it always without problems for previous releases and also 2.1
> snapshots and incubator-snapshots.
> But for CXF2.1 final release it simply doesn't work. I always get
> error below. I already tried to update java to 1.5.0_15-b04 but it
> didn't help. Any idea how to compile it?
>
> [INFO] [cxf-common-xsd:xsdtojava {execution: generate-sources}]
> [ERROR] schema_reference.4: Failed to read schema document
> 'file:/C:/java/cxf/apache-cxf-2.1-src/api/target/schemas/schemas/wsdl/
>ws-addr-wsdl.xsd', because 1) could not find the document; 2) the
> document could not be read; 3) the root element of the document is not
> <xsd:schema>.
> unknown location
>
> Failed to parse a schema.
> org.apache.tools.ant.ExitException: ExitException: status -1
> at
> org.apache.tools.ant.util.optional.NoExitSecurityManager.checkExit(NoE
>xitSecurityManager.java:38) at java.lang.Runtime.exit(Runtime.java:88)
> at java.lang.System.exit(System.java:869)
> at com.sun.tools.xjc.Driver._main(Driver.java:116)
> at com.sun.tools.xjc.Driver.access$000(Driver.java:74)
> at com.sun.tools.xjc.Driver$1.run(Driver.java:96)
>
> best regards
> jano
--
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog