Trying to get the permission for javadoc generation