Показать сообщение отдельно
Старый 11.05.2012, 21:07
AzagThoth вне форума Посмотреть профиль Отправить личное сообщение для AzagThoth Найти все сообщения от AzagThoth
  № 1  
Ответить с цитированием
AzagThoth
 
Аватар для AzagThoth

блогер
Регистрация: Sep 2009
Сообщений: 309
Записей в блоге: 4
Отправить сообщение для AzagThoth с помощью ICQ
По умолчанию ActionScript Documentation Generator - не получается создать справку

Здравствуйте.
Читаю книжку "ActionScript 2.0 Основы" и столкнулся с проблемой в конце пятой главы, при попытке создать документацию.
Делаю проект во FlashDevelop 4.0.1 RTM (R2198)
Там есть такая утилита, для создания документации - Tools -> Flash Tools -> Documentation Generator...
После запуска появляется окошко "ActionScript Documentation Generator" с пустыми полями.
Заполняю поля.
Скрин -
После жму кнопку - "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ю главу, всё оказалось проще простого В общем получилось.
__________________
Играй. Это жизнь.
Всё повторяется. Играй.


Последний раз редактировалось AzagThoth; 12.05.2012 в 14:05.