Riverside-Software / pct

Build automation for OpenEdge ABL
Apache License 2.0
96 stars 62 forks source link

pct:run profiler file extension defaults to .out #527

Closed stefandrissen closed 8 months ago

stefandrissen commented 8 months ago

Describe the bug When using the profiler, the profiler file extension defaults to .out. PDSOE however expects a profiler file to have extension .prof.

To Reproduce

<pct:run procedure="foo.p">
    <profiler enabled="true" outputDir="profiler" />
</pct:run>

A profiler file with name profiler#.out is created.

Expected behavior Create profiler#.prof which can be directly opened in PDSOE without a rename.

Environment

gquerret commented 8 months ago

A new attribute (fileExtension for example) could be added, but the default value will still be .out, as this is hard-coded in the OpenEdge plugin for SonarQube.

gquerret commented 8 months ago

Added extension attribute to Profiler. Merged in main