diff options
author | Xavier Ducrohet <xav@android.com> | 2010-05-27 15:25:00 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-05-27 16:18:54 -0700 |
commit | 8582ede3e8ae8db27819922fa1f6e083788e10bd (patch) | |
tree | 9ab09be3c56042461d51e4a4ec9b7c1ffa854b29 /anttasks | |
parent | ac8b6fa3ca5dd744a49a312c07835328f0805eab (diff) | |
download | sdk-8582ede3e8ae8db27819922fa1f6e083788e10bd.zip sdk-8582ede3e8ae8db27819922fa1f6e083788e10bd.tar.gz sdk-8582ede3e8ae8db27819922fa1f6e083788e10bd.tar.bz2 |
Add Manifest checks for multi-apk export.
Change-Id: Ifd0bb892582888b7b6ef6ceb634871c1fb24d6e5
Diffstat (limited to 'anttasks')
-rw-r--r-- | anttasks/src/com/android/ant/MultiApkExportTask.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/anttasks/src/com/android/ant/MultiApkExportTask.java b/anttasks/src/com/android/ant/MultiApkExportTask.java index dbc1a1d..3d1131b 100644 --- a/anttasks/src/com/android/ant/MultiApkExportTask.java +++ b/anttasks/src/com/android/ant/MultiApkExportTask.java @@ -240,7 +240,10 @@ public class MultiApkExportTask extends Task { helper.makeBuildLog(log, apks); } } catch (ExportException e) { - throw new BuildException(e); + // we only want to have Ant display the message, not the stack trace, since + // we use Exceptions to report errors, so we build the BuildException only + // with the message and not the cause exception. + throw new BuildException(e.getMessage()); } } |