wenchun / jsdoc-toolkit

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

README-instructed command line "java -jar jsrun.jar app\main.js -a -t=templates\jsdoc my\path\to\jsfiles" does nothing #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Unzip the distribution
2. run the command line 
3. check the "out" directory

What is the expected output? What do you see instead?
expected: A load of .html files
instead: nothing

What version of the product are you using? On what operating system?
jsdoc_toolkit-2.0.preview_1 on linux

Please provide any additional information below.
Of course, I converted the '\' to '/' for the UNIX-style filesystem path

Original issue reported on code.google.com by aun...@gmail.com on 10 Mar 2008 at 1:50

GoogleCodeExporter commented 8 years ago
That should be app/run.js -- the README is wrong. This will be fixed in the next
release. Doew it work with app/run.js?

Original comment by micmath on 10 Mar 2008 at 2:07

GoogleCodeExporter commented 8 years ago
It works, but it looks like it does not care for a '-d' parameter, and outputs 
the
HTML in the 'out' directory

Original comment by aun...@gmail.com on 10 Mar 2008 at 3:39

GoogleCodeExporter commented 8 years ago
I tried this and it worked fine on Mac OS X:

$ java -jar jsrun.jar app/run.js app/test/addon.js -t=templates/jsdoc/ 
-d=lala/frufru

and it worked as expected: html appeared in a new folder called "lala/frufru" 
and
there was no "out" folder. Can you run the exact same command on your OS? Does 
it work?

Original comment by micmath on 10 Mar 2008 at 9:32

GoogleCodeExporter commented 8 years ago

Just tried the command you suggested and it works. 

I must have done something wrong the previous time. Mea culpa.

       A.

Original comment by aun...@gmail.com on 11 Mar 2008 at 8:45

GoogleCodeExporter commented 8 years ago
Must have been the frufru :)

The README has been corrected in the latest revision.

Original comment by micmath on 11 Mar 2008 at 10:19