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

Can't add file to baggage files folder

Guest
Feb 20, 2008 Feb 20, 2008
Hi,
I have a javascript file I'm trying to add to the baggage files folder. However, for some reason, I can't add it. I'm using robohelp 6 and roboosource control 3.0. When I try to add the file, nothing is added to the folder. I was able to add the same JS file to another project that was created in X5. So I'm unsure what the prolem is.
I manually added the javascript file to the rhbag.apj file but it still doesn't seem to recognize that this file is added to the baggage files folder or project. I'm still getting a javascript error as if the file is not in the project.

Strangely enough, when I tried to add the javascript file from the other project's folder, it asked me if I wanted to overwrite the js file. But it still doesn't appear in the baggage files folder or in source control.

Any help is appreciated.
thanks
--Brad
988
Translate
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
Valorous Hero ,
Feb 20, 2008 Feb 20, 2008
Hi Brad

Check the link below. After you click, scroll near the bottom of the page and expand Snippet number 2.

Click here

Cheers... Rick
Translate
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
Guest
Feb 22, 2008 Feb 22, 2008
Hi Rick,
I did see this snippet as well and tried replacing the apj file. The js file is still not appearing in the folder and therefore not in the project.
I asked one of the other writers if they could do it. Maybe they can add it and that will resolve the problem.
Anyway, thanks.
Translate
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
LEGEND ,
Feb 22, 2008 Feb 22, 2008
Hi again bjman_001

Something about your reply sounds a bit “off”. You said: I did see this snippet as well and tried replacing the apj file.

Uhh, you don't replace the .APJ. Instead, you edit the existing .APJ.

You also said: The js file is still not appearing in the folder and therefore not in the project.

Simply adding the reference to the .APJ won't magickally copy the file to the folder. You would need to first ensure you physically copy the .JS file to the folder. The .APJ edit simply advises RoboHelp where to find it.

Cheers... Rick
Translate
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
Guest
Feb 27, 2008 Feb 27, 2008
LATEST
Hi Rick
Sorry--I guess my previous response wasn’t clear. I did physically copy the JS file to the local project folder first. I didn’t think it would magically appear. In terms of the .apj file, I edited it—adding the code for the script from another project’s apj where the same script is working—and saved it. But it’s still not adding the js file to the baggage files folder or to source control. When I view the apj file that’s in source control, it has the js code in there.

I then tried overwriting the apj with the apj from a project where the script is working (that’s what I meant by replacing), but that didn’t work either. To add another twist, the script runs without errors in preview mode, but not in the compiled html help.

I’m unsure what’s wrong with this project as this script is successfully working in other projects and visibly appears in the other projects’ baggage files folders. I hope this was a little clearer.

I’m open to any other suggestions.
Any questions, let me know.

Thanks
Brad

Translate
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