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:
File | Overwrite 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 | |
MySchema.dsp |
MySchema.dsp.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.
© 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.