A Sample Project File
Let’s look at a simple project file. If you generated code using the default options for the example DayOfWeek located in your <installdir>\examples\webservices\DayOfWeek directory, you will have the following project file in a code generation directory DayofWeekExample:
<rwsf-codegen-project> <options> <!--1-->
<option name='haltonerror' value='true'/>
<option name='project-name' value='DayOfWeekExample'/> <!--2-->
<option name='logfilename' value='rwsfgen.log'/>
<option name='datamap'
value='C:\RogueWave\hydraexpress\conf\common\cppdatamapstl.xml'/>
<option name='stl' value='true'/>
<option name='outdir' <!--3-->
value='C:\RogueWave\hydraexpress\examples\webservices\
DayOfWeek\DayOfWeekExample'/>
<option name='sample' value='true'/>
<option name='toplevelclasses' value='true'/>
<option name='html' value='true'/>
<option name='client' value='true'/>
<option name='server' value='true'/>
<option name='standalone' value='false'/>
<option name='soapenc' value='false'/>
<option name='make' value='true'/>
<option name='clean' value='true'/>
<option name='makefilename' value='makefile'/>
<option name='ordinalanonymous' value='false'/>
<option name='verbose' value='false'/>
<option name='whitespace' value='true'/>
<option name='childtypeattr' value='true'/>
<option name='wrapped' value='false'/>
<option name='sourcepro' value='false'/>
<option name='maxgentypes' value='0'/>
</options>
<mappings> <!--4-->
<name xsdname="choice" xsdtype="" name="ChoiceElement" namespace=""/>
</mappings>
<files> <!--5-->
<input file='C:\RogueWave\hydraexpress\examples\
webservices\DayOfWeek\DayOfWeek.wsdl'/>
</files>
</rwsf-codegen-project>
If you wish to override elements in the project file, you may enter them on the command line. Any options entered on the command line override those inside the HydraExpress project file. In addition, if you provide more than one HydraExpress project file to the code generator, the values in the
last project file override any previously-set values in the event of conflicts. See
Conflicting Options and Property Precedence for more information on property precedence.