[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: How to compile with PCT to lowercase path and filename

  • Thread starter Thread starter Roel de Wildt
  • Start date Start date
Status
Not open for further replies.
R

Roel de Wildt

Guest
It is corect that the source code must be able to run on unix which is casesenitive. That is why the rcode files must be lowercase because all our RUN statements have the file in lowercase. I have tested with the following code in the xml file which I use for ant: self.addMappedName(source.toLowerCase()); Now I get everything twice in the output: SRCa/Abc.r SRCa/abc.p SRCa/DEF.r SRCa/def.p SRCB/zzz.p SRCB/zzZ.r Even with a self.clear() before the self.addMappedName() gives not the result I wanted. The source name is now to output name: SRCa/abc.p SRCa/def.p SRCB/zzz.p When I use the following javascript function to lowercase everything only the extension is lowercase: var baseName = source.substring(0, source.lastIndexOf('.')); self.clear(); self.addMappedName(baseName.toLowerCase() + ".r");

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