Re: Xcode 3.2 fails to highlight errors in Java source
Re: Xcode 3.2 fails to highlight errors in Java source
- Subject: Re: Xcode 3.2 fails to highlight errors in Java source
- From: Greg Guerin <email@hidden>
- Date: Wed, 2 Sep 2009 13:08:07 -0700
Pelaia II, Tom wrote:
xant:
#!/bin/bash
# get the root directory of this script
root_dir=${0%/*}
echo $root_dir
# execute the ant command and perform the substitution
ant $* | sed -f $root_dir/errorsub.sed
Thanks for doing the investigation and script, Tom. Fixes for 'xant'
follow:
#!/bin/bash
# get the root directory of this script
root_dir="${0%/*}"
echo "$root_dir"
# execute the ant command and perform the substitution
ant "$@" | sed -f "$root_dir/errorsub.sed"
FWIW, there's probably an 'awk' or 'perl' script that would work with
only command-line args, instead of needing a separate 'sed' script.
I'm not enough of an awker or perlite to whip one up without
RTFM'ing, though.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden