Republishing webhelp with feedback

<oXygen/> general issues.
tomjohnson1492
Posts: 132
Joined: Thu Apr 17, 2014 1:55 am

Republishing webhelp with feedback

Post by tomjohnson1492 » Wed Nov 19, 2014 8:53 am

When I generate a new webhelp with feedback version, the output includes the install directory with a new copy of config.php. When I upload it to my web server, I have to re-enter the configuration and then remove the install file. This is very cumbersome to do on a regular basis (e.g., 5 updates a week).

Ideally, the webhelp with feedback should have an parameter that allows me to forego the creation of the install directory with each output.

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Republishing webhelp with feedback

Post by sorin_ristache » Wed Nov 19, 2014 11:43 am

Hi Tom,

I suppose you modify only the content of the DITA topics, not the files in the OXYGEN_DIR\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp directory. If this is true then I suggest a simple solution: please copy to the web server the output directory of the WebHelp-Feedback transformation excluding the oxygen-webhelp sub-directory. Both the initial config.php file and the install sub-directory come from this com.oxygenxml.webhelp\oxygen-webhelp directory, so if you skip the oxygen-webhelp sub-directory in the copy operation then you will not overwrite the config.php file which means you will not need to remove the install sub-directory or repeat the installation process in a web browser.
Regards,
Sorin

<oXygen/> XML Editor Support

tomjohnson1492
Posts: 132
Joined: Thu Apr 17, 2014 1:55 am

Re: Republishing webhelp with feedback

Post by tomjohnson1492 » Thu Nov 20, 2014 11:10 am

Thanks. I did try that, but I think I ran into issues with the TOC not updating. I will check again. Either way, having to manually exclude the install directory complicates any automated build processes.

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Republishing webhelp with feedback

Post by sorin_ristache » Thu Nov 20, 2014 2:03 pm

I think you can exclude only one directory from the copy operation that will copy the WebHelp files to the web server: WEBHELP_TRANSFORM_OUT_DIRECTORY/oxygen-webhelp. So the automated build operation is changed only by adding an exception for this oxygen-webhelp sub-directory.

You must include this WEBHELP_TRANSFORM_OUT_DIRECTORY/oxygen-webhelp directory and exclude only the WEBHELP_TRANSFORM_OUT_DIRECTORY/oxygen-webhelp/install sub-directory only in the case when you have some modifications in one of the WEBHELP_TRANSFORM_OUT_DIRECTORY/oxygen-webhelp/resources or WEBHELP_TRANSFORM_OUT_DIRECTORY/oxygen-webhelp/search sub-directories and you want to copy these modifications to the web server too, which is rare, I think.
Regards,
Sorin

<oXygen/> XML Editor Support

Post Reply