You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by aveu <pa...@o2.pl> on 2014/02/17 15:50:21 UTC

Flexmojos testrunner configuration

Hi,
I am trying to use flexmojos 6 to build my SWC project. Everything is fine
without tests. When I add one simple test I get this exception:


When I run maven with -X (extra debug) option I can see:

So I added to my configuration path to flashplayer executable:

And still getting this error... In maven log I can't find information that
flashPlayerCommand is used...
Please help!



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Flexmojos testrunner configuration

Posted by aveu <pa...@o2.pl>.
OK. Previously I added only short version. There is full stack trace:


Polish 'Nie mo?na odnale?? okre?lonego pl' means 'File not found' :)



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5008.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: AW: AW: AW: Flexmojos testrunner configuration

Posted by aveu <pa...@o2.pl>.
OK. Thanks for your reply.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5043.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: AW: AW: AW: Flexmojos testrunner configuration

Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... 

so as I was expecting, you are trying to build an air application. This is run by the Air Debug Launcher (adl). 
The main Problem with this is that while the flashplayer is a standallone statically linked executable, the adl tool isn't. I have tried several ways in providing the path to the adl executeable, but usually I was not able to start it as some dlls were not found. Therefore I usually install the Air SDK and add the Directory containing the adl.exe to my path. Currently I implemented the Mavenizer to zip up the runtimes too, but unfortunately I havent managed to implement the Flexmojos Support for These, but I am planning on implementing it as soon as I am able to spare some time for this (Unfortunately I am hoping for this to happen for about one year now :-()

Chris



________________________________________
Von: aveu <pa...@o2.pl>
Gesendet: Dienstag, 18. Februar 2014 09:58
An: users@flex.apache.org
Betreff: Re: AW: AW: AW: Flexmojos testrunner configuration

There is a simple project:
test-flexmojos.zip
<http://apache-flex-users.2333346.n4.nabble.com/file/n5037/test-flexmojos.zip>
And the log generated by mvn clean install (I replaced private data by
#PRIV#):




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5037.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: AW: AW: Flexmojos testrunner configuration

Posted by aveu <pa...@o2.pl>.
There is a simple project:
test-flexmojos.zip
<http://apache-flex-users.2333346.n4.nabble.com/file/n5037/test-flexmojos.zip>  
And the log generated by mvn clean install (I replaced private data by
#PRIV#):




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5037.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: AW: AW: Flexmojos testrunner configuration

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Pawel,

ok on that site I am actually able to read your Posts. Ist this a Problem only I am having?

Well it seems that you are using the adl and not the flashplayer to run your application. Have you installed Adobe Air and is "adl", "adl.exe" on your path?
I would strongly suggest not to hard-code the path to your flashplayer or adl in your Project as this makes it system-dependent. I would strongly encourage you to stick to the Default names and simply add the directories containing These files to your Systems path.

Unfortunately you didn't post your pom.xml ... this would be some great help ... what I did notice though was that your path contains a tripple "." ... i guess "..." will not work on most operating Systems.

If you are able to zip up the Project and send it to me directly, I could have a look at it as soon as I am able to spare some time.

Chris


________________________________________
Von: aveu <pa...@o2.pl>
Gesendet: Dienstag, 18. Februar 2014 09:04
An: users@flex.apache.org
Betreff: Re: AW: AW: Flexmojos testrunner configuration

Christofer: could you open this thread in browser? There is a link:
http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-td5006.html
- probably this is email problem, in browser it is fine.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5034.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: AW: Flexmojos testrunner configuration

Posted by aveu <pa...@o2.pl>.
Christofer: could you open this thread in browser? There is a link:
http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-td5006.html
- probably this is email problem, in browser it is fine.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5034.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: AW: Flexmojos testrunner configuration

Posted by Christofer Dutz <ch...@c-ware.de>.
Have to admit, that I have no clue at what you are actually doing ... it seems everything you are adding is being removed.
I couldn't see any real error message, stacktrace whatsoever.

What did you set the flashplayer command to? Perhaps you could post your pom. But I think the Problem is probably that you specified the Name of the Player executable, but that executable is not available on your Systems path.

I would suggest to Switch your Mail-Client to sending Text mails and not HTML and then to simply paste Stacktraces and Log Fragments as text of the mail. This way they are not stripped out. Then just paste the build log and the pom.xml of that module and we'll sort things out for you.

Chris
________________________________________
Von: aveu <pa...@o2.pl>
Gesendet: Dienstag, 18. Februar 2014 07:26
An: users@flex.apache.org
Betreff: Re: AW: Flexmojos testrunner configuration

Any ideas?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5031.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Flexmojos testrunner configuration

Posted by aveu <pa...@o2.pl>.
Any ideas?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5031.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Flexmojos testrunner configuration

Posted by aveu <pa...@o2.pl>.
Stacktrace added. Do you need something more? Any idea what is wrong?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006p5012.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Flexmojos testrunner configuration

Posted by Tom Chiverton <tc...@extravision.com>.
On 17/02/2014 15:05, Christofer Dutz wrote:
> Unfortunately you didn't seem to have posted the exception you are talking about.
And the mailing list doesn't do attachments. Please paste the text of 
the exception in, it's much easier for everyone.

Tom

AW: Flexmojos testrunner configuration

Posted by Christofer Dutz <ch...@c-ware.de>.
Unfortunately you didn't seem to have posted the exception you are talking about.

If you could post this, I am sure we will be able to help you.

Chris


________________________________________
Von: aveu <pa...@o2.pl>
Gesendet: Montag, 17. Februar 2014 15:50
An: users@flex.apache.org
Betreff: Flexmojos testrunner configuration

Hi,
I am trying to use flexmojos 6 to build my SWC project. Everything is fine
without tests. When I add one simple test I get this exception:


When I run maven with -X (extra debug) option I can see:

So I added to my configuration path to flashplayer executable:

And still getting this error... In maven log I can't find information that
flashPlayerCommand is used...
Please help!



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-testrunner-configuration-tp5006.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.