defects4j icon indicating copy to clipboard operation
defects4j copied to clipboard

Feature request: export full compilation command

Open andrewhabib opened this issue 4 years ago • 2 comments
trafficstars

Hi,

It would be nice if one could export the full compilation command of a bug as one of the properties. I observed that some bugs (e.g., Lang-25, Lang-42, Lang-62) require a specific compilation option (in the aforementioned cases it was -encoding iso-8859-1 ).

In a use case where one tries to analyze/compile only modified (aka buggy) classes, this could be very helpful.

Regards,

andrewhabib avatar Jul 28 '21 11:07 andrewhabib

Hi @andrewhabib,

This is something we are currently looking into. I don't have a timeline, but the goal is to provide javac and java/junit commands to compile the code and run the tests.

Best, René

rjust avatar Jul 30 '21 06:07 rjust

This will be very very helpful. I look forward to seeing those features :)

andrewhabib avatar Jul 31 '21 09:07 andrewhabib