When trying to import our project from flex I've stumbled across a couple of things that confuse me.
We have an eclipse flex project which has 5 library and 3 application projects - which I think correlates to 1 IntelliJ project with 5 library modules and 3 application modules.
Our library projects have actionscript files which we do not want to include as classes in the build and we reference them from class files such as:
the contents of the file may include some functions such as:
public function doSomething():void
// do some common repeatable thing here
It seems as if IntelliJ 9 doesn't like this setup by default and tries to include all .as files into the library. After playing around for a while I managed to explicitly include certain classes by manually altering the compiler-config.xml file to have:
This gets IntelliJ to compile, but the IDE doesn't like this very much and still complains: "Access Modifier allowed for class members only" (see screen shot)
I can't seem to find a place in the interface to explicitly include/exclude flex .as classes for a library module - does anybody know of a way to do this? I've attached a small test application which highlights this problem
thanks for your help