flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: AW: AW: Flex 4.12 with flexmojos-maven-plugin
Date Tue, 03 Jun 2014 15:30:27 GMT
Is there a Firewall enabled? Cause Flexmojos allocates a Socket and compiles that port into
the test swc so the SWC connects to the Flexmojos Socket in order to report. So if this connection
fails, I would assume that the Flashplayer is not allowed to connect to the build socket because
of a firewall blocking these requests. If you do have a Firewall enabled, I'd try with disabling
this temporarily and testing if it works without. If it does work, you have to setup your
Firewall to allow the connections from the Flashplayer to the Java process of the Maven build.


Von: rknight <rknight@portletoasis.com>
Gesendet: Dienstag, 3. Juni 2014 16:37
An: users@flex.apache.org
Betreff: Re: AW: AW: Flex 4.12 with flexmojos-maven-plugin

Hey Christofer,

Thanks for your response.  I ended up mavenizing both
Flex SDKs to get around the error. That got past the error.

Then I removed the dependency as you suggested and that continued
to work.  Thanks!

from the cmd line a run the following from the flex project directory:
mvn -U clean test

The flashplayer now comes up with a blank, white screen and the following error is displayed:

Error #2044: Unhandled ioError:. text=Error #2031: Socket Error. URL:
        at net.flexmojos.oss.unitestingsupport::SocketReporter/sendResults()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-support\src\main\flex\net\flexmojos\oss\unitestingsupport\SocketReporter.as:147]
        at net.flexmojos.oss.unitestingsupport.flexunit4::FlexUnit4Listener/testRunFinished()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unittest\flexmojos-unittest-flexunit4\src\main\flex\net\flexmojos\oss\unitestingsupport\flexunit4\FlexUnit4Listener.as:161]
        at Function/<anonymous>()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexunit\runner\notification\RunNotifier.as:88]
        at SafeNotifier/run()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexunit\runner\notification\RunNotifier.as:272]

Any ideas on what I'm doing wrong?


----- Original Message -----
From: "Christofer Dutz [via Apache Flex Users]" <ml-node+s2333346n6753h83@n4.nabble.com>
To: "rknight" <rknight@portletoasis.com>
Sent: Tuesday, June 3, 2014 2:14:16 AM
Subject: AW: AW: Flex 4.12 with flexmojos-maven-plugin

Hi Richard,

sorry for not responding on your private mail ... I didn't quite find the time to look into
this, but I would have suggested you to re-ask your question here ;-)

The thing is you don't need to add a dependency to Flexmojos-unittest-flexunit4 as Flexmojos
automatically adds the adapters for unit test frameworks it finds in its classpath. So all
you need to do, is to add a dependency on flexunit.



-----Urspr√ľngliche Nachricht-----
Von: rknight [mailto:rknight@portletoasis.com]
Gesendet: Montag, 2. Juni 2014 22:00
An: users@flex.apache.org
Betreff: Re: AW: Flex 4.12 with flexmojos-maven-plugin


Thank you for the information, this and several other posts have been very helpful.  I'm still
having a problem getting flex-mojos 7 +
flexmojos-unittest-flexunit4 working due to to "flexmojos-unittest-flexunit4" being dependent
upon Flex
I'm using Flex so I'm able to get the standard flex plugin working successfully
using your previous suggestion:



However, I'm unsure of how to get "flexmojos-unittest-flexunit4" working using a similar approach.
 My current pom has the following:


The error that I am getting is as follows "Could not find artifact org.apache.flex:framework:pom:"
Obviously, this is the same kind of error as previously posted, but I'm not sure of how to
get past it in this situation.  Any help would be greatly appreciated.


View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6746.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

If you reply to this email, your message will be added to the discussion below:

To unsubscribe from Flex 4.12 with flexmojos-maven-plugin, visit http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5855&code=cmtuaWdodEBwb3J0bGV0b2FzaXMuY29tfDU4NTV8LTE0MjUzMzU2NTc=

View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6762.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message