Home Download Buy Blog Forum Support

replace in file_regexp

replace in file_regexp

Postby tnlogy on Wed Feb 15, 2012 10:06 am

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!
tnlogy
 
Posts: 2
Joined: Wed Feb 15, 2012 10:03 am

Re: replace in file_regexp

Postby tnlogy on Wed Feb 15, 2012 10:19 am

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

"cmd": "ant| sed 's/\\/tmp//g'",
"shell": true,
tnlogy
 
Posts: 2
Joined: Wed Feb 15, 2012 10:03 am


Return to Technical Support

Who is online

Users browsing this forum: fstafforini and 26 guests