If users attempt to deploy a sample more than once after making small changes and repackaging the application, the following error message is displayed.
Already Deployed |
This issue affects most of the samples because they use the Ant utility and the common.xml file, which have the deploy target. Thus, this combined use mixes deployment of applications with registration of resources.
Workaround: Choose one of the following workarounds.
For the majority of the sample applications that use the Ant utility build.xml files, which include the common.xml file, type the following command.
% asant deploy_common |
For all other sample applications, type the following commands.
% asant undeploy % asant deploy |