Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9639103E9 for ; Tue, 3 Jun 2014 14:38:24 +0000 (UTC) Received: (qmail 70709 invoked by uid 500); 3 Jun 2014 14:38:24 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 70674 invoked by uid 500); 3 Jun 2014 14:38:24 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 70658 invoked by uid 99); 3 Jun 2014 14:38:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 14:38:24 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of rknight@portletoasis.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 14:38:22 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WrpqG-0003oV-Bj for users@flex.apache.org; Tue, 03 Jun 2014 07:37:32 -0700 Date: Tue, 3 Jun 2014 07:37:17 -0700 (PDT) From: rknight To: users@flex.apache.org Message-ID: <916623713.10125016.1401806217107.JavaMail.zimbra@portletoasis.com> In-Reply-To: <880e678023454f1c81a5bddf49d78d23@DBXPR05MB237.eurprd05.prod.outlook.com> References: <1396124021658-5855.post@n4.nabble.com> <1401739224312-6746.post@n4.nabble.com> <880e678023454f1c81a5bddf49d78d23@DBXPR05MB237.eurprd05.prod.outlook.com> Subject: Re: AW: AW: Flex 4.12 with flexmojos-maven-plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hey Christofer, Thanks for your response. I ended up mavenizing both=20 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 e= rror is displayed: Error #2044: Unhandled ioError:. text=3DError #2031: Socket Error. URL: 127= .0.0.1 =09at net.flexmojos.oss.unitestingsupport::SocketReporter/sendResults()[D:\= Projects\flexmojos\trunk\target\checkout\flexmojos-testing\flexmojos-unitte= st\flexmojos-unittest-support\src\main\flex\net\flexmojos\oss\unitestingsup= port\SocketReporter.as:147] =09at net.flexmojos.oss.unitestingsupport.flexunit4::FlexUnit4Listener/test= RunFinished()[D:\Projects\flexmojos\trunk\target\checkout\flexmojos-testing= \flexmojos-unittest\flexmojos-unittest-flexunit4\src\main\flex\net\flexmojo= s\oss\unitestingsupport\flexunit4\FlexUnit4Listener.as:161] =09at Function/()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\f= lexunit\runner\notification\RunNotifier.as:88] =09at SafeNotifier/run()[E:\3rdParty\flexunit\trunk\FlexUnit4\src\org\flexu= nit\runner\notification\RunNotifier.as:272] Any ideas on what I'm doing wrong? Thanks, Richard ----- Original Message ----- From: "Christofer Dutz [via Apache Flex Users]" To: "rknight" 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 t= ime to look into this, but I would have suggested you to re-ask your questi= on here ;-) The thing is you don't need to add a dependency to Flexmojos-unittest-flexu= nit4 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. org.flexunit flexunit 4.1.0 flex4 swc test Chris -----Urspr=C3=BCngliche Nachricht----- Von: rknight [mailto:rknight@portletoasis.com]=20 Gesendet: Montag, 2. Juni 2014 22:00 An: users@flex.apache.org Betreff: Re: AW: Flex 4.12 with flexmojos-maven-plugin Hello, 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-flexunit= 4" being dependent upon Flex 4.12.0.20140303.=20 I'm using Flex 4.12.1.20140427 so I'm able to get the standard flex plugin = working successfully using your previous suggestion: net.flexmojos.oss flexmojos-maven-plugin 7.0.0 =20 =20 net.flexmojos.oss =20 flexmojos-threadlocaltoolkit-wrapper 7.0.0 =20 org.apache.flex compiler 4.12.1.20140427 pom =20 However, I'm unsure of how to get "flexmojos-unittest-flexunit4" working us= ing a similar approach. My current pom has the following: =09=09 net.flexmojos.oss =09=09 flexmojos-unittest-flexunit4 =09=09 7.0.0 =09=09 swc The error that I am getting is as follows "Could not find artifact org.apac= he.flex:framework:pom:4.12.0.20140303" 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 a= ppreciated. Thanks, Richard -- View this message in context: http://apache-flex-users.2333346.n4.nabble.co= m/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 be= low: http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-with-flexmojos-mav= en-plugin-tp5855p6753.html To unsubscribe from Flex 4.12 with flexmojos-maven-plugin, visit http://apa= che-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=3Dunsub= scribe_by_code&node=3D5855&code=3DcmtuaWdodEBwb3J0bGV0b2FzaXMuY29tfDU4NTV8L= TE0MjUzMzU2NTc=3D -- View this message in context: http://apache-flex-users.2333346.n4.nabble.co= m/Flex-4-12-with-flexmojos-maven-plugin-tp5855p6762.html Sent from the Apache Flex Users mailing list archive at Nabble.com.