Geert Bevin wrote:
> I found two XSD files:
>
> common/src.resources/com/tc/config/schema/terracotta-4.xsd
> schemas/src/main/xsd/com/tc/config/schema/terracotta-4.xsd
>
> How should these be handled if the config is updated? Do they always
> need to be kept in sync manually? Is one of this automatically copied
> through build or another process?
>   
  I believe that only the first one is actually used. You need to change 
it and then use special target in tcbuild to generate new jar

  The second one is what Eric Redmond did while converting tcbuild into 
Maven. So, ho moved out schema into a separate project, so that project 
could produce proper Maven artifact, effectively treating schema as a 
source. I am not sure if the schema project is currently used and if it 
in sync with the schema from the common project.

  In a long run, I think it would make sense to make "schema" project 
the master and remove schema from "common". But that may require some 
changes in the code and in tcbuild.

  regards,
  Eugene


_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to