• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

good habits regarding output directory

Explorer ,
Mar 19, 2020 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

Views

357

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
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 20, 2020 Mar 20, 2020

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

...

Votes

Translate

Translate
Community Expert ,
Mar 20, 2020 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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

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
community guidelines
Explorer ,
Mar 20, 2020 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

Votes

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
community guidelines
Adobe Employee ,
Mar 20, 2020 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

Votes

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
community guidelines
Explorer ,
Mar 20, 2020 Mar 20, 2020

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Expert ,
Mar 20, 2020 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. 

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

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
community guidelines
Community Expert ,
Mar 20, 2020 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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

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
community guidelines
Explorer ,
Mar 20, 2020 Mar 20, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp