I've been trying for hours to find a solution this problem but have not been able to.
I'm trying to run ASDoc with the following command:
asdoc -doc-sources
"C:\My Projects\TheProject\Flex\TheProject\src" -main-title TheProject
-output "c:\My Projects\TheProject\Flex\TheProject"\asdoc -warnings=false
I get the following errors:
Loading configuration file C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4
.5.1\frameworks\flex-config.xml
C:\My Projects\TheProject\Flex\TheProject\src\com\company\common\comp
onents\Header.mxml: Error: unable to resolve '/com/company/common/co
mponents/images/logo.gif' for transcoding
C:\My Projects\TheProject\Flex\TheProject\src\com\company\common\comp
onents\Header.mxml: Error: Unable to transcode /com/company/common/c
omponents/images/logo.gif.
I've tried adding an extra slash as recommended here but that didn't fix it.
Does anybody know a way around this? Removing the offending piece of code (an embed) fixes the problem... but obviously I don't want to remove it.
Thanks in advance.
Not sure if it will help. But possibly try adding the -source-path argument. Since the embed's are relative url's it may be trying to find the assets from the directory the command is running in rather than the source path.
asdoc -source-path "C:\My Projects\TheProject\Flex\TheProject\src"
-doc-sources "C:\My Projects\TheProject\Flex\TheProject\src"
-main-title TheProject
-output "c:\My Projects\TheProject\Flex\TheProject\asdoc"
-warnings=false