If you can download SDK source, have a look at asdoc/build.xml asdoc statement
(line 93)
(see below).
Basically, you need to indicate the source paths for the classes to document
using <compiler.source-path path-element..."/>,
Set exclude-dependencies="false" or "true", if you want referenced classes to
be included or not.
you can force additional classes in the doc using either <doc-classes> and/or
<doc-namespaces>
<asdoc output="${doc_output}" lenient="true" failonerror="true"
warnings="false" strict="false" locale="en_US" fork="true"
window-title="ApacheFlex API Reference"
main-title="${release} API Reference "
footer="${manifest.Implementation-Vendor}"
examples-path="${include_examples}"
>
<!-- top level class to include in asdoc -->
<doc-classes class="AIRFrameworkClasses"/>
<doc-classes class="AIRSparkClasses"/>
<doc-classes class="CoreClasses"/>
<doc-classes class="SparkClasses"/>
<doc-classes class="FrameworkClasses"/>
<doc-classes class="MxClasses"/>
<doc-classes class="SparkSkinsClasses"/>
<doc-classes class="RPCClasses"/>
<doc-classes class="MobileComponentsClasses"/>
<doc-classes class="MobileThemeClasses"/>
<doc-classes class="SparkDmvClasses"/>
<doc-classes class="ExperimentalClasses"/>
<doc-classes class="ExperimentalMobileClasses"/>
<doc-classes class="flashx.textLayout.CoreClasses"/>
<doc-classes class="flashx.textLayout.EditClasses"/>
<doc-classes
class="flashx.textLayout.ConversionClasses"/>
<!-- source path for asdoc -->
<compiler.source-path
path-element="${flexlib}/projects/airframework/src"/>
<compiler.source-path
path-element="${flexlib}/projects/airspark/src"/>
<compiler.source-path
path-element="${flexlib}/projects/core/src"/>
<compiler.source-path
path-element="${flexlib}/projects/spark/src"/>
<compiler.source-path
path-element="${flexlib}/projects/framework/src"/>
<compiler.source-path
path-element="${flexlib}/projects/mx/src"/>
<compiler.source-path
path-element="${flexlib}/projects/sparkskins/src"/>
<compiler.source-path
path-element="${flexlib}/projects/rpc/src"/>
<compiler.source-path
path-element="${TLF_HOME}/textLayout/src"/>
<!--compiler.source-path
path-element="${flexlib}/projects/osmf/src"/-->
<compiler.source-path
path-element="${flexlib}/projects/advancedgrids/src"/>
<compiler.source-path
path-element="${flexlib}/projects/charts/src"/>
<compiler.source-path
path-element="${flexlib}/projects/mobilecomponents/src"/>
<compiler.source-path
path-element="${flexlib}/projects/mobiletheme/src"/>
<compiler.source-path
path-element="${flexlib}/projects/spark_dmv/src"/>
<!-- added for Apache -->
<compiler.source-path
path-element="${flexlib}/projects/apache/src"/>
<compiler.source-path
path-element="${flexlib}/projects/experimental/src"/>
<compiler.source-path
path-element="${flexlib}/projects/experimental_mobile/src"/>
<!-- namespaces to include in asdoc -->
<doc-namespaces uri="http://www.adobe.com/2006/airmxml"/>
<doc-namespaces uri="http://www.adobe.com/2006/airspark"/>
<doc-namespaces uri="library://ns.adobe.com/flex/spark"/>
<doc-namespaces uri="http://www.adobe.com/2006/mxml"/>
<doc-namespaces uri="http://www.adobe.com/2006/rpcmxml"/>
<doc-namespaces
uri="library://ns.adobe.com/flashx/textLayout"/>
<doc-namespaces uri="http://ns.adobe.com/2009/mx-mxml"/>
<doc-namespaces
uri="http://www.adobe.com/2006/advancedgridsmxml"/>
<doc-namespaces uri="http://www.adobe.com/2006/charts"/>
<doc-namespaces
uri="library://ns.adobe.com/flex/spark-dmv"/>
<!-- added for Apache -->
<doc-namespaces uri="http://flex.apache.org/ns"/>
<doc-namespaces
uri="http://flex.apache.org/experimental/ns"/>
<namespace uri="library://ns.adobe.com/flashx/textLayout"
manifest="${TLF_HOME}/textLayout/manifest.xml"/>
<!-- namespace declaration for asdoc -->
<namespace uri="http://www.adobe.com/2006/airmxml"
manifest="${flexlib}/projects/airframework/manifest.xml"/>
<namespace uri="http://www.adobe.com/2006/airspark"
manifest="${flexlib}/projects/airspark/manifest.xml"/>
<namespace uri="http://www.adobe.com/2006/rpcmxml"
manifest="${flexlib}/projects/rpc/manifest.xml"/>
<namespace uri="http://ns.adobe.com/2009/mx-mxml"
manifest="${flexlib}/projects/mx/manifest.xml"/>
<namespace
uri="http://www.adobe.com/2006/advancedgridsmxml"
manifest="${flexlib}/projects/advancedgrids/manifest_advancedgrids.xml"/>
<namespace uri="http://www.adobe.com/2006/charts"
manifest="${flexlib}/projects/charts/manifest_charts.xml"/>
<namespace uri="http://www.adobe.com/2006/mxml"
manifest="${flexlib}/mxml-manifest.xml"/>
<namespace uri="library://ns.adobe.com/flex/spark"
manifest="${flexlib}/projects/spark/manifest.xml"/>
<namespace uri="library://ns.adobe.com/flex/mx"
manifest="${flexlib}/mxml-manifest.xml"/>
<namespace uri="library://ns.adobe.com/flex/spark"
manifest="${flexlib}/projects/mobilecomponents/manifest.xml"/>
<namespace uri="library://ns.adobe.com/flex/spark-dmv"
manifest="${flexlib}/projects/spark_dmv/manifest_spark_dmv.xml"/>
<!-- added for Apache -->
<namespace uri="http://flex.apache.org/ns"
manifest="${flexlib}/projects/apache/manifest.xml"/>
<namespace uri="http://flex.apache.org/experimental/ns"
manifest="${flexlib}/projects/experimental/manifest.xml"/>
<namespace uri="http://flex.apache.org/experimental/ns"
manifest="${flexlib}/projects/experimental_mobile/manifest.xml"/>
-----Message d'origine-----
De : Daniel Tiefenauer [mailto:[email protected]]
Envoyé : mercredi 29 janvier 2014 14:38
À : [email protected]
Objet : AW: Flex CI integration
Hi Maurice
Help on the ASDOC part would be a good start. As soon as I got this working I
can continue with the FlexUnit task and CI generally.
Many thanks in advance
Daniel
-----Ursprüngliche Nachricht-----
Von: Maurice Amsellem [mailto:[email protected]]
Gesendet: Mittwoch, 29. Januar 2014 12:20
An: [email protected]
Betreff: RE: Flex CI integration
I have used asdoc ant task to generate asdocs for my project.
Would you like help on that, or only on the CI part ?
Maurice
-----Message d'origine-----
De : Daniel Tiefenauer [mailto:[email protected]]
Envoyé : mercredi 29 janvier 2014 11:54
À : [email protected]
Objet : Flex CI integration
Hello there
I'm desperately trying to build a Flex mobile project in Jenkins. I managed to
write ANT-Tasks to compile and package the Code.
What I have been trying to do during the past days is :
- Execute my FlexUnit4 Tests and write the results in a log
- Generate ASDOC for my sources
But this seems to be insanely difficult. I have studied all the information I
could find on the ASDOC tool and also stumbled upon the Wiki at
https://cwiki.apache.org/confluence/display/FLEX/FlexUnit+Digging+Deeper .
However, I can't clone the FlexUnitSample CI Project from the Repository
(https://git-wip-us.apache.org/repos/asf?p=flex-flexunit.git).
My goal is something like the job found on
https://builds.apache.org/job/flex-sdk_release/. Does ANYBODY have a guide or
documentation about the steps needed to achieve this??
Any help would be greatly appreciated
Daniel