mx.utils.StringUtil not found by asdoc
Closed this issue · 2 comments
Hello,
I'm using your action to automate generating asdocs but for some reason it can't find mx.utils.StringUtil
which should be in the Flex SDK.
It's producing this error:
Error: Definition mx.utils:StringUtil could not be found.
import mx.utils.StringUtil;
^
I'm not sure if I'm doing something wrong or not. This is how I've setup the action in my workflow:
- name: Setup Apache Flex SDK
uses: joshtynjala/setup-apache-flex-action@v2
with:
flex-version: "4.16.1"
air-version: "50.2.4.4"
accept-air-license: true
I have the same flex and air version installed locally.
Anyways, thank you for your time and thank you for making this action.
You'll need to share the command that you use to compile your project.
I'm sorry, I should have taken a break for a day since I just realised you have to point the asdoc command to Flex's frameworks lib folder using: -library-path "${{ env.FLEX_HOME }}\frameworks\libs"
. It's working great now.
I'm building locally using IntelliJ IDEA which handled all of that stuff for me so I didn't know I had to specify that folder manually. I'm still pretty new to all of this but I'm slowly learning things.