Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress XML Binding Development Guide

6.4 Generate Code

Generate code and build as for the examples in the previous chapters.

  1. Follow the instructions in Chapter 2, "Setup," in the HydraExpress User Guide to set up your environment.

  2. Open a command prompt and navigate to the directory:

    installdir\examples\xmlbinding\complexContent\

  3. Invoke the code generator, using the command shown here:

    rwsfgen example-project.xml

This command generates code into a top-level code generation directory complexContentExample based on the HydraExpress project file example-project.xml to specify the file complexContent.xsd as an argument to the code generator. Alternatively, you could specify the schema and project name directly at the command prompt, as follows:

rwsfgen -projectname complexContentExample complexContent.xsd

Note: The project name is required.

For more information on the use of HydraExpress project files in shipped examples, see Section 1.5.1, "The Use of the HydraExpress Project File in Shipped Examples," in the HydraExpress User Guide.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.