Ok ... replying to my self ... it turns out there are different implementations 
of the IASDocDelegate interface:

- NilASDocDelegate

- SimpleASDocDelegate

- FlexJSASDocDelegate


Unfortunately SimpleASDocDelegate seems to create instances of comments ... so 
it's a little more than Nil ... but hey ... it's called simple ... so having a 
look at the FlexJSASDocDelegate, this seems to be a clone of 
SimpleASDocDelegate.


So I guess currently I see no way in me getting this to work soon. I'll 
probably have to start implementing this from scratch.


Chris

________________________________
Von: Christofer Dutz <christofer.d...@c-ware.de>
Gesendet: Montag, 1. August 2016 16:42:47
An: dev@flex.apache.org
Betreff: AW: [FlexJS] ASDoc?

Oh gee ... I can confirm it not no work ;-)


I had a look at ant and was surprised to see it using the antTasks from the 
normal FDK. I used the asdoc-template.xml form framework to create a new 
template and used that in a new ASDoc mojo. It turned out the compiler doesn't 
understand

doc-namespaces

or

doc-sources

So I tried feeding it the "compile-as-template.xml" content and it worked and 
it correctly created the: Core-0.7.0-SNAPSHOT-javadoc.jar file I was hoping to 
create.


Unfortunately I had a look at the file and it turned out to be somewhat 
identical to the compile-as version and it didn't contain a single line of 
ASDoc stuff.


So I compared ASDOC and COMPC and it turned out that semantically the only 
difference is that ASDOC has a constructor, in which an asdoc delecate is set 
on the workspace:

workspace.setASDocDelegate(new SimpleASDocDelegate());

Soooo ... any ideas/suggestions/whatever? Hope I didn't stumble over a "TODO: 
This feature has to be implemented" :-(

Chris






________________________________
Von: Alex Harui <aha...@adobe.com>
Gesendet: Montag, 1. August 2016 16:09:11
An: dev@flex.apache.org
Betreff: Re: [FlexJS] ASDoc?



On 8/1/16, 5:57 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Hi,
>
>
>as I have just added the JavaDoc generation to the Java side of the
>build, now I thought ... hey, how about adding ASDoc too. But
>unfortunately I don't recall the latest state of that. Does ASDoc in
>Falcon work?

ASDoc from Falcon has never been proven to work.  FlexJS produces ASDoc by
using the mxmlc compiler from flex-sdk.

-Alex

Reply via email to