I am not sure if this is a bug or a misconfiguration, so I'll try here first.
We are running a build script to batch publish our .fla files. For some reason the fonts are not found, but only when we run the script through TeamCity. If I trigger the script manually while logged into the build machine the fonts are found, and the files are published properly. I'm not sure if it has to do with a Windows user issue, or an error we get when running the TeamCity build.
- Windows 7
- TeamCity Enterprise 6.5.6 (build 18130)
- Flash CS6
When I log into the build machine it is a different user than the build agent uses... not sure if that could be part of the issue?
When I trigger the build manually (a .jsfl script) I get no errors and everything publishes as expected (all embedded fonts are found).
When the build script is triggered by TeamCity, it completes successfully, but we get errors like this (and none of the embedded fonts are found):
[exec] java.io.FileNotFoundException: C:\Users\administrator\AppData\Local\Adobe\Flash CS6\en_US\Configuration\CodeModel\bundle-cache\bundle1\bundle.location (The system cannot find the file specified)
[15:28:10]: [exec] at java.io.FileInputStream.open(Native Method)
Our current workaround is to run the script manually, which totally defeats the purpose of having a CI system. I would love to get to the bottom of this, any helpful info is appreciated :)