config.setPassword(getPassword());
config.setPortletApplicationContext(getPortletApplicationContext());
PortletPublishService publisher = PortletPublishServiceFactory.getFactory()
.createPortletPublishService(config);
publisher.publish(config);
}
catch(UtilityException ue) {
throw new BuildException(ue);
}
}