Hi Kurt, Kurt Sorge wrote: >>>>> >>>>> I am trying to generate my source from a schema that includes >>>>> another schema using . The problem is that the original schema is >>>>> getting generated, then the include statement is triggering the >>>>> schema to get generated again. >>>> Just to get things as they are: you have got An XML schema A that >>>> includes B which itself happens to be including A again. >>> No A is included in B and I don't have a circular dependency. A gets >>> generated first and then when B gets generated, the source generator >>> wants to generate A again since it is included by B. >> In other words, you call the source generator for all XML schema files, >> right ? > Yes, I am placing all my schema files into one filterset and using that with > the generator.
In that case, can you please use the warning configuration property on your Ant task as documented here: http://castor.org/reference/html/xml.code.generator.html#xml.code.generator.invocations.anttask By setting this, you'll basically instruct Castor to not output warnings re: overwriting class files during code generation. That should do the trick in your case. Regards Werner --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

