Quickbuild with new destination

Answered

Comments

2 comments

  • Avatar
    juanjo

    What you could do is use the <preBuildActionList> when some special parameter is set, like template_installer=/path/to/installer.exe and copy it to the new destination so the builder can perform the quick build:

    <preBuildActionList>
            <actionGroup>
                  <actionList>
                         <copyFile origin="${template_installer}" destination="${outputdir}/${name}.exe"/>
                  </actionList>
                  <ruleList>
                        <compareText text="${template_installer}" logic="does_not_contain" value="unknown variable"/>
                        <fileExists path="${template_installer}"/>
                  </ruleList>
            </actionGroup>
    
    </preBuildActionList>
    
  • Avatar
    Neo Cortex

    Thanks, copying the original installer works.

Please sign in to leave a comment.