This content has been marked as final. Show 4 replies
Use the -source-path compiler option and give it the path to your main application directory. For example, -source-path=../.. since the modules are 2 directories down from the main directory.
Thanks, Peter, it helped.
But is there any way to compile modules automaticaly when I save modules or run my main application that uses that modules. Currently I use mxmlc command line and that is not convenient at all when testing each module.
The answer is yes and no. Since your Modules are not in the main application directory, the answer is no. Should they live in the main application directory, then you can mark them as Applications and Flex Builder will automatically compile them and move them to the bin directory.
This is very inconvenient to use command line each time I need to test a module, especially when there are additional parameters like -source-path which I have to type each time. (
Anyway, thank you for your help, Peter.