BenjaminManning / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

Error if JsDoc Toolkit is run from any directory that's not its home #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Run the Tookit when not in its directory, e.g. java -jar path/to/
jsrun.jar path/to/app/run.js myscripts/ -t=path/to/templates/jsdoc/

What is the expected output? What do you see instead?

An error is produced:
js: Couldn't open file "app/lib/JSDOC/Walker.js".
js: Couldn't open file "app/lib/JSDOC/SymbolSet.js".

What version of the product are you using? On what operating system?

This error is produced on both Window and OS X, using beta 2.

Please provide any additional information below.

It looks like these are being loaded in the Parser.js file, but as all the 
files in the JSDOC directory are loaded in by the JSDOC.js file, this is 
unnecessary. Commenting out the two load functions in the Parser.js fixes 
the problem.

Original issue reported on code.google.com by ironside...@gmail.com on 7 Apr 2008 at 7:12

GoogleCodeExporter commented 8 years ago

Original comment by micmath on 7 Apr 2008 at 11:32

GoogleCodeExporter commented 8 years ago
Thanks for reporting this. Was an silly oversight on my part, and your fix was
implemented. I've made a quick bug release: Version 2.0.beta2.1.

Original comment by micmath on 7 Apr 2008 at 11:42