Hi all,
How do I get SlickEdit to automatically set the error markers in my source code after running a process command?
I have a large project that is mostly Java, and I'm trying to create a macro that will invoke my custom build batch (or script) file. What I have so far seems to be close:
#include "slick.sh"
_command void my_custom_build()
{
save_all();
start_process( false, false, true, true );
clear_pbuffer();
clear_all_error_markers();
_str command = "myCompileCommand";
message( command );
concur_command( command, false, true, false, true );
}
The macro runs without error. It clears the error markers, then runs my command. The output appears in the process buffer just fine. Once the macro is finished, I can march through my error messages just fine with next_error() and previous_error().
However, there are no error markers in my source code when it is done. How can I make it do that?
BTW, the output to the process buffer is Ant output with Java error messages.
Thanks,
Chris