area, file
useReplicationFarm
target
replicationFarmLink
sourceFilesystem
fileSystem
filelist
source
<?xml version="1.0" encoding="ISO-8859-1" ?><deploymentConfiguration > <localNode host="172.24.20.120"/> <replicationFarmSet> <replicationFarm name="MYFARMNAME"> <nodeRef useNode="DLINT08"/> </replicationFarm> </replicationFarmSet> <definition name="DLINT08_Staging"> <source><fileSystem> <filelist area="$area" filePath="$file"> <pathSpecification> <path name="."/> </pathSpecification></filelist> </fileSystem> </source> <target> <comparisonRules dateDifferent="yes" ignoreAcls="yes"/> <transferRules applySourceFileTime="yes"/> <targetFilesystem area="E:\myNEC_staging"/> <replicationFarmLink> <internal name="MYFARMNAME"/> </replicationFarmLink> </target> </definition> <deployment transactional="no"> <execDeploymentTask useDefinition="DLINT08_Staging"/> </deployment></deploymentConfiguration>
I made the changes as suggested, but still the same thing happenscommand runs fine but the file is not in the target server. I am still working with this, ill keep you all updated.Thanks
my workarea is /default/main/MYNEC/HR/WORKAREA/HR_WA.This workarea has 2 folders at top level myNEC and templatedata so the setup is simple anyone create a DCR and says finish, html is created under myNEC and attached to the workflow along with DCR. The path for both of them are as follows./templatedata/hr/html/Test1/myNEC/hr/html/Test1.html.
These two get deployed in target location E:\myNEC_staging as....E:\myNEC_staging\templatedata\hr\html\Test1 andE:\myNEC_staging\myNEC\hr\html\Test1.html
The thing i want is the html files should be deployed right under myNEC_staging so the path to Test1.html should beE:\myNEC_staging\hr\html\Test1.html.Since i am doing a file based deployment i expect to have\hr\html\Test1.htmlin my filelist.txt.Though everything is right and my logic is right, i do not see the deployment to happen the way i wanted. Hope this is clear.Thank You
I am sorry for missing the data in the pathmy paths aretemplatedata/hr/html/data/Test1/myNEC/hr/html/Test1.html.and myNEC_staging is just a name not TeamSite staging.Yes i am expecting an exact structure under myNEC_staging for templatedata and have everything under myNEC folder directly under myNEC_staging.Thanks
/
\
\\
I totally disagree on your Filelist entries. My file list enteries should be/templatedata/hr/html/data/Test1/hr/html/Test1.htmlthats because i want the html directly under myNEC_staging but not in a folder called mynec under myNEC_staging.Thank You