You'd rather keep the build.xml file where it currently is.You'd rather
indicate ant how to find the buildfile using an option. Should be --build or
--buildfile (???).
ant --help should help you find out the correct option to use.

2008/12/9 Tharun Kumar <[EMAIL PROTECTED]>

>
> Hi,
>
> I'm trying to build on Ant. But I'm stuck with a thing. When I try to
> run ant, I'm getting following error note on command prompt.
>
> I've copied the build.xml inside java folder.
>
> D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin>ant
> Unable to locate tools.jar. Expected to find it in C:\Program
> Files\Java\jre1.6.
> 0_02\lib\tools.jar
> Buildfile: build.xml does not exist!
> Build failed
>
> Prior to this, I've set JAVA_HOME environment variable.
>
> Which is the right path to copy the build.xml?
>
> Can you someone help on this?
>
> Regards,
> Tharun
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to