Have to admit that I don’t even really know DITA ... as far as I know it’s just an XML format to describe an API.
The maven plugin seems to be lost and I couldn’t even find what it should be doing. Don’t know if it generates HTML from DITA, DITA from Java or whatever. But I read it’s a thin wrapper over Ant and that would be a problem, because Ant support was removed recently from Maven. And I guess it would be problematic to have the thing generate our stuff ... after all we need to distinguish between elements that are available in both, just swf and just JS ... I doubt any existing tool will be able to do that. Regarding IntelliJ ... I know that in the Maven world IntelliJ provides the content assist by automatically downloading the „sources“ and the „javadoc“ artifacts for an artifact it is using. I know that „javadoc“ is a silly name for something containing ASdoc stuff, but it’s just the way IntelliJ and I think Netbeans used to work (It being a standard in the Maven world, I would expect all IDEs supporting Maven to support this). The javadoc jars simply contain the well-known HTML files. Chris Am 21.12.16, 18:33 schrieb "Alex Harui" <[email protected]>: The playerglobal.swc and spark.swc I just looked at doesn't have DITA files in it. IIRC, code-assist for playerglobal and MX and Spark swcs are special-cased in Flash Builder, so I'm not surprised you have to do something to make it work in IntelliJ. I've seen indications that FDT and FB can handle DITA. Don't know about any other IDEs. But AFAICT, DITA in SWC was only leveraged by third-party SWCs. Interestingly, on my way to trying to find out if IntelliJ handles DITA, I found that DITA is a sort of standard [1]. And there is a maven plugin as well [2]. Chris are you leveraging the plugin? Of course, there is no guarantee that Adobe was using correct DITA format from MXMLC. -Alex [1] https://www.ibm.com/developerworks/library/x-dita1/ [2] https://mvnrepository.com/artifact/org.codehaus.mojo/dita-maven-plugin On 12/21/16, 7:41 AM, "piotrz" <[email protected]> wrote: >Alex, > >If I correct understand DITA is the format which is understandable by >Flash >Builder ? > >I think in Intellij IDEA it is working differently. Every time when I >wanted >to see comments for native Flash player methods - I have to add to >Intellij >this link [1] - It's HTML, so in theory if Chris produce HTML by maven I >will probably able to see all tips for the methods. > > >[1] http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/ > >Piotr > > > >----- >Apache Flex PMC >[email protected] >-- >View this message in context: >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-ASDoc-Any-reas >on-for-additional-config-options-tp57486p57504.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.
