Using IntelliJ 3rdparty functionality with Flex build

We use a multi-module project including java and flex code. The 3rdparty libraries are placed in as subdirectories of the a 3rdparty sibling directory this includes flex swc libraries like flexlib. For example


I added the external-library-path property to the example build.xml to include the 3rdparty swc files during compilation and it works great. However when the myapp.mxml is opened in the code editor the tags from from the flexlib are not resolved. I've added the swc as a project library the gui module is dependent on but that did not seem to fix the problem.

any ideas on how to fix this problem?

default="compile" basedir=".">
<property name="deployDirectory" value="$"/>
<property name="testApplication" value="$"/>
<arg line="-output='$/$'"/> <arg line="-external-library-path+=${flexlib.dir}/bin/flexlib.swc" /> </java> </target> <target name="run" depends="compile"> <exec executable="$" spawn="yes" dir="$">
<arg line="'$'"/>

Please sign in to leave a comment.