Importing ant build.xml in Eclipse
I have an android project that uses ant to build, is it possible to import this ant project in eclipse IDE?
update : There is an option to create project using ant build.xml
in eclipse File->New->Project->Java->Java project from existing ant Buildfile. and if the build.xml file is selected it show error Specified buildfile does not contain a javac task
I guess javac is declared in this task
<taskdef name="setup"
classname="com.android.ant.SetupTask"
classpathref="android.antlibs"/>
From this link:
just simply import "existing projects into workspace" and import your project. then open 'ant' window from windows-->show/view --> ant
drag-drop your ant file from project explorer to the and window.
click to expand, and select the target you want to run ->right click -> run as ANT
your setup should be ok with this.
Try the following method, got it work for me.