Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

20.7 Overwrite Protection

Many generated files are overwrite protected, meaning that if you regenerate code in the same directory as existing code, the generator will not overwrite them. It does this by appending a ".sample" to any files of the same name.

For example, if HydraExpress sees a file named MyServiceImp.cpp, it will not overwrite the file but will instead generate a file called MyService.Imp.cpp.sample.

The files that are overwrite protected are those that are the most likely to be edited, and include the following:

Table 12: Overwrite Protected Files

FileOverwrite protected name
MySchema_main.cpp
MySchema_main.cpp.sample
MyServiceClient.cpp
MyServiceClient.cpp.sample
MyServiceImp.h
MyServiceImp.cpp
MyServiceImp.h.sample
MyServiceImp.cpp.sample
server-transports.xml
server-transports.xml.sample
client-transports.xml
client-transports.sample
<serviceName>handlers.xml
<serviceName>handlers.xml.sample
client-handlers.xml
client-handlers.xml.sample
objects.xml
objects.xml.sample
client-objects.xml
client-objects.xml.sample
makefile
makefile_debug
makefile.sample
makefile_debug.sample
makefile.include
makefile.include.sample

MSVC projects and
workspaces and solutions:

 
MySchema.dsp 
MySchema_main.dsp
MySchema.dsw
MySchema.vcproj
MySchema_main.vcproj
MySchema.sln
MySchema.dsp.sample 
MySchema_main.dsp.sample
MySchema.dsw.sample
MySchema.vcproj.sample
MySchema_main.vcproj.sample
MySchema.sln.sample

Be aware that, each time the generator runs, it OVERWRITES all files with the .sample extension. If you make changes to these files, be sure you rename them before rerunning the generator in order to preserve your changes.


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.