Project

General

Profile

User story #7402

Updated by François ARMAND over 8 years ago

We need to be able to directly copy files into a techniques, like for templates, but *without* using stringtemplate parser on them.  

 The exact spec will be: 

 <pre> 
 <FILES> 
 <FILE name="file.txt"><OUTPATH>foo/bar/other-name.txt</OUTPATH></FILE> 
 <FILE name="/some/absolute/file.txt"><OUTPATH>foo/bar/some-name.txt</OUTPATH></FILE> 
 </FILES> 
 </pre> 

 - name is mandatory. It's the path to file to copy, either relative or absolute. When relative, it's relative to technique version directory (i.e, at the same level as metadata.xml).  
 - OUTPATH is optionnal. If not specified, the file will be copied into the target node promises at the same place than other files for the technique, place, with the same name. If specified, you have to give a path+name, where path is relative to the directory for agent promises (i.e, if you want to put the file in the technique directory, you need to use "techniqueName/new-file-name.txt") 


Back