Here's a sample from ours:
<configuration>
<testRunnerTemplate>${project.build.testSourceDirectory}/Template.mxml</testRunnerTemplate>
....
Logan
On Thu, Sep 3, 2009 at 3:28 PM, Marvin Froeder<[email protected]> wrote:
> Yes, sure, that is configurable, take a look
> http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/test-compile-mojo.html
>
> VELO
>
> Ted Turner - "Sports is like a war without the killing."
>
> On Thu, Sep 3, 2009 at 6:26 PM, John <[email protected]> wrote:
>>
>> No, my question is how this is related to flex mojo? How to configure
>> flex mojo to use a template file? I mean are there any options in the
>> <configuration>
>> part for the template file?
>>
>> Thanks,
>>
>> John
>>
>> On Sep 3, 5:19 pm, Marvin Froeder <[email protected]> wrote:
>> > Sorry, but, what part of "any regular application will suffice for your
>> > needs" you didn't understand?
>> > Create any flex application and set is as template, that is it.
>> >
>> > VELO
>> >
>> > Charles de
>> > Gaulle<http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html>
>> > - "The better I get to know men, the more I find myself loving dogs."
>> >
>> > On Thu, Sep 3, 2009 at 6:16 PM, John <[email protected]> wrote:
>> >
>> > > Sorry, I am pretty new to flex mojo and don't really understand what
>> > > you mean
>> > > here.
>> >
>> > > I need to compile the test code into TestRunner.swf. How do I
>> > > configure flex-mojo
>> > > to use a custom template file? I did some google, but no luck so far.
>> >
>> > > Thanks,
>> >
>> > > John
>> >
>> > > On Sep 3, 2:40 pm, Marvin Froeder <[email protected]> wrote:
>> > > > Just any regular application will suffice for your needs.
>> >
>> > > > Jonathan Swift<
>> > >http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
>> > > > - "May you live every day of your life."
>> >
>> > > > On Thu, Sep 3, 2009 at 3:35 PM, John <[email protected]>
>> > > > wrote:
>> >
>> > > > > Will try that. Could you point me to some documents about custom
>> > > > > template file in flex mojo?
>> >
>> > > > > Thanks,
>> >
>> > > > > John
>> >
>> > > > > On Sep 3, 2:27 pm, Marvin Froeder <[email protected]> wrote:
>> > > > > > Why don't you just skipTest as logan said using a custom
>> > > > > > template
>> > > file?
>> > > > > > VELO
>> >
>> > > > > > Marie von Ebner-Eschenbach<
>> > > >
>> > > > > >http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac...
>> > > .>
>> > > > > > - "Even a stopped clock is right twice a day."
>> >
>> > > > > > On Thu, Sep 3, 2009 at 3:25 PM, John <[email protected]>
>> > > wrote:
>> >
>> > > > > > > After remove the versions,
>> >
>> > > > > > > target/dependency/
>> > > > > > > |-- airframework-en_US.rb.swc
>> > > > > > > |-- airframework.swc
>> > > > > > > |-- airglobal.swc
>> > > > > > > |-- applicationupdater.swc
>> > > > > > > |-- applicationupdater_ui.swc
>> > > > > > > |-- as3commons-lang.swc
>> > > > > > > |-- as3commons-logging.swc
>> > > > > > > |-- as3commons-reflect.swc
>> > > > > > > |-- cilistener.swc
>> > > > > > > |-- flex.swc
>> > > > > > > |-- flexlib-bin.swc
>> > > > > > > |-- flexunit.swc
>> > > > > > > |-- framework-en_US.rb.swc
>> > > > > > > |-- framework.swc
>> > > > > > > |-- puremvc-as3-standard.swc
>> > > > > > > |-- rpc-en_US.rb.swc
>> > > > > > > |-- rpc.swc
>> > > > > > > |-- servicemonitor.swc
>> > > > > > > |-- spring-actionscript-core.swc
>> > > > > > > |-- spring-actionscript-puremvc-standard.swc
>> > > > > > > |-- uirunner.swc
>> > > > > > > `-- utilities.swc
>> >
>> > > > > > > But still got the same error. Really wired.
>> >
>> > > > > > > Thanks,
>> >
>> > > > > > > John
>> >
>> > > > > > > On Sep 3, 2:10 pm, Marvin Froeder <[email protected]> wrote:
>> > > > > > > > You can't rename airglobal-3.3.0.4852.swc
>> > > > > > > > It is hardcoded inside compiler.
>> >
>> > > > > > > > Stephen Leacock<
>> > > > > >
>> > > > > > > >http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html>
>> > > > > > > > - "I detest life-insurance agents: they always argue that I
>> > > > > > > > shall
>> > > > > some
>> > > > > > > > day
>> > > > > > > > die, which is not so."
>> >
>> > > > > > > > On Thu, Sep 3, 2009 at 2:55 PM, John
>> > > > > > > > <[email protected]>
>> > > > > wrote:
>> >
>> > > > > > > > > Seems I included all air dependencies and here is the
>> > > > > > > > > list,
>> >
>> > > > > > > > > target/dependency/
>> > > > > > > > > |-- airframework-3.3.0.4852-en_US.rb.swc
>> > > > > > > > > |-- airframework-3.3.0.4852.swc
>> > > > > > > > > |-- airglobal-3.3.0.4852.swc
>> > > > > > > > > |-- applicationupdater-3.3.0.4852.swc
>> > > > > > > > > |-- applicationupdater_ui-3.3.0.4852.swc
>> > > > > > > > > |-- as3commons-lang-1.0.0-SNAPSHOT.swc
>> > > > > > > > > |-- as3commons-logging-1.0.0.swc
>> > > > > > > > > |-- as3commons-reflect-1.0.0.swc
>> > > > > > > > > |-- cilistener-4.0-beta-2.swc
>> > > > > > > > > |-- flex-3.3.0.4852.swc
>> > > > > > > > > |-- flexlib-bin-2.4.swc
>> > > > > > > > > |-- flexunit-4.0-beta-2.swc
>> > > > > > > > > |-- framework-3.3.0.4852-en_US.rb.swc
>> > > > > > > > > |-- framework-3.3.0.4852.swc
>> > > > > > > > > |-- puremvc-as3-standard-2.0.4.swc
>> > > > > > > > > |-- rpc-3.3.0.4852-en_US.rb.swc
>> > > > > > > > > |-- rpc-3.3.0.4852.swc
>> > > > > > > > > |-- servicemonitor-3.3.0.4852.swc
>> > > > > > > > > |-- spring-actionscript-core-0.8.swc
>> > > > > > > > > |-- spring-actionscript-puremvc-standard-0.8.swc
>> > > > > > > > > |-- uirunner-4.0-beta-2.swc
>> > > > > > > > > `-- utilities-3.3.0.4852.swc
>> >
>> > > > > > > > > Thanks,
>> >
>> > > > > > > > > John
>> >
>> > > > > > > > > On Sep 3, 1:45 pm, Marvin Froeder <[email protected]>
>> > > > > > > > > wrote:
>> > > > > > > > > > On Thu, Sep 3, 2009 at 2:41 PM, John <
>> > > [email protected]>
>> > > > > > > wrote:
>> >
>> > > > > > > > > > > Thanks VELO.
>> >
>> > > > > > > > > > > BTW, do you know what could be the possible reasons
>> > > > > > > > > > > that I
>> > > keep
>> > > > > > > > > > > getting the following error when I use mxmlc?
>> >
>> > > > > > > > > > > Error: Access of undefined property NativeApplication
>> >
>> > > > > NativeApplication.nativeApplication.idleThreshold =
>> > > > > > > > > > > IDLETIME;
>> >
>> > > > > > > > > > Isn't you missing airglobal or anything air only?
>> >
>> > > > > > > > > > > Under the hood, flex-mojo also uses mxmlc to compile
>> > > > > > > > > > > code,
>> > > > > right?
>> >
>> > > > > > > > > > I would guess yes, not exactly sure how oem-compiler
>> > > > > > > > > > works,
>> > > but
>> > > > > in
>> > > > > > > the
>> > > > > > > > > end
>> > > > > > > > > > all ends on API.compile() somehow....
>> >
>> > > > > > > > > > I don't think it uses mxmlc code, but uses the same code
>> > > > > > > > > > used
>> > > by
>> > > > > it.
>> >
>> > > > > > > > > > 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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---