Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

With the move back to the ClarionMag brand, I realized I'd better rebrand the site's signature library, until now known as the DevRoadmaps Clarion Library (DCL), as the ClarionMag Library (CML). 

To begin with I simply made a copy of the entire DCL development directory tree. I then went in to the libsrc directory and issued a 

ren DCL_* CML_*

command, which worked only because I maintained the same number of characters at the start of the name. 

I then loaded up all of the text files in that directory with Notepad++ and did a similar search and replace across all files (I could have used Clarion, but I like NPP for bulk operations). There were 1751 occurrences, so definitely this isn't something I'd want to do by hand. 

I went through the same process with the templates. I was a bit worried about the template changes, because I have a lot of test apps that use the DCL templates and classes, and if I renamed the templates (not just the tem plate files) I'd have to recreate all of the test apps from TXAs. But it turns out I didn't use the DCL_ prefix in template names, so all I really need to do is unregister the old templates and register the new ones. 

And of course I had to rename all of the unit test apps. I always do this by opening the app and doing a Save As to another name. I have a vague primal memory of once doing this with a DOS rename and having everything go south because none of the internal names were changed, e.g. for the target. Thinking it might be safe to do so now, I experimented. And no, the target name is still not changed if you do a DOS rename, and my paranoia is probably justified. 

 

 

 

 

  • No labels