diff options
author | Xavier Ducrohet <xav@android.com> | 2012-03-23 15:06:43 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-03-23 15:06:43 -0700 |
commit | 7a10e408bbada4ff9374eacfae3e5801ab1e0f0a (patch) | |
tree | 253e32656774486ad334f86385a66237959d26c8 /anttasks/src/com/android/ant/NewSetupTask.java | |
parent | 891f5f98769d7d09b9e4419bdeeefeec8224f6d2 (diff) | |
download | sdk-7a10e408bbada4ff9374eacfae3e5801ab1e0f0a.zip sdk-7a10e408bbada4ff9374eacfae3e5801ab1e0f0a.tar.gz sdk-7a10e408bbada4ff9374eacfae3e5801ab1e0f0a.tar.bz2 |
Fix issue when running Ant from outside of the project's folder.
Change-Id: I431af7ec0745a1b7ccc34ee0a224ba6670b5bfff
Diffstat (limited to 'anttasks/src/com/android/ant/NewSetupTask.java')
-rw-r--r-- | anttasks/src/com/android/ant/NewSetupTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anttasks/src/com/android/ant/NewSetupTask.java b/anttasks/src/com/android/ant/NewSetupTask.java index f2f365a..4706084 100644 --- a/anttasks/src/com/android/ant/NewSetupTask.java +++ b/anttasks/src/com/android/ant/NewSetupTask.java @@ -561,7 +561,7 @@ public class NewSetupTask extends Task { } // add the project's own content of libs/*.jar - File libsFolder = new File(SdkConstants.FD_NATIVE_LIBS); + File libsFolder = new File(antProject.getBaseDir(), SdkConstants.FD_NATIVE_LIBS); File[] jarFiles = libsFolder.listFiles(filter); if (jarFiles != null) { for (File jarFile : jarFiles) { |