in
Innovasys Logo

Strange compile errors after moving additional files

Last post 01-15-2008 4:29 AM by Richard Sloggett (Innovasys). 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-15-2008 4:20 AM

    • JohnB
    • Top 50 Contributor
    • Joined on 11-27-2007
    • Posts 6

    Strange compile errors after moving additional files

    Hi Support Team,

     Unfortunately, I have another problem when compiling my help file. I had several additional files in my project, such as png and html files. I created a folder \DocumentX\additionalfiles in which I want to store all these files. As they were in the project before, I changed their paths under "Additional Files" in the project settings. I also checked their correct paths in the corresponding help sections, I mean where I use them.

     So, when I'm compiling the .chm file, everything is fine, all files are correctly included. The only problem is, that I get following compile errors:

     HHC5003: Error: Compilation failed while compiling ***\DocumentX\dotnet1.htm.
    HHC5003: Error: Compilation failed while compiling ***\DocumentX\dotnet2.htm.
    HHC5003: Error: Compilation failed while compiling ***\DocumentX\dotnet3.htm.
    HHC5003: Error: Compilation failed while compiling ***\DocumentX\toolbox.PNG.

     

    However, the files where I now store them are compiled.

    ***\DocumentX\additionalfiles\dotnet1.htm
    ***\DocumentX\additionalfiles\dotnet2.htm
    ***\DocumentX\additionalfiles\dotnet3.htm
    ***\DocumentX\additionalfiles\toolbox.PNG

     

    Is there any other location where the "old" locations are still stored and where DocumentX is taking this information from? Like said before, the chm file is complete, but the compile errors are still there. Hope you can help me in this matter.

     Thanks in advance. :)

     

  • 01-15-2008 4:29 AM In reply to

    Re: Strange compile errors after moving additional files

    Document! X always copies additional files to the root of the output directory during the build process - so your references in content should reference them directly without an additional path - e.g. "myfile.chm" rather than "additionalfiles/myfile.chm" or "mypath/myfile.chm".

    It may be that your additional files couldn't be located during the build process, but you would normally see a separate warning about that in the build results window. Could you send over a copy of your project and files to support@innovasys.com so that we can assist further?

    Richard Sloggett
    Innovasys
    http://www.innovasys.com
Page 1 of 1 (2 items)