Re: Building classpath with ecj | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
That's ok if you just want to drop them. Supporting them is a littleOn 07/04/2008, Christian Thalinger <twisti@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, 2008-04-06 at 15:47 -0700, mvfranz wrote:
> > I would like to fix this in the ecj script for OS X, however I spent the
> > afternoon trying to script something together that would strip -J parameters
> > and pass them to the JVM that runs ecj. I get this to work for some
> > parameters but not others. Sometimes quoting works sometimes it doesn't.
> >
> > Is there an installation of ecj that handles the -J parameters correctly?
> > Anyone have bash scripts to handle this?
>
>
> I did this a while ago to bootstrap OpenJDK:
>
> ARGS=""
>
> for ARG in "$@"; do
> OUT=`echo "$ARG" | grep "^-J"`
> if [ "$OUT" = "" ]; then
> ARGS="$ARGS $ARG"
> fi
> done
>
> Maybe that helps.
>
> - twisti
>
>
>
trickier, and involves chopping the -J and moving the rest of the
option prior to the classname.
--
Andrew :-)
[Home] [Linux Kernel List] [Linux Cryptography] [Fedora] [Fedora Directory] [Red Hat Development] [Red Hat 9 Bible] [Fedora Bible] [Red Hat 9 Mailing List] [Network Security Reading]
![]() |