Looks like a bug to me .... can you please file an issue at

http://jira.codehaus.org/browse/CASTOR

and attach all relevant files? In order to minimize our effort, can you
please try to keep the files as minimal as possible, i.e. keep the
minimal information possible to showcase the problem.

Regards
Werner

Baldurien wrote:
> Hi,
> 
> I would like to know if it's normal that when using a binding file, and
> having a complexType, the class created does not get moved into the
> right package/directory?
> 
> This will let my "OptionListType" complex type to the default package,
> which is not what I want (and which make Eclipse goes crazy).
> 
>  <complexTypeBinding name="/OptionListType">
>    <java-class abstract="true"
> package="fr.tqit.command.launcher.xml.types" name="OptionListType" />
>    <elementBinding name="/import">
>      <java-class package="fr.tqit.command.launcher.xml.elements.options"
> name="foobar.ImportElement" />
>    </elementBinding>
>    <elementBinding name="/invoke">
>      <java-class package="fr.tqit.command.launcher.xml.elements.options"
> name="InvokeElement" />
>    </elementBinding>
>  </complexTypeBinding>
> 
> 
> However this works:
> 
>  <elementBinding name="/complexType:OptionListType">
>    <java-class abstract="true"
> package="fr.tqit.command.launcher.xml.types" name="OptionListType" />
>    <elementBinding name="/import">
>      <java-class package="fr.tqit.command.launcher.xml.elements.options"
> name="foobar.ImportElement" />
>    </elementBinding>
>    <elementBinding name="/invoke">
>      <java-class package="fr.tqit.command.launcher.xml.elements.options"
> name="InvokeElement" />
>    </elementBinding>
>  </elementBinding>
> 
> What is the "good" method to use? (well, <elementBinding /> works, but I
> assume that <complexTypeBinding /> exists for some reason)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to