I have been experimenting with the excellent code-signing example and wanted to change the parameters in the Run Target [CodeSigning] action. But there seems to be no way to delete or rename a parameter. Leaving unused or mis-spelled parameters lying around is a cosmetic issue only, but are there some buttons missing?
Also, I got an exception when editing a value field in this dialog, on closing the ‘edit field’ pop-up. I pressed Continue and it did, and I cannot reproduce it now, unfortunately. Build 1490.
Finally, when I copied and pasted this action, there were no parameter names and values in the new copy. Which was a bit disappointing.
But none of this detracts from the value of the code-signing example, for which many thanks! The clearest explanation I have so far found.
Hi Tim,
The Run Target action gets the list of parameters available from the target itself. It can’t change the list of parameters, only the values passed to the parameters defined by the target. If there were some parameters that you wanted to change there is a context menu on the target. Right click the targets tab name, and you will be presented with a list of options. “Target Configuration…” is the option you might be after.
As for the exception dialog you saw, there should be an bug report logged to your %TEMP% directory. It should be called “finalbuilder BugReport.txt”. If you could send that through to support@finalbuilder.com we will have a look at what happened.
I assume by “…copied and pasted this action.” your referring to the Run Target action. Sadly at this stage the Run Target action will only fill in the copied details if the same Target appears in the project it is copied to. For example if MyProjectA has the Target “Sign”. Coping a Run Target action that points to the “Sign” Target into MyProjectB that does not have a “Sign” Target the information about the Target in the Run Target action will be cleared to prevent errors in the project it was copied to.
I hope this clears a few things up. If I have missed anything please let me know.
Thanks for explaining the parameters!
Exception report sent.
I had just copied your entire codesigning target contents into a new empty target named codesigning in another project. Then I copied the Run Target action into a target in the same destination project. That is why I expected it to retain its variables. But I now underdstand that my new codesigning target lacked the target parameter variables, so this issue is actually the same issue as my first one! I was looking for, and could not see, a way to copy and paste a complete target between projects.
Hi Tim,
Yes, currently copying targets between projects is manual. You will need to setup each parameter individually. It is something Vincent and I have discussed implementing as the example projects were released. We will be looking at implementing this in the coming weeks.
That sounds good. It was the only snag with the example signing project, because we have several subprojects which need to sign things. I was hoping just to copy the target into each one, but in the light of your comments I will leave the signing as a called subproject for now and perhaps change it to a called target later, when it can be more easily copied.