Hi

related quick question:  what is the right way to copy a directory src/ 
main/flex/assets to the output target directory e.g. /target/ 
assets ?   I would think the maven-dependency-plugin ?  quick example  
somwhere?  I got trouble with goal names not being accepted by the  
plugin.  This must be relatively straightforward.

tnx

P

On Dec 4, 2008, at 3:43 PM, Marvin Froeder wrote:

> Well, that is expected.  It doesn't accept wildcards, at least not  
> now, a ticket will be appreciated =D
>
> Anyway, if you don't declare any inclusions it will include all  
> classes + all resources.  Since this is a resource swc I expect no  
> sources, so will include all resources.
>
> Give it a shoot.  (BTW, 2.0M9 behavior)
>
>
> VELO
>
> On Thu, Dec 4, 2008 at 12:39 PM, Hennie Louw  
> <[EMAIL PROTECTED]> wrote:
> Hi All.
> I've goggled the group, but couldn't find any definitive a answer to  
> my problem.
> I have the following plug-in configuration for a module which acts  
> as a central resources swc for all my swf modules.
>
> <plugin>
>     <groupId>info.rvin.mojo</groupId>
>     <artifactId>flex-compiler-mojo</artifactId>
>     <extensions>true</extensions>
>     <version>1.0</version>
>     <configuration>
>         <locales>
>             <param>en_US</param>
>         </locales>
>         <resourceBundlePath>${basedir}/src/main/locales/{locale}</ 
> resourceBundlePath>
>         <mergeResourceBundle>false</mergeResourceBundle>
>         <headlessServer>true</headlessServer>
>         <includeFiles>
>             <file>${basedir}/src/main/flex/assets/warning.png</file>
>         </includeFiles>
>     </configuration>
> </plugin>
>
> This works great, I can embed the image without a problem from my  
> swf modules, of course I'd like to include all files in the assets  
> folder into the swc, so I tried.
>
> <plugin>
>     <groupId>info.rvin.mojo</groupId>
>     <artifactId>flex-compiler-mojo</artifactId>
>     <extensions>true</extensions>
>     <version>1.0</version>
>     <configuration>
>         <locales>
>             <param>en_US</param>
>         </locales>
>         <resourceBundlePath>${basedir}/src/main/locales/{locale}</ 
> resourceBundlePath>
>         <mergeResourceBundle>false</mergeResourceBundle>
>         <headlessServer>true</headlessServer>
>         <includeFiles>
>             <file>${basedir}/src/main/flex/assets/**/*</file>
>         </includeFiles>
>     </configuration>
> </plugin>
>
> But this fails saying it can't find  ".../src/main/flex/assets/**/*"  
> to include.
> Is there a way to give wild cards for the <includeFiles> option, or  
> will I have to manually add all the assets?
>
> Regards
> Hennie Louw.
>
>
>
>
>
>
>
> >
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to