Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-19874

asdoc ant task does not process XSLT when fork=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Ant Tasks
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the following ant task:
      <?xml version="1.0" encoding="utf-8"?>
      <project name="ASDoc Builder" basedir=".">
      <taskdef resource="flexTasks.tasks" classpath="${basedir}/flexTasks/lib/flexTasks.jar" />
      <property name="FLEX_HOME" value="C:/p4/flex/flex/sdk"/>
      <property name="OUTPUT_DIR" value="C:/temp/ant/asdoc"/>
      <target name="doc">
      <asdoc output="${OUTPUT_DIR}" lenient="true" failonerror="true" fork="true">
      <!--
      <doc-sources path-element="${FLEX_HOME}/frameworks/projects/flex4/src/spark/components/Button.as"/>
      <doc-sources path-element="${FLEX_HOME}/frameworks/projects/framework/src/mx/controls/Button.as"/>

      -->
      <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/framework/src"/>
      <doc-classes class="mx.controls.Button"/>
      </asdoc>
      </target>
      <target name="clean">
      <delete includeEmptyDirs="true">
      <fileset dir="${OUTPUT_DIR}" includes="*/"/>
      </delete>
      </target>
      </project>

      Actual Results:
      Does not generate HTML output.

      Returns error:

      doc:
      [asdoc] Loading configuration file C:\p4\flex\flex\sdk\frameworks\flex-confi
      g.xml
      [asdoc] java.lang.NoClassDefFoundError: net/sf/saxon/Transform
      [asdoc] at flex2.compiler.asdoc.AsDocAPI.createHTML(AsDocAPI.java:415)
      [asdoc] at flex2.tools.ASDoc.asdoc(ASDoc.java:99)
      [asdoc] at flex2.tools.ASDoc.main(ASDoc.java:35)

      Expected Results:
      Should generate HTML output.

      Workaround (if any):
      Remove fork=true.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: