Re: Using Ant with older Java versions

2006-10-27 Thread David Jones
e tomorrow. > > Thanks to all, > --Wayne > > > Scot P. Floess wrote: >> I think its just a warning...not that it doesn't compile. I tried it >> on my machine (which has JDK 1.5.0_08 installed) and it did compile... >> >> David Jones wrote: >>>

Re: Using Ant with older Java versions

2006-10-25 Thread David Jones
Hi, Source and target define what compatibility to use, not which JDK is being used. So 1.5 probably just will not allow that to compile. However, you could tell it to use a different JDK (1.3), using the executable option, and then it would actually be compiling with that version of java. That

Re: Ant does not read -D properties same way as Java

2006-09-15 Thread David Jones
Vladimir, As per the Ant manual: -D= use value for given property In your case you would want -Dfoo=bar Please try that and see if it works. I expect that it should. -Dave On 9/15/06, Vladimir Egorov <[EMAIL PROTECTED]> wrote: Hi Ant Users, I have the following trivial build.xml.