Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
deployNRun fails
carletto
Hi,
I try to run a script after a success deploy.
I use ODbase and receiver 5.2 on WK2.
After deploy ODreceiver doesn't run a script
How can I resolve thi problem?
<?xml version="1.0" encoding="UTF-8"?>
<deploymentConfiguration nodeSetFile="E:\IW\OpenDeployNG\etc\odnodes.xml" >
<localNode host="TEAMSITE" />
<replicationFarmSet>
<replicationFarm name="SVILUPPO">
<nodeRef useNode="SVILUPPO"/>
</replicationFarm>
<replicationFarm name="TESTINTEGRATO">
<nodeRef useNode="TESTINTEGRATO"/>
</replicationFarm>
<replicationFarm name="PRODUZIONE">
<nodeRef useNode="PRODUZIONE"/>
</replicationFarm>
</replicationFarmSet>
<definition name="COMUNICAZIONI">
<!--<source>
<sourceFilesystem area="$workarea">
<pathSpecification>
<path name = "comunicazioni\images" />
</pathSpecification>
</sourceFilesystem>
</source>-->
<source>
<sourceFilesystem area="$workarea\comunicazioni\images">
<pathSpecification>
<path name = "." />
</pathSpecification>
</sourceFilesystem>
</source>
<target useReplicationFarm="$target" >
<comparisonRules dateDifferent="yes" />
<permissionRules changeAccess="{EVERYONE:ALL}" />
<targetFilesystem area="$targetDir" />
</target>
</definition>
<deployment transactional="yes" >
<execDeploymentTask useDefinition="COMUNICAZIONI" />
<deployNRun>
<dnrDeployment location="target" when="after" state="success">
<script cmd="D:\ANT\ant_oper\BPM_deploy_testts.bat"/>
</dnrDeployment>
<!--dnrDeployment location="source" when="after" state="success">
<script cmd="E:\prova.ipl"/>
</dnrDeployment-->
</deployNRun>
</deployment>
<logRules maxBytes="32Mb" level="VERBOSE"/>
</deploymentConfiguration>
Find more posts tagged with
Comments
Adam Stoller
Minor, but significant syntax problem - which probably should have been picked up by OpenDeploy when it processed your deployment configuration file.
You have:
< execDeploymentTask useDefinition="COMUNICAZIONI"
/
>
< deployNRun>
...
< /deployNRun>
The
deployNRun
element must be
contained within
the
execDeployment
element:
< execDeploymentTask useDefinition="COMUNICAZIONI">
< deployNRun>
...
< /deployNRun>
< /execDeploymentTask>
--fish
(Interwoven Senior Technical Consultant)