On Monday 10 May 2010 6:14:43 pm Craig Tataryn wrote: > Just thought I'd ask: recently for reasons unknown, we've started to have > to add a "-xjc-npa" <extraarg> to our cxf-codegen-plugin configuration for > our WSDLs. The error which caused us to use this parameter essentially > states: "package annotations should be in file package-info.java". This > seemed to arise out of the blue not corresponding to any WSDL change.
Well, did it correspond with a JDK change or JAXB version change. I know for a while, you were hitting a 2.0 version of XJC. 2.0, by default, basically did a -npa. However, I've also seen that error on windows sometimes with some of the older javac's that were looking for a particular case in the file and somehow Windows created slightly differently. That said, in a lot of ways, I wish -npa was the default. It's much more reliable. Dan > Thanks, > > Craig. > > -- > Craig Tataryn > site: http://www.basementcoders.com/ > podcast:http://feeds.feedburner.com/TheBasementCoders > irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin > twitter: craiger -- Daniel Kulp [email protected] http://dankulp.com/blog
