質問

I know I can link in in my SWF at compile time some classes with the flexmojos includes tag :

<includes>
    <include>my.package.MyClass</include>
</includes>

But is there a way to link in many classes with a wildcard directly ?

I tried :

<includes>
    <include>my.package.**</include>
    <include>my.package.*</include>
</includes>

but I receive this error :

[ERROR] Unable to resolve a class for include: my.package.*.

Thank you for any help

役に立ちましたか?

解決

I solved my problem by creating a SWC file compile-swc goal and included this SWC file as a dependency with internal scope.

Now, it works, all files are included in my SWF at compile time.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top