[ http://issues.apache.org/jira/browse/XMLBEANS-120?page=comments#action_12424635 ] Radu Preotiuc-Pietro commented on XMLBEANS-120: -----------------------------------------------
Johannes, The TypeSystemHolder class is still required at run-time. It contains information about the Schema<->Java relationship (name mappings etc) that is not available elsewhere. You need to make sure that you have the .jar containing this class and all the generated .xsb classes on the classpath at runtime (look for these classes in the directory that you specify as "classgendir" in ant. This issue merely asked that this dependency be only a run-time one (rather than both compiletime and runtime) so that IDEs can show the generated classes without having to re-load their classpath every time the files get re-generated. And this seems to be fixed. > No TypeHolder generated in -srconly > ----------------------------------- > > Key: XMLBEANS-120 > URL: http://issues.apache.org/jira/browse/XMLBEANS-120 > Project: XMLBeans > Issue Type: Bug > Components: Compiler > Affects Versions: Version 2 Beta 2 > Reporter: Don Stewart > Priority: Minor > Fix For: Version 2.1 > > Attachments: SpaceSystem.xsd > > > If youcreate a -srconly output no TypeHolder class is generated. If you try > to edit the source files in an IDE they all point to a missing class and as > such the IDE's report errors in every generated Interface. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]