I found the "error":
I compared the log files and found the problem:
-U-bank-s-library-package:
Skipped because do.mkdist property is not set.
You can find the following in the build.xml file:
<condition property="do.mkdist"> <and> <isset property="do.archive"/> <isset property="libs.CopyLibs.classpath"/> <not> <istrue value="${mkdist.disabled}"/> </not> </and> </condition>
It seems libs.CopyLibs.classpath is not installed. There is an implementation from NetBeans that you can find here java / ant / extra. The lib is called org-netbeans-modules-java-j2seproject-copylibstask.jar.
I added the following properties to my project:
libs.CopyLibs.classpath=tools/org-netbeans-modules-java-j2seproject-copylibstask.jar
After that, everything works fine with Debian.
source share