Re: How to generate episode file using wadl2java ?

2016-03-21 Thread Vjacheslav V. Borisov
2016-01-21 14:29 GMT+04:00 Sergey Beryozkin : > I see there it checks "OASISCatalogManager.catalog.debug.level" system > property - which is set, if not null, on > org.apache.xml.resolver.CatalogManager, apparently CatalogManager can also > check Catalog.properties file >

Re: How to generate episode file using wadl2java ?

2016-03-19 Thread Vjacheslav V. Borisov
2016-01-21 14:29 GMT+04:00 Sergey Beryozkin : > Hi > > Sure, have a look please at > org.apache.cxf.catalog.OASISCatalogManager, this is in the cxf-core module. > > I see there it checks "OASISCatalogManager.catalog.debug.level" system > property - which is set, if not null,

Re: How to generate episode file using wadl2java ?

2016-01-21 Thread Sergey Beryozkin
Hi Sure, have a look please at org.apache.cxf.catalog.OASISCatalogManager, this is in the cxf-core module. I see there it checks "OASISCatalogManager.catalog.debug.level" system property - which is set, if not null, on org.apache.xml.resolver.CatalogManager, apparently CatalogManager can

Re: How to generate episode file using wadl2java ?

2016-01-20 Thread Vjacheslav V. Borisov
I am talking about my progress is slow :) Where can I find xml catalog resolution code in cxf wadl2java ? May be i can patch it to enable debugging info 2016-01-20 18:24 GMT+04:00 Sergey Beryozkin : > Well, this is one of those issues which I can not prioritize upon - I've

Re: How to generate episode file using wadl2java ?

2016-01-20 Thread Vjacheslav V. Borisov
2015-11-24 19:48 GMT+04:00 Sergey Beryozkin : > I'll look in detail at one of the existing tests where an external binding > is applied (I recall copying some JAXWS tooling code which modifies the > binding files), and will let you know, a bit later though > > Found temporal

Re: How to generate episode file using wadl2java ?

2016-01-20 Thread Sergey Beryozkin
Well, this is one of those issues which I can not prioritize upon - I've never worked with episodes before, and given that workarounds exists it is hard to prioritize on this arguably minor issue. In many case we can temp stop working on our current commitments (which all of us have) and

Re: How to generate episode file using wadl2java ?

2015-11-24 Thread Sergey Beryozkin
Hi I suspect it can be tricky to do, the tool parser manages to group multiple -xjc args together and we can manage it later on, while passing something like "-tMap aaa" to the parser will probably fail the parser validation check (similar to the way passing an episode arg with the file

Re: How to generate episode file using wadl2java ?

2015-11-24 Thread Sergey Beryozkin
I'll look in detail at one of the existing tests where an external binding is applied (I recall copying some JAXWS tooling code which modifies the binding files), and will let you know, a bit later though Thanks, Sergey On 24/11/15 05:59, Vjacheslav V. Borisov wrote: 2015-11-23 16:32

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
I've really no idea how 'episode' needs to be passed to the XJC compiler, as a single value or as two values, I've never even heard about such an XJC parameter before you started talking about it. Can you tell me what is the proper way to pass it to XJC ? And it is still the case that a

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
Well, knowing that "-episode sun-jaxb.episode" is expected to be provided to XJC as 2 params, it also becomes obvious how to do it without even changing CXF, -xjc-episode -xjcsun-jaxb.episode I've still decided to do a minor update, so that users can use a single extraarg:

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
Well looks like I got it fixed after all, something like "-episode sun-jaxb.episode" needs to be further split into two parameters. I'll send a JIRA issue link once I'm done with it Sergey On 23/11/15 11:34, Sergey Beryozkin wrote: I've really no idea how 'episode' needs to be passed to the

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Vjacheslav V. Borisov
2015-11-23 16:32 GMT+04:00 Sergey Beryozkin : > Well, knowing that "-episode sun-jaxb.episode" is expected to be provided > to XJC as 2 params, it also becomes obvious how to do it without even > changing CXF, > > > -xjc-episode > -xjcsun-jaxb.episode > > > Thanks for

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Vjacheslav V. Borisov
2015-11-23 16:32 GMT+04:00 Sergey Beryozkin : > > I've still decided to do a minor update, so that users can use a single > extraarg: > https://issues.apache.org/jira/browse/CXF-6690 May be not only XJC compiler argumens, but also wadl2java arguments, like -tMap should be

Re: How to generate episode file using wadl2java ?

2015-11-20 Thread Sergey Beryozkin
Hi I've added -xjc-episode sun-jaxb.episode -verbose to systests/jaxrs/pom.xml wadl resource build and I'm seeing [INFO] [INFO] --- cxf-wadl2java-plugin:3.2.0-SNAPSHOT:wadl2java (generate-sources) @ cxf-systests-jaxrs --- wadl2java -d

Re: How to generate episode file using wadl2java ?

2015-11-18 Thread Sergey Beryozkin
Hi I wonder if you should do -xjc-episode sun-jaxb.episode something like that, try it please Sergey On 18/11/15 13:52, Vjacheslav V. Borisov wrote: Hi, I am trying to generate episode file for modular schema creation. using this config:

How to generate episode file using wadl2java ?

2015-11-18 Thread Vjacheslav V. Borisov
Hi, I am trying to generate episode file for modular schema creation. using this config: -xjc-episode sun-jaxb.episode -verbose However no matter where is place

Re: How to generate episode file using wadl2java ?

2015-11-18 Thread Vjacheslav V. Borisov
i have tried all separators -xjc-episode sun-jaxb.episode -xjc-episode=sun-jaxb.episode -xjc-episode,sun-jaxb.episode -xjc-episode;sun-jaxb.episode all of them issues same error "unrecognized parameter" There is also another case, I have generated episode file by maven-jaxb2-plugin, but