Finally figured it out after much trial/error. Hope this helps someone:
<profiles>
<profile>
<id>linux-ci-build</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<flashPlayerCommand>${project.basedir}/src/test/resources/flashPlayer/linux/flashplayer_10_sa_debug</flashPlayerCommand>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>windows-dev-build</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<flashPlayerCommand>${project.basedir}/src/test/resources/flashPlayer/windows/flashplayer_10_sa_debug.exe</flashPlayerCommand>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
On Tue, Jan 12, 2010 at 2:56 PM, Davis Ford <[email protected]>wrote:
> Hi Arron,
>
> I tried with 3.5.0 release
> http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/flexmojos/flexmojos-maven-plugin/3.5.0/
>
>
> <http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/flexmojos/flexmojos-maven-plugin/3.5.0/>I
> can't get this to work. Following your comment here with the following
> configuration:
>
> <testRunner>
> <launcher>
>
> <flashPlayer.command>${basedir}/flashPlayer/windows/flashplayer_10_sa_debug.exe</flashPlayer.command>
> </launcher>
> </testRunner>
>
> This property seems to be ignored, as it just launches the default FP9. As
> you can see, I'm trying to force it to use FP10-debug-standalone, but having
> no luck.
>
> Does anyone see any glaring error with this? Anyone have any luck with it?
>
> Thanks in advance,
> Davis
>
> On Mon, Nov 30, 2009 at 2:55 PM, Arron Hocking <[email protected]>wrote:
>
>> <flashPlayer.command> seems to work fine with 3.5-SNAPSHOT. However,
>> I am very uncomfortable using a snapshot version for out continuous
>> build.
>>
>> Is 3.5 due out very soon? Or, is it possible to patch in a fix for
>> 3.4.2?
>>
>> Thanks,
>>
>> - Arron
>>
>> On Nov 30, 10:53 am, velo <[email protected]> wrote:
>> > Try 3.5-SNAPSHOT
>> >
>> > On Nov 30, 3:48 pm, Arron Hocking <[email protected]> wrote:
>> >
>> > > Is it possible to fix the -DflashPlayer.command or the maven pom
>> > > equivalent? I have several versions I want to run the test suite
>> > > against and would like the flashplayer to be configurable.
>> >
>> > > I'd like to be able to do this again:
>> >
>> > > <launcher>
>> > > <flashplayerCommand>${basedir}/runtimes/player/win/$
>> > > {targetFlashVersion}/flashplayer.exe</flashplayerCommand>
>> > > </launcher>
>> >
>> > > I couldn't find this issue in JIRA anywhere. Do you already have this
>> > > tracked, or should I enter a new item?
>> >
>> > > On Oct 9, 8:09 pm, Marvin Froeder <[email protected]> wrote:
>> >
>> > > > FWIW, the -DflashPlayer.command stop working after I put the test
>> into a
>> > > > separated module, I did that to make it testable, made it more
>> stable and
>> > > > allowed me to do some refactories like FlexUnit 4 support.
>> > > > But unfortunately maven isn't supporting parameters injection as it
>> should
>> > > > =/
>> >
>> > > > VELO
>>
>> --
>> 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://blog.flex-mojos.info/
>>
>
>
>
> --
> Zeno Consulting, Inc.
> home: http://www.zenoconsulting.biz
> blog: http://zenoconsulting.wikidot.com
> p: 248.894.4922
> f: 313.884.2977
>
--
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977
--
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/