Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Generating doc for flash as3 project using asdoc

New Here ,
Jan 22, 2009 Jan 22, 2009
I wrote one simple component using as3 in flash (not in Flex). I would like to generate documentation for this component using asdoc tool from flex3 SDK. In this project is not used any flash or flex components, just standard flash classes like DisplayObject, Sprite, TextField, MouseEvent etc.
When I start asdoc tool with needed parameters, it seems that flex compiler make everything ok, but at the end show this FATAL ERROR:

ERROR: 'file:///X:/!!!_work/_install/flex/flex_sdk_3.2.0.3794/frameworks/../asdoc/templates/class-files.xsl: line 75: Required attribute 'file' is missing.'
FATAL ERROR: 'Could not compile stylesheet'
(Location of error unknown)XSLT Error (javax.xml.transform.TransformerConfigurationException): Could not compile stylesheet

i have no idea where can be the problem. I don't know which file is missing for asdoc :-(
please help
thankx
TOPICS
ActionScript
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 22, 2009 Jan 22, 2009
Can you write the full command?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 22, 2009 Jan 22, 2009
asdoc.exe -doc-sources "X:\!!!_work\_ONLINE\mi4k_components\src" -main-title "dateChooser" -output "X:\!!!_work\_ONLINE\mi4k_components\docs\dateChooser" -keep-xml
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 22, 2009 Jan 22, 2009
: / i have no idea
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 26, 2009 Feb 26, 2009
LATEST
Having same issue on one of our systems, running ant task for asdoc (and off command line)
Other system is not affected by the issue.

Offending line in class-files.xsl has redirect:write element with select attribute - Xalan docs say that ‘file’ OR ‘select’ attributes are OK (ASDoc XSL has a select but no file attribute)

http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html

Tried with several JDKs (1.6.0_12, 1.5.0_6), still investigating ...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines