AsDoc with Flex Library Project
Wednesday, March 12th, 2008- AsDoc with Flex Library Project
This is question, not solution. But I hope that at the end, there will be solution posted here. I’m playing with AsDoc tool for my project and I’m stuck this thing.
I have project which uses Flex library project. It uses custom MXML component, let’s say
Here is AsDoc call
"c:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\bin\asdoc.exe" -source-path=. -doc-sources com -main-title "My API Documentation" -window-title "MyAPI Documentation"
There can be 2 options I think:
- Add Flex Library Project to Asdoc call
- Exclude Flex Library Project to Asdoc call
I have try few options, but I have to confess, I can’t make it work. Does anyone had similar problem, and got solution?
Please post it in comment, and I will add it here for other people, which have similar problem with generating AsDoc help.
Thank you





1 Comments
Stephen Gilson
• Visit Site
March 28th, 2008
Hi,
I’m not sure if this is what you are asking, but assuming that my source code for a package is in C:\a\flex\flex\sdk\frameworks\projects\framework\src\mx\controls, I can compile it by using th ecommand:
asdoc -doc-sources C:\a\flex\flex\sdk\frameworks\projects\framework\src\mx\controls -main-title “Flex Apollo API Documentation” -window-title “Flex Apollo API Documentation” -output framework-asdoc
However, if your compilation requires SWC files other than the ones inthe Flex SDK, use the library-path+= option to add them, as in:
Hi,
I’m not sure if this is what you are asking, but assuming that my source code for a package is in C:\a\flex\flex\sdk\frameworks\projects\framework\src\mx\controls, I can compile it by using th ecommand:
asdoc -doc-sources C:\a\flex\flex\sdk\frameworks\projects\framework\src\mx\controls -library-path+= c:\a\mySWCS -main-title “Flex Apollo API Documentation” -window-title “Flex Apollo API Documentation” -output framework-asdoc
Hope that helps,
Stephen
Live Preview
Leave a comment