PageRenderTime 59ms CodeModel.GetById 51ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/branches/jsdoc_tk_gui/setup/README.txt

http://jsdoc-toolkit.googlecode.com/
Plain Text | 131 lines | 90 code | 41 blank | 0 comment | 0 complexity | e15d8ba2f60a9275be15946a7d4c3715 MD5 | raw file
  1=====================================================================
  2
  3DESCRIPTION:
  4
  5JsDoc Toolkit is an automatic documentation generation tool for
  6JavaScript. It is written in JavaScript and is run from a command line
  7(or terminal) using Mozilla Rhino JavaScript engine. Using this tool
  8you can automatically turn JavaDoc-like comments in your JavaScript
  9source code into published output, such as HTML or XML.
 10
 11For more information, to report a bug or to browse the technical
 12documentation for this tool please visit the official JsDoc Toolkit
 13project homepage: http://code.google.com/p/jsdoc-toolkit/
 14
 15This project is based on the JSDoc.pm tool, created by Michael 
 16Mathews, maintained by Gabriel Reid. More information on JsDoc can
 17be found on the JSDoc.pm homepage: http://jsdoc.sourceforge.net/
 18
 19Complete documentation on JsDoc Toolkit can be found on the project
 20wiki at http://code.google.com/p/jsdoc-toolkit/w/list
 21
 22
 23=====================================================================
 24
 25USAGE:
 26
 27Running JsDoc Toolkit on your desktop requires you to have Java
 28installed and the Mozilla Rhino JavaScript jar file (named "js.jar")
 29available. A copy of this jar file is included with the JsDoc Toolkit
 30distribution. To download Rhino yourself or to find out more go to 
 31the official Rhino web page: http://www.mozilla.org/rhino/
 32
 33Before running the JsDoc Toolkit app you must change your current
 34working directory to the jsdoc-toolkit folder. Then follow the
 35examples below, or as shown on the project wiki.
 36
 37On a computer running Windows a valid command line to run JsDoc
 38Toolkit might look like this:
 39
 40 > java -jar app\js.jar app\run.js -a -t=templates\htm test\data\test.js
 41
 42On Mac OS X or Linux the same command would look like this:
 43
 44 $ java -jar app/js.jar app/run.js -a -t=templates/htm test/data/test.js
 45
 46The above assumes your current working directory contains the app, test
 47and templates subdirectories from the standard JsDoc Toolkit 
 48distribution. If you have the js.jar file saved to a place in your
 49system's Java CLASSPATH, it can safely be omitted from the command.
 50
 51To run JsDoc Toolkit from any directory, specify the path to the app
 52folder like so:
 53
 54 > java -Djsdoc.dir=%BASE_DIR% -jar %RHINO% %RUN% %OPTS% %SRC_FILES%
 55
 56So assuming the JsDoc Toolkit "app" directory is in "lib\jsdoc-toolkit"
 57you would specify that like so:
 58
 59 > java -Djsdoc.dir=lib\jsdoc-toolkit <etc>
 60
 61The output documentation files will be saved to a new directory named
 62"js_docs_out" (by default) in the current directory, or if you specify
 63a -d=somewhere_else option, to the somewhere_else directory.
 64
 65For help (usage notes) enter this on the command line:
 66
 67 > java -jar lib\js.jar app\run.js -h
 68
 69To run the unit tests included with JsDoc Toolkit enter this on the
 70command line:
 71
 72 > java -jar lib\js.jar test\run.js
 73
 74To run any example in the included examples enter this on the
 75command line:
 76
 77 $ java -jar lib/js.jar examples/run.js -a  examples/data/whatever.js
 78
 79=====================================================================
 80	 JsDox Toolkit GUI
 81   _____________________
 82   
 83
 84An experimental gui exist
 85
 86Double click on jsdoctk.jar
 87
 88Or run this command java -jar jsdoctk.jar
 89
 90Work Is Still In Progress
 91
 92=====================================================================
 93
 94LICENSE:
 95
 96Rhino (JavaScript in Java) is open source and licensed by Mozilla
 97under the MPL 1.1 or later/GPL 2.0 or later licenses, the text of which
 98is available at http://www.mozilla.org/MPL/
 99
100You can obtain the source code for Rhino via the Mozilla web site at
101http://www.mozilla.org/rhino/download.html
102
103The Tango base icon theme is licensed under the Creative Commons 
104Attribution Share-Alike license. The palette is in the public domain.
105For more details visit the Tango! Desktop Project page at
106http://tango.freedesktop.org/Tango_Desktop_Project
107
108JsDoc Toolkit is a larger work that uses the Rhino JavaScript engine
109without modification and without any claims whatsoever. The portions of
110code specific to JsDoc Toolkit are open source and licensed under the
111X11/MIT License.
112
113Copyright (c) 2007 Michael Mathews <micmath@gmail.com>
114
115Permission is hereby granted, free of charge, to any person obtaining
116a copy of this software and associated documentation files (the
117"Software"), to deal in the Software without restriction, including
118without limitation the rights to use, copy, modify, merge, publish,
119distribute, sublicense, and/or sell copies of the Software, and to
120permit persons to whom the Software is furnished to do so, subject to
121the following conditions: The above copyright notice and this
122permission notice must be included in all copies or substantial
123portions of the Software.
124
125THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
126EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
127MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
128IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
129CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
130TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
131SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.