throw new BuildException("file: " + file + " not found");
location = file;
    public void doExecute(AdminCommandsServiceMBean acs) throws Exception {        if (file == null){            throw new BuildException("null file - file should be an archive");        }        if (!file.endsWith(".zip") && !file.endsWith(".jar")) {            throw new BuildException("file: " + file + " is not an archive");        }        File archive = new File(file);        if (!archive.isFile()) {            throw new BuildException("file: " + file + " not found");        }        acs.installSharedLibrary(archive.getAbsolutePath());    }