You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by David Karlsen <da...@gmail.com> on 2011/11/07 20:43:04 UTC

Re: Overlapping JAXB generated adapters

Nobody?

2011/10/25 David Karlsen <da...@gmail.com>:
> I wasn't awake and replied directly to you Daniel - so trying once
> more to the userlist here:
>
> I already have some bindings in place for other reasons and that is
> working fine - the problem here is that how can I add that
> custom-hacky-xsd to the list of stuff that should be generated? I
> tried using includes - but jaxb barfs with ".... is not a part of this
> compilation. Is
> this a mistake for....."
>
> 2011/10/24 David Karlsen <da...@gmail.com>:
>> I already have some bindings in place for other reasons and that is
>> working fine - the problem here is that how can I add that
>> custom-hacky-xsd to the list of stuff that should be generated? I
>> tried using includes - but jaxb barfs with ".... is not a part of this
>> compilation. Is
>> this a mistake for....."
>>
>> 2011/10/24 Daniel Kulp <dk...@apache.org>:
>>> On Monday, October 24, 2011 6:23:36 PM David Karlsen wrote:
>>>> To avoid having overlapping classnames (due to different compilations
>>>> ending up on the same classpath) I'd like to apply this:
>>>>
>>>> See: 2.1.1
>>>> http://jaxb.java.net/guide/Customizing_Java_packages.html#Tip__get_rid_of_th
>>>> e_org_w3__2001_xmlschema_package
>>>>
>>>> This isn't possible to do with the cxf-codegen-plugin.
>>>>
>>>> Have anybody else encountered this? Would it be possible to fix
>>>> directly in the cxf plugin?
>>>
>>> Is  the issue that you cannot figure out how to pass the file to CXF or the
>>> file doesn't work?
>>>
>>> You can certainly pass a  binding file like that to CXF.
>>>    <bindingFiles>
>>>        <bindingFile>${basedir}/src/main/bindings/file.xml</bindingFile>
>>>
>>> or similar.
>>>
>>>
>>> Dan
>>>
>>>
>>>>
>>>>
>>>> --
>>>> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>>> --
>>> Daniel Kulp
>>> dkulp@apache.org
>>> http://dankulp.com/blog
>>> Talend - http://www.talend.com
>>>
>>
>>
>>
>> --
>> --
>> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>>
>
>
>
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen