UtqlBindings

Back to main page.

UtqlBindings

In order to (re)create the UTQL bindings from the UTQL schema definition files 'utql.xsd', 'utql_types.xsd' and 'utql_templates.xsd', the tool 'scomp' has to be installed from the XMLBeans project (http://xmlbeans.apache.org/)

For recreating, all libraries, do the following:

  1. Go to 'ubiman/trunk/projects/utql_templates_lib'
  2. Delete the 'src' subfolder, if it exists
  3. Execute the following command line to generate the UTQL template bindings from 'utql_templates.xsd' and 'utql_templates.xsdconfig':
    scomp -dl -src ./src/ -out ../../lib/utql_templates.jar  ../../../../ubitrack/doc/utql/schema/utql_templates.xsd ../../../../ubitrack/doc/utql/schema/utql_templates.xsdconfig
    (assuming that the 'ubitrack' svn repository is checked out to the same folder where 'ubiman' repository resides on your disk)
  4. Go to 'ubiman/trunk/projects/utql_types_lib
  5. Delete the 'src' subfolder, if it exists
  6. Execute the following command line to generate the UTQL with type extensions bindings from 'utql_types.xsd' and 'utql_types.xsdconfig':
    scomp -dl -src ./src/ -out ../../lib/utql_types.jar  ../../../../ubitrack/doc/utql/schema/utql_types.xsd ../../../../ubitrack/doc/utql/schema/utql_types.xsdconfig
    for generating code without XHTML validation. (again assuming that the 'ubitrack' svn repository is checked out to the same folder where 'ubiman' repository resides on your disk)

Publish new Schema files also on the web. For this, copy them to 'smb://login@campdata/public_html/files/ubitrack/utql'.


Edit | Attach | Refresh | Diffs | More | Revision r1.12 - 10 Mar 2009 - 17:51 - PeterKeitler

Lehrstuhl für Computer Aided Medical Procedures & Augmented Reality    rss.gif