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


Reply via email to