Re: Specifying the java runtime for Ant

2005-09-15 Thread Steve Loughran
Andy Wickson wrote: I am really trying to get Ant itself to run using a non-default java runtime (one I specify). The reasons are very convoluted and I won't bore you with them. There seems to be something in the docs about this but I get the feeling things may have changed recently. I have see

Re: Specifying the java runtime for Ant

2005-09-15 Thread Andy Wickson
I am really trying to get Ant itself to run using a non-default java runtime (one I specify). The reasons are very convoluted and I won't bore you with them. There seems to be something in the docs about this but I get the feeling things may have changed recently. I have seen talk of a .antrc fi

Re: Specifying the java runtime for Ant

2005-09-15 Thread Steve Loughran
Andy Wickson wrote: Hi, I know that using I can specify the javac that I want to use for a compilation but is it possible to do this the other way round? I.e., I want to explicitly specify to Ant the runtime to use for itself at startup (one which it won't find as default in the $PATH) and

Re: Specifying the java runtime for Ant

2005-09-15 Thread Barry White
Hi Andy, are you just trying to ensure that your sources will compile to be, say, 1.3 compliant? This was a problem that I faced for a while and I believe it was solved on this mailing list. I thought specifying source/target=1.3 should or would be enough but it is not - you have to specify t

Specifying the java runtime for Ant

2005-09-15 Thread Andy Wickson
Hi, I know that using I can specify the javac that I want to use for a compilation but is it possible to do this the other way round? I.e., I want to explicitly specify to Ant the runtime to use for itself at startup (one which it won't find as default in the $PATH) and then use the default j