Sublime Forum

Replace in file_regexp

#1

Hi!

Is it possible for the build system to make a replace in file_regexp. I have a build system that moves java files to a tmp directory, so I get errors like:

[javac] /project/tmp/blaha.java …

I need the file_regexp to report /project/blaha.java instead.

Have a nice day!

0 Likes

#2

I found a way to fix it, it’s a bit ugly though.

"cmd": "ant| sed 's/\\/tmp//g'",
 "shell": true,
0 Likes