0

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

Olivier J.
  • 3,115
  • 11
  • 48
  • 71
  • Your script part like it: http://repository.sonatype.org/content/sites/flexmojos-site/4.0-beta-7/compile-swc-mojo.html#includeClasses ?? – Ilya Zaytsev Apr 01 '13 at 14:21
  • I already saw that but this code is for SWC files not for SWF files. When I test it, my classes are not included in my SWF. – Olivier J. Apr 01 '13 at 16:19

1 Answers1

0

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.

Olivier J.
  • 3,115
  • 11
  • 48
  • 71