Where and how to implement xml code

Comments

1 comment

  • Avatar
    BitRock support

    Hi Ivo,

    Actions like <runProgram> or any other action can be added to different actionLists. For example, to execute an action before unpacking you can add it to the <preInstallationActionList>:

     

    <project>
       ...
     <preInstallationActionList>
        ...
       <runProgram>
         <program>ls</program>
         <programArguments>-l ${installdir}/logs/*.log | wc -l</programArguments>
        </runProgram>
       ...
     </preInstallationActionList>
      ...
    </project> 

    Regards,

    Michiel D'Hont

    0
    Comment actions Permalink

Please sign in to leave a comment.