Modifying reflection.xml in the build pipeline

Topics: Developer Forum
Nov 8, 2012 at 9:55 PM
Edited Nov 8, 2012 at 9:55 PM

Hi,

I wrote a plugin that is executed after ApplyVisibilityAttributes step. I load the Reflection.org file, modify it by removing some tags, and save it back.

However I can see that the tags I removed were re-added subsequently by another step that I don't know what is.

I thought that MRefBuilder was called only once and after that the reflection file wouldn't be generated again. Is there something I could do to permanently modify the reflection file?

Coordinator
Nov 8, 2012 at 11:21 PM

Are you saving it back out to "reflection.org" or to "reflection.xml"?  It should be "reflection.org" as it won't change to "reflection.xml" until the Transform Manifest step which transforms the ".org" version to the ".xml" version which would overwrite your changes if saved to "reflection.xml".

Eric