Publish Task / Compiler Messages
Moderators: Alexander Halser, Tim Green
Publish Task / Compiler Messages
When I have multiple actions in a task, only the output from the last action is reported in the Compiler Messages. Is that expected?
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Publish Task / Compiler Messages
That will be the report you see there, yes. If you want the full details you need to call the task with a batch file, then you will see everything in the command console, and you can also output it to a log file. For example:
Code: Select all
echo off
set hmpath="C:\Program Files (x86)\EC Software\HelpAndManual8\HELPMAN.EXE"
set projpath="e:\Documents\My HelpAndManual Projects\DemoHelp\NewProject.hmxz"
call %hmpath% %projpath% /TSK="My Task" /L=logfile.txt
pause
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: Publish Task / Compiler Messages
Well, I have 1 task, with 2 actions in it. Each action has a post-build event - which is a batch file.
When I execute Publish Task, it queues both actions and runs them in sequence. When finished, the Compiler Messages shows the full output of the batch file from ONLY the last action.
The reason for using this method is a single button push "within" H&M to complete two actions in a single publish run.
So it's just a fact and not a bug that only the last action in a task list is logged to H&M and if I wanted to see the output from both actions the only method is what you described?
When I execute Publish Task, it queues both actions and runs them in sequence. When finished, the Compiler Messages shows the full output of the batch file from ONLY the last action.
The reason for using this method is a single button push "within" H&M to complete two actions in a single publish run.
So it's just a fact and not a bug that only the last action in a task list is logged to H&M and if I wanted to see the output from both actions the only method is what you described?
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Publish Task / Compiler Messages
At the moment that is the situation, yes. I've passed this comment on to the development team and it may be changed in a future update.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.