cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Jones <peter.jo...@iona.com>
Subject unrecognized parameter -Xdv
Date Fri, 20 Jun 2008 14:55:15 GMT

Hi there,

When building the cxf-2.1.1 source distribution, or trunk for that matter,
with a clean local maven repo, from the top level directory, I see an error
like this when it reaches testutils:

[...]
[INFO] [cxf-codegen:wsdl2java {execution: generate-sources}]
[INFO] [cxf-common-xsd:xsdtojava {execution: generate-sources}]
unrecognized parameter -Xdv

Usage: xjc [-options ...] <schema file/URL/dir/jar> ... [-b <bindinfo>] ...
If dir is specified, all schema files in it will be compiled.
If jar is specified, /META-INF/sun-jaxb.episode binding file will be
compiled.
Options:
[...]
org.apache.tools.ant.ExitException: ExitException: status -1
        at org.apache.tools.ant.util.optional.NoExitSecurityManager.checkExit(NoExitSecurityManager.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:126)
        at com.sun.tools.xjc.Driver.access$000(Driver.java:74)
        at com.sun.tools.xjc.Driver$1.run(Driver.java:96)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] ExitException: status -1

If I build inside the testutils directory, there's no problem.  So it only
happens from the top level directory.  Has anyone else seen this?

Using java 1.5.0_12 and I've tried with maven 2.0.7 and 2.0.9.

Cheers,
Peter

-- 
Peter Jones
IONA Technologies
E-Mail: mailto:peter.jones@iona.com
Tel: 709-738-3725 x321 | Fax: 709-738-3745
570 Newfoundland Drive, St. John's, NL, Canada A1A 5B1

Mime
View raw message