Hi Kapil,

The 1.2.2 code has full support for setting the binding file name, 
including setting the binding file name per-schema. I thought even the 
1.2.1 code had a -b name command line option for setting the root 
binding name, but it's not in the documentation so either I added that 
since 1.2.1 or just neglected to add it to the documentation. You can 
give the -b option a try, anyway.

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Kapil Anand wrote:
> hi
> I am using jibx 1.2.1 and starting with an XSD and using codegen
> command-line to generate the java code and the bindings.xml
> The binding name generated in the binding.xml is always "binding" and I plan
> to use the BindingDirectory.getBinding(String bindingName, Class clas)
>  
> Is there a way to specify the binding name either as a command line argument
> or as an attribute/element in the CodeGen Customization file?
>
> I have gone through these, but could not find anything related:
> http://jibx.sourceforge.net/fromschema/codegen-customs.html
> http://jibx.sourceforge.net/fromschema/codegen.html
>
> Would appreciate help. Thanks.
>
> regards
> kapil
>   

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to