BTW, what maven version are you using?

VELO

On Wed, Feb 3, 2010 at 12:50 PM, David Hoffer <[email protected]> wrote:

> Done.  https://issues.sonatype.org/browse/FLEXMOJOS-260
>
> -Dave
>
> On Wed, Feb 3, 2010 at 7:19 AM, Marvin Froeder <[email protected]> wrote:
>
>> Could you attach it to a jira?
>>
>> VELO
>>
>> On Wed, Feb 3, 2010 at 11:52 AM, David Hoffer <[email protected]> wrote:
>>
>>>  Here is the war project, all you would have to do is replace the swf
>>> dependency with something you have there local then run clean install.
>>>
>>> Here is the flexmojos section for the SWF:
>>>
>>>  <plugin>
>>>                 <groupId>org.sonatype.flexmojos</groupId>
>>>                 <artifactId>flexmojos-maven-plugin</artifactId>
>>>                 <extensions>true</extensions>
>>>                 <configuration>
>>>                     <configurationReport>true</configurationReport>
>>>                     <targetPlayer>9.0.115</targetPlayer>
>>>                     <debug>true</debug>
>>>                     <optimizeRsls>false</optimizeRsls>
>>>                     <keepAllTypeSelectors>true</keepAllTypeSelectors>
>>>                     <locales>
>>>                         <locale>en_US</locale>
>>>                     </locales>
>>>                     <rslUrls>
>>>                         <rsl>{artifactId}-{version}.{extension}</rsl>
>>>                     </rslUrls>
>>>                     <contextRoot>services-web</contextRoot>
>>>                     <parameters>
>>>
>>> <swf>cdf-as-client-testapp-${project.version}</swf>
>>>                         <title>CDF Test App</title>
>>>                     </parameters>
>>>                     <htmlName>index</htmlName>
>>>                 </configuration>
>>>  </plugin>
>>>
>>>
>>> The problem is this file is created
>>> ./target/services-web/${project.artifactId}-${project.version}.swf instead
>>> of the actual file name.
>>>
>>> -Dave
>>>
>>> On Tue, Feb 2, 2010 at 5:32 PM, Marvin Froeder <[email protected]>wrote:
>>>
>>>> Use the archetype to create a blank project... then give me the steps to
>>>> reproduce your problem.
>>>>
>>>> VELO
>>>>
>>>>
>>>> On Tue, Feb 2, 2010 at 10:03 PM, David Hoffer <[email protected]>wrote:
>>>>
>>>>> In this case that doesn't work my maven war pom is separate from the
>>>>> project that has the swf dependency (its a single pom).  That is, in
>>>>> prior cases, were it does work all modules are part of the same larger
>>>>> parent project and are always built as a larger unit.  This one is
>>>>> different in that regard.  Not sure how to create a sample as I can't
>>>>> upload my swf project...probably could the war project.
>>>>>
>>>>> -Dave
>>>>>
>>>>> On Tue, Feb 2, 2010 at 4:06 PM, Marvin Froeder <[email protected]>
>>>>> wrote:
>>>>> > Probably some bug on maven that is not interpolating it....
>>>>> >
>>>>> > You could try another maven version or I could force flexmojos to
>>>>> > reinterpolate it, I would only ask for a sample project so I can
>>>>> check
>>>>> > exactly where I should do that.
>>>>> >
>>>>> >
>>>>> > VELO
>>>>> >
>>>>> > On Tue, Feb 2, 2010 at 8:25 PM, David Hoffer <[email protected]>
>>>>> wrote:
>>>>> >>
>>>>> >> I'm getting strange behavior in one war project that uses flexmojos
>>>>> to
>>>>> >> copy the swf and its dependencies to the war.  The dependencies are
>>>>> copied
>>>>> >> fine but the swf is named with the macro like this
>>>>> >> ${project.artifactId}-${project.version}.swf.
>>>>> >>
>>>>> >>  <plugin>
>>>>> >>                 <groupId>org.sonatype.flexmojos</groupId>
>>>>> >>                 <artifactId>flexmojos-maven-plugin</artifactId>
>>>>> >>                 <executions>
>>>>> >>                     <execution>
>>>>> >>                         <id>copy_swf_to_war</id>
>>>>> >>                         <goals>
>>>>> >>                             <goal>copy-flex-resources</goal>
>>>>> >>                         </goals>
>>>>> >>                     </execution>
>>>>> >>                     <execution>
>>>>> >>                         <id>make_html</id>
>>>>> >>                         <goals>
>>>>> >>                             <goal>wrapper</goal>
>>>>> >>                         </goals>
>>>>> >>                         <configuration>
>>>>> >>                             <wrapperArtifact>
>>>>> >>
>>>>> <groupId>${project.groupId}</groupId>
>>>>> >>
>>>>> >> <artifactId>cdf-as-client-testapp</artifactId>
>>>>> >>                             </wrapperArtifact>
>>>>> >>                             <htmlName>index</htmlName>
>>>>> >>                             <templateInclusions>
>>>>> >>
>>>>> <String>**/index.template.html</String>
>>>>> >>                             </templateInclusions>
>>>>> >>                         </configuration>
>>>>> >>                     </execution>
>>>>> >>                 </executions>
>>>>> >>             </plugin>
>>>>> >>
>>>>> >> What am I missing?
>>>>> >>
>>>>> >> -Dave
>>>>> >>
>>>>> >> --
>>>>> >> 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]<flex-mojos%[email protected]>
>>>>> >> For more options, visit this group at
>>>>> >> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>>>> >>
>>>>> >> http://flexmojos.sonatype.org/
>>>>> >
>>>>> > --
>>>>> > 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]<flex-mojos%[email protected]>
>>>>> > For more options, visit this group at
>>>>> > http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>>>> >
>>>>> > http://flexmojos.sonatype.org/
>>>>> >
>>>>>
>>>>> --
>>>>> 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]<flex-mojos%[email protected]>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>>>>
>>>>> http://flexmojos.sonatype.org/
>>>>>
>>>>
>>>>  --
>>>> 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]<flex-mojos%[email protected]>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>>>
>>>> http://flexmojos.sonatype.org/
>>>>
>>>
>>>  --
>>> 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]<flex-mojos%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>>
>>> http://flexmojos.sonatype.org/
>>>
>>
>>  --
>> 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]<flex-mojos%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>
>> http://flexmojos.sonatype.org/
>>
>
>  --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> http://flexmojos.sonatype.org/
>

-- 
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://flexmojos.sonatype.org/

Reply via email to