Hi, That was wonderful info.
My code didnt work just because there are some errors in the project which were not detected by eclipse(enums in java1.5.0) but were shown as errors by the java compiler v1.5 in the console. Sorry for the inconvenience I thought it was compatibility issue bw ant and jdk 1.5. Thank you very much for your help. Hoping to have more mail contacts. Thanks, Rajeev, Software Engineer, RM Solutions Pvt Ltd, Technopark,Trivandrum,India On Wed, 16 Mar 2005 16:12:57 +0100, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Wed, 16 Mar 2005, Rajeev R. <[EMAIL PROTECTED]> wrote: > > > I am using ant 1.6(latest release avaliliable) > > 1.6.2 is the latest release available. > > > I tried this task but it doesnt work. > > > > Please any more suggestions. > > How about more details? What doesn't work? What are the symptoms? > > > <javac srcdir="." > > your sources hierarchy starts here? > > > fork="yes" compiler="javac1.5" > > not necessary at all if your are running Ant in a JDK 1.5 Java VM. > > > failonerror="false" > > not necessary at all, you will want your build to fail on compileation > errors. > > > target="1.5"> > > Superfluos since -source and -target default to 1.5 in JDK 1.5. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]