Highlighted

good habits regarding output directory

Explorer ,
Mar 19, 2020

Copy link to clipboard

Copied

Hello, I'm managing a merged chm project. After every modification in a subproject, I have to manually copy the resulting chm file in the asset directory of the main project

I was just wondering if it was a good idee to use the asset directory of the main project as the output location of the subprojects. In that case I do not have to copy manually the chm files after every compilation.

best regards, Olivier

Adobe Community Professional
Correct answer by Peter Grainge | Adobe Community Professional

Let's say there is a parent and four children, five projects in all.

 

Whichever way you work, to get the copy CHM that is in Assets you have to generate somewhere.

 

OPTION 1

Generate all five projects to different folders. You then have to get all five CHMs into one folder. That requires the additional steps that Vivek has outlined and an additional folder for every project.

 

OPTION 2

Generate all five projects to one folder. Job done. Surely that has to be the easiest solution and the one I would describe as smart.

 

****************************************

 

The fact that RoboHelp is creating a copy in Assets is a hangover from how things were done in Classic and was the cause of confusion.

 

Views

189

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

good habits regarding output directory

Explorer ,
Mar 19, 2020

Copy link to clipboard

Copied

Hello, I'm managing a merged chm project. After every modification in a subproject, I have to manually copy the resulting chm file in the asset directory of the main project

I was just wondering if it was a good idee to use the asset directory of the main project as the output location of the subprojects. In that case I do not have to copy manually the chm files after every compilation.

best regards, Olivier

Adobe Community Professional
Correct answer by Peter Grainge | Adobe Community Professional

Let's say there is a parent and four children, five projects in all.

 

Whichever way you work, to get the copy CHM that is in Assets you have to generate somewhere.

 

OPTION 1

Generate all five projects to different folders. You then have to get all five CHMs into one folder. That requires the additional steps that Vivek has outlined and an additional folder for every project.

 

OPTION 2

Generate all five projects to one folder. Job done. Surely that has to be the easiest solution and the one I would describe as smart.

 

****************************************

 

The fact that RoboHelp is creating a copy in Assets is a hangover from how things were done in Classic and was the cause of confusion.

 

Views

190

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Mar 20, 2020

Copy link to clipboard

Copied

I don't think you can set that as the target, I would need to check. However, I have covered what to do in my page on 2019 merging. Create a folder outside all the projects and use that as the target.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Mar 20, 2020

Copy link to clipboard

Copied

that is indeed the default way RH is working. I'm curious, as this would spare me some repetitive tasks after every compilation in the subprojects

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Employee ,
Mar 20, 2020

Copy link to clipboard

Copied

Hi Oliver,

There are two ways to handle this.

1. In RH2019 you can specify a post generation script which will run after every compilation. For this you will have to write a small JavaScript file which will copy the files from output directory to another one specified by you.

2. Another and a better way is to create  Publish profile of "FileSytem" type. In this you can specify where to publish/copy the output. And you can run it whenever you think your output is ready to be copied.

 

Hope this is helpful.

 

Thanks,

Vivek

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Mar 20, 2020

Copy link to clipboard

Copied

Wow Vivek, this looks smart. I'll try the easiest option immediately, let you know

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Mar 20, 2020

Copy link to clipboard

Copied

Surely it's easiest to just generate all the CHMs to one folder. No further action required. 

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Mar 20, 2020

Copy link to clipboard

Copied

Let's say there is a parent and four children, five projects in all.

 

Whichever way you work, to get the copy CHM that is in Assets you have to generate somewhere.

 

OPTION 1

Generate all five projects to different folders. You then have to get all five CHMs into one folder. That requires the additional steps that Vivek has outlined and an additional folder for every project.

 

OPTION 2

Generate all five projects to one folder. Job done. Surely that has to be the easiest solution and the one I would describe as smart.

 

****************************************

 

The fact that RoboHelp is creating a copy in Assets is a hangover from how things were done in Classic and was the cause of confusion.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Mar 20, 2020

Copy link to clipboard

Copied

I think Peter your answer makes sense. use the same output directory for main and subprojects. stupid of me. thank you

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...