I had to go into the Data Server code to add the string representation for a data set storage unit. I.e., we much more prefer ds1:/pool/dpool1 to some honking large guid. But the code actually cares more for the guid. Anyway, I soon figured out that the DS code always regenerated the XDR code.
And I got to thinking, I didn't really like having two physical copies of the code. So, I bit the bullet and completely went to automated XDR. I could have kept it handcrafted, with only one physical copy, but where is the challenge in that I ask you?
Luckily, the pain from last week was still fresh in my head and I knew exactly which pieces of the spe data structures needed to be massaged. It took me 3-4 hours, mainly in getting the XDR code copied into the right places during the build, but I know have it automated.
Well, I have it automated but I haven't tested it yet. Guess what I'm about to start unit testing on tonight?