AS3 library linkage setting ignored

I seem to have a weird problem trying to achieve inclusive linkage of some AS3 code. The problem is as follows: I have a big actionscript project in IntelliJ with lots of external library dependecies. It started taking to long to compile so I decided to create so-called extension library which simply an aggregation of some rarely changing external libraries compiled together in a single swc. All libraries must be added with 'include' linkage but it looks like IntelliJ ignores this setting. It adds to swc only referenced classes as it was in 'merged' linkage mode. A little bit more info can be found here on StackOverflow where I made same question.

Please help.

3 comments
Comment actions Permalink

I guess referenced 'Starling-xxx' libs are raw uncompiled AS libs, right? I'm afraid 'Included' linkage type works for SWCs only. So you have 2 ways: either configure Starling sources as if it were your own project sources or reference compiled version of starling-xxx.swc.

0
Comment actions Permalink

Yes these are just code.

AlexanderD wrote:

I'm afraid 'Included' linkage type works for SWCs only.

I don't understand what reasoning is behind it. I have an external library which is just a bunch of paths to some source code or swc files (it can be even both). I want to attach it to my swc-project and set proper linkage. Back when I was using Flash Builder I had to wrap each external library with special actionscript library project and then I was adding these libraries to some application project. But in Flash Builder projects are accessible within each other so if some library source code changed - it recompiled swc. But here I see a possibilty to avoid all this simply adding external libraries with linkage.

0
Comment actions Permalink

There's no special reasoning, we just didn't respect your use case when were working on the feature. You may file an issue in our issue tracker to respect 'Include' linkage type for raw AS libs.

0

Please sign in to leave a comment.