Liquid Technologies Support Forum

The new Liquid Support forum for 2013
Messages in this topic - RSS

Home » XML Data Binding Java » Is it possible to create seperate java packages

Questions, Bugs, and Suggestions relating to the Liquid XML Data Binding Product when used with Java.
16/08/2012 14:47:21

Andre Boutin
Andre Boutin
Posts: 1
Would like to know if functionality exists for schema to be generated into different java packages.
I have a schema "common"
And additional schema files "tagging" and "query" that depend upon some elements defined in common

I would like to generate code for the "common" schema in package "com.xxx.common"
Then I would like to generate code for the additional schema files in "com.xxx.tagging" and "com.xxx.query"
and have the generated code in these packages refer to "com.xxx.common".

Currently, it appears that generating code for the "tagging" and "query" files results in the "common" objects
being created within "com.xxx.tagging" and "com.xxx.query", so I actually end up with 3 versions of the "common" objects,
com.xxx.common.<common objects>
com.xxx.tagging.<common objects>
com.xxx.query.<common objects>

I looked at the mapping file but didn't seem to find anything for changing the
java package only for specific objects, rather then for all objects being generated

Any help is greatly appreciated!
0 permalink

Home » XML Data Binding Java » Is it possible to create seperate java packages