Hi All
Are there any tools out there to go through a code set and convert the use of RUN statements to call .p's and .w's as lowercase.
We are looking to move to an appserver / pas environment and would like to offer the solution in Linux but we have mixed case in our naming conventions and what is on disk in terms of .r, which obviously is not an issue in Windows.
Anyone been through a similar process?
Thanks
Sounds like a good use case for ProParse. The learning curve is steep, but it’s worthwhile.
We maintain a fork of the original to keep it as up to date as possible with new releases of Progress.
|
We went through a major refactoring of our code, from using non-standard extensions with all directories in the propath, to using standard extenstions and and short propath.
/* before refactoring */ { vars.t } run main-l persistent. /* after refactoring */ { cceinc/vars.i } run ccetools/main-l.p persistent.
The procedure to refactor the code uses the proparse tokenlister, Our actual procedure is very specific for our environment but I posted a sample procedure on oehive. (can't find it a the moment).
I'll try to locate the sample
found it, the sample will parse an abl source and replace includes without directory
/* before */ { someinclude.i } /* after */ { directory/someinclude.i }
In our real process I added a rename table containing
The refactoring is done in 3 steps
[View:/cfs-file/__key/communityserver-discussions-components-files/19/includepath.p:320:240]