Home Download Buy Blog Forum Support

Regex to catch this Build error

Regex to catch this Build error

Postby jasondavis on Fri Dec 16, 2011 3:40 am

I am trying to add a build file for a build system that is just like Ant except is built with PHP called Phing

Here is the code I have for my Phing.sublime-build file so far
Code: Select all
{
   "cmd": ["phing"],
   "working_dir": "${project_path:${folder}}",
   "selector": "source.php, source.js, source.html, source.css",
}



Here is an example error message I got in command promt
Code: Select all
BUILD FAILED
Error reading project file [wrapped: dirname 9unknown0 doesn't support the 'property' attribute.
Total time: 0.3986 seconds


I am wanting to add in the regex support for catching the error in the build file like the other build files do in sublime.

Here is how the Ant.sublime-build file does it
Code: Select all
"file_regex": "^ *\\[javac\\] (.+):([0-9]+):() (.*)$",


Could someone show me how to make it work with the type of error I got above, the proper regex for my build file
jasondavis
 
Posts: 22
Joined: Thu Sep 01, 2011 12:52 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests