JsDoc3 command line usage...

422 views
Skip to first unread message

claudiobosticco

unread,
Feb 22, 2012, 11:23:57 AM2/22/12
to JSDoc Users
as posted here:
http://leahayes.wordpress.com/2011/08/28/documenting-javascript-with-jsdoc3/#comment-65

I’m trying JsDoc3, but I’m stuck at the command line usage under
windows:
C:\workspace\jsdoc>java -jar lib/js.jar test\cases\alias.js
doesn’t produce any output and the only command line usage note says:
‘Generated documentation will appear in the folder specified by the –
destination option, or in a folder named “out” by default.’
but –destination option doesn’t work, and no ‘out’ folder is created…

any hints?

claudiobosticco

unread,
Feb 26, 2012, 5:29:47 PM2/26/12
to JSDoc Users
as you can read in the linked post, I succedeed:
<
Here are the details if someone else need them

this command line:
F:\JsDoc3>java -classpath lib/js.jar
org.mozilla.javascript.tools.shell.Main -modules node_modules -modules
rhino_modules jsdoc.js -c conf.json -h
printed out the Options

and this:
F:\JsDoc3>java -classpath lib/js.jar
org.mozilla.javascript.tools.shell.Main -modules node_modules -modules
rhino_modules jsdoc.js -c conf.json -r -d out test/cases/alias.js
parsed F:\JsDoc3\test\cases\alias.js file and produced documentation
in F:\JsDoc3\out folder
>

On Feb 22, 5:23 pm, claudiobosticco <claudio.bosti...@gmail.com>
wrote:
> as posted here:http://leahayes.wordpress.com/2011/08/28/documenting-javascript-with-...
Reply all
Reply to author
Forward
0 new messages