16/08/2012 14:47:21
 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!
|