[progress Communities] [progress Openedge Abl] Comment On Custom Information In R-code Files

  • Thread starter Thread starter Simon L. Prinsloo
  • Start date Start date
Status
Not open for further replies.
S

Simon L. Prinsloo

Guest
Hi Adriano The code will not compile, because it is pseudo code intended to demonstrate the idea of doing this with the compiler and annotations. As for adding the information after the fact, I would prefer to write the custom info class (Acme.Rcode.Info in the example) to a JSON file and then use something like: proutil -C insertRcodeCustomInfo { list of programs or wildcards needed to detect rcode } This way, you can generate the data object with any tool that can maintain json, while maintaining the flexibility to address it as an object in ABL. Going one step further, you could the also do: proutil -C getRcodeCustomInfo programA.r [programA.json] This will enable non-ABL build tools to pick the info as an object and work with it.

Continue reading...
 
Status
Not open for further replies.
Back
Top