Hmm.. I'm not seeing any problems on OSX or Linux.
If I do "rm -rf ~/.m2/repository ; mvn -Pfastinstall", it proceeds to
build everything OK. (although it takes a while to download
everything :-( )
Dan
On Jun 20, 2008, at 10:55 AM, Peter Jones wrote:
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:[EMAIL PROTECTED]
Tel: 709-738-3725 x321 | Fax: 709-738-3745
570 Newfoundland Drive, St. John's, NL, Canada A1A 5B1
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog