Ant problem when building rosjava
Hello all,
I following the instructions on the rosjava welcome page http://code.google.com/p/rosjava/wiki... .
Everything goes fine until I try to build rosjava.jar.
At first, the result of the "ant dist" instruction was that it was unable to find the sdk.dir folder, so I decided to hardcode the path of my Android sdk installation. If I write the command "android" in the shell, I can see how the AVD manager starts.
Now, the problem is that the build fails because it's unable to find com.android.ant.SetupTask
See the error trace below:
BUILD FAILED
/myfolder/rosjava/rosjava/build.xml:5: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/build-common.xml:16: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/dependencies.xml:20: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/android/build.xml:6: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/android/library/build.xml:38: The following error occurred while executing this line:
/myfolder/android-sdk-linux_x86/tools/ant/pre_setup.xml:13: taskdef class com.android.ant.SetupTask cannot be found
using the classloader AntClassLoader[]
Someone asked if I have the anttasks.jar under the /myfolder/android-sdk-linux_x86/tools/lib folder, and yes, I do.
What can be happening?
Thanks in advance!