Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
LEIF User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

10.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 the code generator 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 11: Overwrite Protected Files

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
transports.xml
transports.xml.sample
client-transports.xml
client-transports.sample
handlers.xml
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

NOTE -- 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

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