Well, I haven't used Mapper with Maven before, but there is something
similar in Ant. (http://ant.apache.org/manual/CoreTypes/mapper.html)

I'll have a look on Maven source code to figure out how it work. If I find
something I'll try to update Simon's patch to use such a mapper.

Jerome



2008/12/9 Marvin Froeder <[EMAIL PROTECTED]>

> Do you know how to use it?
>
> Can give me some instructions?!
>
>
> VELO
>
>
> On Tue, Dec 9, 2008 at 7:03 AM, jerome creignou <[EMAIL PROTECTED]
> > wrote:
>
>> Hi Velo,
>>
>> It might be possible to solve this issue (Wildcard + output name) by
>> allowing to choose a FileNameMapper :
>>
>> http://maven.apache.org/shared/file-management/apidocs/org/apache/maven/shared/model/fileset/mappers/FileNameMapper.html
>>
>> Simon's patch can be modified to use a FileNameMapper and
>> GlobalPatternMapper implementation which maps "*.mxml" to "*.swf".
>> Unfortunately I don't see any RegExpPatternMapper in maven-shared which
>> might be helpful to customize output file names.
>>
>> Hope that helps.
>>
>> Jerome.
>>
>>
>> 2008/12/9 Marvin Froeder <[EMAIL PROTECTED]>
>>
>> Hi Simon,
>>>
>>> Thanks for your patch.
>>>
>>> I like your idea (well, I don't like to have application and modules
>>> together, but let's forget that for an while).
>>>
>>> But, some users asked to have a way to define the output name.  And I
>>> don't see how to get both working together.  Wildcard + output name.
>>>
>>> Any thoughts on that?
>>>
>>>
>>> VELO
>>>
>>>
>>> On Mon, Dec 8, 2008 at 11:49 AM, simon cailly <[EMAIL PROTECTED]>wrote:
>>>
>>>> Good Afternoon,
>>>>
>>>>
>>>>
>>>> My name is Simon Cailly, I'm working at Maaf (French insurance company)
>>>> in Niort, France. I'm a new in this community. I'm in charge of compiling
>>>> Flex projects with Maven 2. So I found your Flex Mojo plugin and used it.
>>>>
>>>> To compile Flex modules, we have not found other methods that enumerate
>>>> all the modules in the project's Pom. Moreover, each module's SWF are
>>>> grouped at the same level as the main SWF, then we lose theire path.
>>>>
>>>> So we decided to complete the compiler's code (in 2.0M8 version) to
>>>> manage '**/*.mxml' for modules. We also added an inclusion and exclusion
>>>> management for modules.
>>>>
>>>> We added a POM parameter to allow a path preservation of all modules.
>>>>
>>>>
>>>>
>>>> I bring you a patch containing amendments to the class ApplicationData
>>>> (info.rvin.mojo.flexmojo.compiler.ApplicationData).
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>>
>>>>
>>>> Simon Cailly
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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