Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 1.0/2.0 (http://www.flasher.ru/forum/forumdisplay.php?f=93)
-   -   ActionScript Documentation Generator - не получается создать справку (http://www.flasher.ru/forum/showthread.php?t=179300)

AzagThoth 11.05.2012 21:07

ActionScript Documentation Generator - не получается создать справку
 
Здравствуйте.
Читаю книжку "ActionScript 2.0 Основы" и столкнулся с проблемой в конце пятой главы, при попытке создать документацию.
Делаю проект во FlashDevelop 4.0.1 RTM (R2198)
Там есть такая утилита, для создания документации - Tools -> Flash Tools -> Documentation Generator...
После запуска появляется окошко "ActionScript Documentation Generator" с пустыми полями.
Заполняю поля.
Скрин - http://savepic.su/1948832m.png
После жму кнопку - "Generate!"

В итоге в Output мне пишет следующее:
Код:

C:\Freelancer\Flash\Learn\AS2\mook basic\5\1>"C:\Portable\FlashDevelop\Tools\asdocgen\Tools\as2api.exe" --title "ImageViewer Reference" --output-dir "C:\Freelancer\Flash\Learn\AS2\mook basic\5\1" --classpath "C:\Freelancer\Flash\Learn\AS2\mook basic\5\1\src;C:\Portable\FlashDevelop\Tools\mtasc\std;C:\Portable\FlashDevelop\Tools\mtasc\std8"
error: No packages specified
Usage:
  C:\Users\AZAG-T~1\eee\eee.as2api.exe.6\app\as2api.rb [options] <package spec> ...
Each package spec can be given as:
  com.example.pkg
        Document types in the package 'com.example.pkg'.
  com.example.pkg.*
        Document types in the package 'com.example.pkg', and any other packages
        with the same prefix (e.g. 'com.example.pkg.utils.extra' types too).
Where options include:
  --classpath <path>
        A list of paths, delimited by ';'.  Each path will
        be searched for packages matching the given <package spec> list.  If
        no classpath is specified, only the current directory is searched.
  --output-dir <path>
        The directory into which generated HTML files will be placed (the
        directory will be created, if required.  If no output directory is
        specified the default 'apidocs' is used.
  --progress
        Print feedback showing how far tasks have progressed
  --title <text>
        Put the given text into the titles of generated HTML pages
  --encoding <name>
        The encoding of the source files to be parsed.
  --draw-diagrams
        Causes class/interface inheritance diagrams to be generated for each
        package (requires that you have http://www.graphviz.org/).
  --dot-exe <filename>
        Specify the location of the 'dot' tool from Graphviz, if it is not
        available via the standard PATH.
  --sources
        Generate an HTML page for the source code of each input file

На сколько я понимаю, ошибка - error: No packages specified
Не можете подсказать, что нужно сделать чтобы её побороть?

Добавлено через 3 часа 52 минуты
Видимо надо сделать пакет и засунуть в него классы. Как это сделать пока не дочитал. Думаю разберусь. В книжке глава 9я такая. Пакеты....
Добавлено через 16 часов 14 минут
Прочитал 9ю главу, всё оказалось проще простого :) В общем получилось.


Часовой пояс GMT +4, время: 23:33.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.