Error compiling ASDoc in Flash Builder 4

I cannot understand why I keep getting this error every time. I am trying to compile ASDoc in Flash Builder 4.

I managed to create ASDoc by creating the asdoc-output folder, but it is incomplete. Only the toplevel.xml and tempdita file will appear.

This is an error that appears on my console

Error at xsl: choose on line 46 of processHTML.xslt:
  java.io.FileNotFoundException:
  /Users/NEWYORK/abritez/Documents/workspaces/ate/ATE_Shell/asdoc-output/index.tmp (No such
  file or directory)
  at xsl: apply-templates (file: /Users/NEWYORK%5Cabritez/Documents/workspaces/ate/ATE_Shell/asdoc-output/tempdita/processHTML.xslt#25)
     processing / html
Transformation failed: Run-time errors were reported

Line 46 is in ProcessHTML.xslt is the start <xsl:choose>in the element below.

<xsl:template match="html">
<xsl:copy-of select="$noLiveDocs"/>
<xsl:choose>
  <xsl:when test=".//frameset">
    <xsl:copy-of select="$frameDocType"/>
  </xsl:when>
  <xsl:otherwise>
    <xsl:copy-of select="$docType"/>
  </xsl:otherwise>
</xsl:choose>
<xsl:choose>
  <xsl:when test="$isLiveDocs"/>
  <xsl:otherwise>
    <xsl:value-of select="$markOfTheWeb"/>
  </xsl:otherwise>
</xsl:choose>
<xsl:element name="html">
  <xsl:apply-templates/>
  <xsl:copy-of select="$copyrightComment"/>
  <xsl:value-of select="$newline"/>
</xsl:element>
</xsl:template>

I went to External Tool Configuration and added the asdoc location

/ Applications / Adobe Flash Builder 4 / sdks / flex_sdk_4.1 / bin / asdoc

then i added my working directory

$ {workspace_loc: / ATE_Shell}

And finally, I inserted all my arguments

-lenient
-source-path src -doc-sources src
-external-library-path = / Users / NEWYORK \ abritez / Documents / workspaces / ate / ActivityToolkitLib / bin / ActivityToolkitLib.swc
-external-library-path = / Users / NEWYORK \ abritez / Documents / workspaces / ate / ATE_Template / bin / ATE_Template.swc
-external-library-path = / Users / NEWYORK \ abritez / Documents / workspaces / ate / AssesmentCommunicationLib / bin / AssesmentCommunicationLib.swc
-external-library-path = / Users / NEWYORK \ abritez / Documents / workspaces / ate / BFW_UI / bin / BFW_UI.swc
-external-library-path=/Users/NEWYORK\abritez/Documents/workspaces/ate/DiagnosticReporter/bin/DiagnosticReporter.swc

UPDATE: 3.5 .

package com.test
{
import mx.containers.Canvas;


public class Grouptest extends Canvas
{
    public function Grouptest()
    {
        super();
    }

    /**
     *  Hello
     * 
     * @param   value   Some string
     * */

    public function set testMe(value:String):void
    {
        trace("value " + value)
    }
}
} 

Loading configuration file /Applications/Adobe Flash Builder 4/sdks/3.5.0/frameworks/flex-config.xml Adobe ASDoc 
Version 3.5.0 build 12683 
Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved. 

Error: '' is not a directory 
Use 'asdoc -help' for information about using the command line

. ASDoc , , - .

+3
3

ASDoc, , .

Flex 3. , - Flex 4.

, ASDoc , , ( ) . , , , - , IEventDispatcher, , ASDoc .

- @see. , ASDoc , .

html.

HTML ASDoc, .

, ASDoc , , , , ...

+2

, 4, 3.5, :

, asdocs , , asdocs/templates Flex SDK 3.5. asdocs 3.4 3.x sdk, .

http://michael.omnicypher.com/2011/05/flex-35-and-using-asdocs.html

+1

. , , .

asdoc

[asdoc] [ ] toplevel.xml: 90: 2: .

[asdoc] Error: could not create toplevel.xml: the content of the elements should consist of a well-formed data or markup character.

This is caused by a random character in your asdoc comments that the parser does not like. In my case, a pair of <or> along with @.

+1
source

Source: https://habr.com/ru/post/1766270/


All Articles