removing duped jars and checking for dirs with warning