Skip to content

Update Build Script to preserve docs in generated SWC #8

Description

@BigPhilCombo

By modifying the following node the in the build.xml file - code comments are added back to the generated SWC

  <!-- Build Documentation -->
  <target name="asdoc" depends="compile">
    <echo>[create-docs] Generating ASDOC documentation</echo>
    <tstamp>
      <format property="docgen.time" pattern="MM/dd/yyyy hh:mm aa" unit="hour"/>
    </tstamp>
      <asdoc output="${doc.loc}" lenient="true" failonerror="true" keep-xml="true" skip-xsl="true" fork="true">
          <compiler.source-path path-element="${main.src.loc}" />
          <doc-sources path-element="${main.src.loc}"/>         
      </asdoc>
      <zip destfile="${bin.loc}/${project.name.versioned}.swc" update="true">
          <zipfileset dir="${doc.loc}/tempdita" prefix="docs">
            <include name="*.*"/>
            <exclude name="ASDoc_Config.xml" />
            <exclude name="overviews.xml" />
          </zipfileset>
        </zip>
    <echo>[create-docs] ASDOC documentation generated successfully</echo>
  </target>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions