acs.deployServiceAssembly(file);
File archive = new File(file); if (!archive.isFile()) { throw new BuildException("file: " + file + " not found"); } acs.deployServiceAssembly(archive.getAbsolutePath());
    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");        }        acs.deployServiceAssembly(file);    }