Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Build Script to preserve docs in generated SWC #8

Open
BigPhilCombo opened this issue Jul 10, 2014 · 0 comments
Open

Update Build Script to preserve docs in generated SWC #8

BigPhilCombo opened this issue Jul 10, 2014 · 0 comments

Comments

@BigPhilCombo
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant