gozilla10 / jsdoc-toolkit

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

Documenting single file and recursive give different results - getting error in recursive mode only #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a js file with the code attached.
2. Copy the js file into a sub folder and give it a name, in this case 
components/tabBar/js/component.tabBar.js 
3. Execute JSDoc Toolkit on single file directly, result is produced correctly 
as expected.
4. Execute JSDoc Toolkit, passing it a parent folder name and telling it to 
recursively scan for files 
using components/ -r 2

JSDocToolkit should process the tabBar.js file and produce the same output as 
when it is told to 
explicitly process the component.tabBar.js file alone

What actually happens is the tool reports an error 

>> WARNING: Trying to document TabBar as a member of undocumented symbol TabBar.
>> WARNING: Trying to document addItem as a member of undocumented symbol 
TabBar.

and does not produce documentation

Using JSDoc Toolkit 2.3.2

Attached is a copy of source code that produces this error. Some other js files 
in the same set of 
folders work but cannot determine why the other one works and this one doesn't.

Original issue reported on code.google.com by zac.tol...@gmail.com on 25 Sep 2009 at 12:59

Attachments:

GoogleCodeExporter commented 8 years ago
I can't reproduce this problem, it works fine for me either way. I suggest you 
zip up the entire problem directory 
and attach that, as it appears to be a problem that only appears when the 
entire directory of files is involved.

Original comment by micmath on 29 Oct 2009 at 3:15

GoogleCodeExporter commented 8 years ago
Using current build I also was unable to reproduce the issue. I would love to 
be able to help you troubleshoot your issue.

Original comment by abyss...@gmail.com on 3 Jul 2010 at 2:59

GoogleCodeExporter commented 8 years ago
Works for me and no response, so issue closed.

Original comment by micmath on 3 Jul 2010 at 7:29