Identifies a portion of the generated file such that any changes made by the user to this portion will be maintained across subsequent applications of this pattern.
See also <initialCode>
Tag Summary | |
---|---|
required |
<roundtrip /> |
full tag |
<roundtrip /> |
There are no required attributes |
---|
There are no optional attributes |
---|
Example | |
---|---|
<roundtrip > // Begin custom declarations <initialCode> // Any declarations added here manually will be kept when the pattern is applied again </initialCode> // End custom declarations </roundtrip> As indicated by the comment above, the roundtrip tag will keep any changes made by the pattern user to that corresponding section of generated code when the pattern is applied again. In order for those changes to be kept, the text before and after the initialCode tag must not be modified as it acts as an eyecatcher for the code to be kept. If the roundtrip region can not be found in the existing file or if the file does not exist, then the contents of the initialCode tag will be placed in the roundtrip region. |
© Copyright IBM Corporation 2000,
2006. All Rights Reserved.