Hi,
I have packaged common resource project using following metadata xml file and appPackager tool.
When I am trying to deploy this project (common resource files) using AppDeployer tool , getting following error.
Please help me resolve this Issue ASAP.
Error on command prompt
==============================================
C:\SBM76SP1\bin>appDeployer.cmd E:\VM_Deployment_Framework\build\deploy\VM_cr.zip
Buildfile: C:\SBM76SP1\appPackager\appbuild.xml
deployApp:
prepare:
extractandDeploy:
[echo] app package name = VM_cr.zip
[delete] Deleting directory C:\SBM76SP1\appPackager\build\deploy\VM_cr.zip
[unzip] Expanding: E:\VM_Deployment_Framework\build\deploy\VM_cr.zip into C:
\SBM76SP1\appPackager\build\deploy\VM_cr.zip
[echo] xml file C:\SBM76SP1\appPackager\build\deploy\VM_cr.zip\Deployment_C
R.xml
makebootedXMLFile:
[copy] Copying 1 file to C:\SBM76SP1\appPackager\build\deploy\VM_cr.zip
zipandDeploy:
[echo] In zip and deploy
[zip] Building zip: C:\SBM76SP1\appPackager\build\deploy\VM_cr.zip\Resources\Resources.zip
[echo] hasBizPulse =false
[for] C:\SBM76SP1\appPackager\build\deploy\VM_cr.zip\Deployment_CR.xml: The following error occurred while executing this line:
[for] C:\SBM76SP1\appPackager\appbuild.xml:357: The following error occurred while executing this line:
[for] C:\SBM76SP1\appPackager\appbuild.xml:442: could not set the operation. Invalid operation type specified [COPY_ONLY_FILES]
BUILD FAILED
C:\SBM76SP1\appPackager\appbuild.xml:330: The following error occurred while executing this line:
C:\SBM76SP1\appPackager\appbuild.xml:343: Keepgoing execution: 1 of 1 iterations
failed.
Total time: 1 second
Deployment_CR.XML file
====================================================
<Application name="VM_cr" filename="VM_cr.zip">
<Resources>
<!-- BL_COMMON-->
<!-- For BO-->
<Resource src="@project.loc@/OpvolgenborgCommonResource/classes/nl" type="dir" target="${sbm.home}/ebmsapps/common/bo/classes/nl"/>
<!-- For Adapter-->
<Resource src="@project.loc@/OpvolgenborgCommonResource/lib/OpvolgenborgCommonResource.jar" type="file" target="${sbm.home}/ebmsapps/common/lib"/>
<!-- BSOLO_COMMON-->
<!-- For BO-->
<Resource src="@project.loc@/OpvolgenborgCommonResource/classes/nl" type="dir" target="${sbm.webappdir}/WEB-INF/classes/nl"/>
<!-- For Adapter-->
<Resource src="@project.loc@/OpvolgenborgCommonResource/lib/OpvolgenborgCommonResource.jar" type="file" target="${sbm.webappdir}/WEB-INF/lib"/>
<!-- CR_NON_JAVA-->
<Resource src="@project.loc@/OpvolgenborgCommonResource/web/Opvolgenborg" type="dir" target="${sbm.webappdir}/Opvolgenborg"/>
<Resource src="@project.loc@/OpvolgenborgCommonResource/sbm_home/conf" type="dir" target="${sbm.home}/conf"/>
</Resources>
</Application>