• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 3.2 fails to highlight errors in Java source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Xcode 3.2 fails to highlight errors in Java source
  • Next by Date: Any hope to get an updated Xcode IDE for Leopard?
  • Previous by thread: Re: Xcode 3.2 fails to highlight errors in Java source
  • Next by thread: Re: Xcode 3.2 fails to highlight errors in Java source
  • Index(es):
    • Date
    • Thread