JDeb 在不使用 Eclipse 的情况下创建 Debian 包失败时如何获取有用信息

How to get useful information when JDeb fails to create a Debian package without using Eclipse

即使在 verbose=true 时,它​​显示的唯一消息是:

[deb] Creating debian package: /dir/packg.deb
[deb] Building data
[deb] Failed to create the Debian package /dir/packg.deb

BUILD FAILED
/dir/build.xml:80: Failed to create the Debian package /dir/packg.deb

我看过this answer,但它只适用于 Eclipse 用户。

如果 Eclipse 有,这个文件必须保存在某个地方。

您可以通过向它传递“-v”参数来使 ant 变得更加冗长。这将在控制台中显示堆栈跟踪。