Re: javac and compilerargs

2004-03-15 Thread Arnaud Vandyck
Stefan Bodewig <[EMAIL PROTECTED]> writes: > On Mon, 15 Mar 2004, Arnaud Vandyck <[EMAIL PROTECTED]> wrote: > >> Is it OK if in the Gcj class, I do something like: >> >> String[] argsToTest = getJavac().getCurrentCompilerArgs(); > > Absolutely. The command line has been tokenized by Ant already,

Re: javac and compilerargs

2004-03-15 Thread Stefan Bodewig
On Mon, 15 Mar 2004, Arnaud Vandyck <[EMAIL PROTECTED]> wrote: > Is it OK if in the Gcj class, I do something like: > > String[] argsToTest = getJavac().getCurrentCompilerArgs(); Absolutely. The command line has been tokenized by Ant already, that is will become three array elements "--main

Re: javac and compilerargs

2004-03-15 Thread Arnaud Vandyck
Stefan Bodewig <[EMAIL PROTECTED]> writes: > On Mon, 15 Mar 2004, Arnaud Vandyck <[EMAIL PROTECTED]> wrote: >> Stefan Bodewig <[EMAIL PROTECTED]> writes: >> >>> Honestly, I'm not sure how big our gcj user base is and how many of >>> them use to pass additional arguments, the answer >>> could very

Re: javac and compilerargs

2004-03-15 Thread Arnaud Vandyck
[EMAIL PROTECTED] writes: [...] > 089: String jikesPath = System.getProperty("jikes.class.path"); Huh! I thought it would be more complex! ;-) Thanks ;-) (but I think it'll be plan B ;-)) -- ~/.signature not found < asuffield> a workstation is anything you can stick on somebodies desk

Re: javac and compilerargs

2004-03-15 Thread Stefan Bodewig
On Mon, 15 Mar 2004, Arnaud Vandyck <[EMAIL PROTECTED]> wrote: > Stefan Bodewig <[EMAIL PROTECTED]> writes: > >> Honestly, I'm not sure how big our gcj user base is and how many of >> them use to pass additional arguments, the answer >> could very well be zero. > > This is not a problem. I'll try

RE: javac and compilerargs

2004-03-15 Thread Jan . Materne
> > The only other solution I'd see would be a compiler specific magic > > property. Something like build.compiler.gcj.native and we'd drop -C > > if that property was set to true. > > No problem for me if everything is well documented ;-) Seems to be a > good solution. Can you point me were I ha

Re: javac and compilerargs

2004-03-15 Thread Arnaud Vandyck
Hi Stefan, Stefan Bodewig <[EMAIL PROTECTED]> writes: > On Mon, 15 Mar 2004, Arnaud Vandyck <[EMAIL PROTECTED]> wrote: > >> I'd like to make some changes in the >> ant-1.6.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java >> task to change the behavior. I'd like ant NOT to pass the -C >

Re: javac and compilerargs

2004-03-15 Thread Stefan Bodewig
On Mon, 15 Mar 2004, Arnaud Vandyck <[EMAIL PROTECTED]> wrote: > I'd like to make some changes in the > ant-1.6.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java > task to change the behavior. I'd like ant NOT to pass the -C > argument if a nested tag exists. This is hard to do in a ba

javac and compilerargs

2004-03-15 Thread Arnaud Vandyck
Hi all! My name is Arnaud Vandyck and I'm new here. I use ant for a long time and cannot do anything without it! ;-) I'm also a Debian Developer (like Stefan Gybas, Takashi Okamoto and others). I'd like to make some changes in the ant-1.6.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.ja