LPS-41782 use correct loop to continue, fix glassfish
LPS-41782 Source formatting
LPS-42668 Allow exact output file to be specified on the bnd tasks