I guess you should miss something like that: <properties> ... <flashPlayer.command>[path to the flashplayer]</flashPlayer.command> ... </properties>
<plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> ... <configuration> ... <flashPlayerCommand>${flashPlayer.command}</flashPlayerCommand> ... </configuration> ... </plugin> -----Message d'origine----- De : Avi Kessner [mailto:akess...@gmail.com] Envoyé : dimanche 15 septembre 2013 15:06 À : dev@flex.apache.org Objet : Re: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry() I started getting this error out of the blue. Any ideas what might be causing it? [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:test-run (default-test-run) on project slots_client_common:* Invalid state: the flashplayer is closed, but the sockets still running... -> *[Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:test-run (default-test-run) on project slots_client_common: Invalid state: the flashplayer is closed, but the sockets still running... at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:2 17) brought to you by the letters A, V, and I and the number 47 On Sat, Sep 14, 2013 at 9:35 PM, Avi Kessner <akess...@gmail.com> wrote: > I forgot to mention that from what I can see everything looks correct, > so I'm guessing there is some small typo or something. > brought to you by the letters A, V, and I and the number 47 > > > On Sat, Sep 14, 2013 at 9:34 PM, Avi Kessner <akess...@gmail.com> wrote: > > I would try doing a text comparison between your pom and the one > > posted here, and see if it catches anything. > > I'd do it for you, but outside my git commitsI don't have a good > > text comparison tool. > > > > http://stackoverflow.com/a/18713810/787202 > > brought to you by the letters A, V, and I and the number 47 > > > > > > On Fri, Sep 13, 2013 at 5:57 PM, mscharp <michael.sch...@fmr.com> wrote: > >> Thanks Avi, here is what I have defined for the dependencies in my > build tag, are there more/different dependencies I need to set? > >> > >> <dependencies> > >> <dependency> > >> <groupId>${flex.groupId}</groupId> > >> <artifactId>compiler</artifactId> > >> <version>${flex.sdk.version}</version> > >> <type>pom</type> > >> </dependency> > >> </dependencies> > >> > >> Thanks > >> > >> From: Avi Kessner [via Apache Flex Development] [mailto: > ml-node+s2333347n29608...@n4.nabble.com] > >> Sent: Friday, September 13, 2013 6:32 AM > >> To: Scharp, Michael > >> Subject: RE: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and > getAdvancedTelemetry() > >> > >> You need to overide /set the dependencies in the plugin inside the build > >> tags > >> On 13 Sep 2013 08:35, "mscharp" <[hidden > email]</user/SendEmail.jtp?type=node&node=29608&i=0>> wrote: > >> > >>> I've updated my projects to start building with your 6.0.1 version of > FM. > >>> I haven't had a chance to really get into it yet, but the first > things I'm > >>> seeing are these warnings. Any idea why, as I'm building against > >>> 4.10.0.20130801? > >>> > >>> [WARNING] The POM for com.adobe.flex:compiler:pom:4.6.0.23201 is > missing, > >>> no dependency information available > >>> Downloading: https://repo. CENSORED.com/content/groups/level0. > CENSORED > >>> /com/adobe/flex/compiler/mxmlc/4.6.0.23201/mxmlc-4.6.0.23201.pom > >>> [WARNING] The POM for com.adobe.flex.compiler:mxmlc:jar:4.6.0.23201 is > >>> missing, no dependency information available > >>> Downloading: https://repo. CENSORED.com/content/groups/level0. > CENSORED > >>> /com/adobe/flex/compiler/digest/4.6.0.23201/digest-4.6.0.23201.pom > >>> [WARNING] The POM for com.adobe.flex.compiler:digest:jar:4.6.0.23201 is > >>> missing, no dependency information available > >>> Downloading: https://repo. CENSORED.com/content/groups/level0. > CENSORED > >>> > /com/adobe/flex/compiler/optimizer/4.6.0.23201/optimizer-4.6.0.23201.pom > >>> [WARNING] The POM for > com.adobe.flex.compiler:optimizer:jar:4.6.0.23201 is > >>> missing, no dependency information available > >>> Downloading: https://repo.CENSORED.com/content/groups/level0. CENSORED > >>> /com/adobe/flex/compiler/asdoc/4.6.0.23201/asdoc-4.6.0.23201.pom > >>> [WARNING] The POM for com.adobe.flex.compiler:asdoc:jar:4.6.0.23201 is > >>> missing, no dependency information available > >>> Downloading: > >>> > https://repo.CENSORED.com/content/groups/level0.CENSORED/com/adobe/flex/comp iler/swcdepends/4.6.0.23201/swcdepends-4.6.0.23201.pom > >>> [WARNING] The POM for > com.adobe.flex.compiler:swcdepends:jar:4.6.0.23201 > >>> is missing, no dependency information available > >>> > >>> I can post poms if it helps. > >>> > >>> On a the issue of the RSLs, I have them working and I will post what I > >>> have online so that anyone else wondering will have something to help > them > >>> if needed. > >>> > >>> Michael > >>> > >>> From: [hidden email]</user/SendEmail.jtp?type=node&node=29608&i=1> > [via Apache Flex Development] [mailto: > >>> [hidden email]</user/SendEmail.jtp?type=node&node=29608&i=2>] > >>> Sent: Thursday, September 12, 2013 10:32 AM > >>> To: Scharp, Michael > >>> Subject: AW: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> getAdvancedTelemetry() > >>> > >>> I would expect the thing to blow up in my face ... yes :-) > >>> > >>> Cause you would be mixing different Versions of libs ... I don't think > >>> that would be a good idea. > >>> If you however want to use a library (swc/rsl) however that should be > >>> possible as Long as the rsl/swc doesn't rely on changed API. But if > you are > >>> talking about modules in the same maven build, I would stronly suggest > not > >>> to try that. > >>> > >>> Chris > >>> > >>> ________________________________________ > >>> Von: Avi Kessner [[hidden > >>> email]</user/SendEmail.jtp?type=node&node=29598&i=0>] > >>> Gesendet: Donnerstag, 12. September 2013 18:24 > >>> An: [hidden email]</user/SendEmail.jtp?type=node&node=29598&i=1> > >>> Betreff: Re: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> getAdvancedTelemetry() > >>> > >>> If one pom file in a project uses FM 6 and another uses 3 would you > expect > >>> that to cause conflicts? > >>> On 12 Sep 2013 19:19, "[hidden > >>> email]</user/SendEmail.jtp?type=node&node=29598&i=2>" <[hidden > >>> email]</user/SendEmail.jtp?type=node&node=29598&i=3>> > >>> wrote: > >>> > >>> > Well actually FM should build your application with any mavenized > FDK you > >>> > throw at it. Unless something has changed in more recent Versions of > >>> Apache > >>> > Flex. FM automatically uses the Compiler Version it was compiled > agains, > >>> if > >>> > you don't explicitly fix a Version by using the plugin dependency. > >>> > Otherwise you're free to use whatever Version you like. > >>> > > >>> > The benefit of signed RSLs was even bigger (in my oppinion). As the > Flex > >>> > RSLs for an application were only loaded once no matter what URL you > >>> > visited and it usually even survived a Cache cleanup. As soon as a > SWZ > >>> was > >>> > loaded, the Flashplayer sort of installed it locally and as soon as > an > >>> > application needed it again, it simply loaded it without having to > >>> download > >>> > it again. > >>> > > >>> > The reason for you having to explicitly list every dependency that > Needs > >>> a > >>> > non-Default scope, is mavens inability to overload scopes. So the > >>> framworks > >>> > master pom has normal dependencies to it's libs and if you simply > >>> reference > >>> > that, you wouldn't utilize the shared-lib concept of RSLs but use > normal > >>> > SWCs for compilation, resulting in a way bigger Output file. So if > you > >>> want > >>> > to migrate your Project to Apache Flex you have to replace every > Caching > >>> > scope with "rsl". > >>> > > >>> > Chris > >>> > > >>> > > >>> > ________________________________________ > >>> > Von: mscharp [[hidden > >>> email]</user/SendEmail.jtp?type=node&node=29598&i=4>] > >>> > Gesendet: Donnerstag, 12. September 2013 18:03 > >>> > An: [hidden email]</user/SendEmail.jtp?type=node&node=29598&i=5> > >>> > Betreff: RE: FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> > getAdvancedTelemetry() > >>> > > >>> > Thanks for the responses Chris. Yeah, FM is a beast to build. I > can't > >>> > say enough "Thank Yous" for taking over the project. > >>> > > >>> > So, my understanding was that FM had to be built against the version > of > >>> > the FDK you wanted to use. I'm assuming this is incorrect. Has > anyone > >>> > tried using FM 6.0.1 with the 4.10 FDK? My only question with it > having > >>> to > >>> > do with the getAdvancedTelemetry() function that I had to add to the > FM > >>> > source code. > >>> > > >>> > As far as the RSLs, I read in the release notes that they aren't > signed, > >>> > and that it only make sense to use RSLs if you are serving multiple > flex > >>> > applications from the same domain... which we are. So, previously > in our > >>> > pom files we had: > >>> > > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>framework</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>textLayout</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>charts</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>rpc</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> <artifactId>mx</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>advancedgrids</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>spark</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>sparkskins</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>spark_dmv</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > > <scope>caching</scope> > >>> > </dependency> > >>> > > >>> > Currently I'm not listing any of these as dependencies in our new > poms. > >>> > I've been following what I've been able to find on the web as far as > >>> > standard practices for what needs to be included in the pom files, > but a > >>> > lot of them look a bit different than what we currently have in our > poms. > >>> > So, I'm not sure if I still need those dependencies listed or not. > If I > >>> > do, would the scope be "rsl" instead of "caching" and now look more > like > >>> > this? > >>> > > >>> > <dependency> > >>> > > >>> > <groupId>com.adobe.flex.framework</groupId> > >>> > > >>> > <artifactId>spark_dmv</artifactId> > >>> > > >>> > <version>${flex.sdk.version}</version> > >>> > <type>swc</type> > >>> > <scope>rsl</scope> > >>> > </dependency> > >>> > > >>> > Again, thanks everyone for the help. > >>> > > >>> > Michael > >>> > > >>> > From: [hidden email]</user/SendEmail.jtp?type=node&node=29598&i=6> > [via > >>> Apache Flex Development] [mailto: > >>> > [hidden email]</user/SendEmail.jtp?type=node&node=29598&i=7>] > >>> > Sent: Thursday, September 12, 2013 6:00 AM > >>> > To: Scharp, Michael > >>> > Subject: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> > getAdvancedTelemetry() > >>> > > >>> > Yeah ... but in Flexmojos you can have a dependency of type "swc", > "rsl" > >>> > and "caching". Depending on the type of dependency it loads different > >>> files > >>> > from maven "swc", "swf" or "swz". The test-cases utilizing the signed > >>> rsls > >>> > have dependencies of type "Caching" and therefore maven Looks for swz > >>> > files, which it doesn't find and therefore the build Fails, causing > the > >>> > testsuite to fail. > >>> > > >>> > Chris > >>> > > >>> > ________________________________________ > >>> > Von: Justin Mclean [[hidden > >>> > email]</user/SendEmail.jtp?type=node&node=29584&i=0>] > >>> > Gesendet: Donnerstag, 12. September 2013 02:45 > >>> > An: [hidden email]</user/SendEmail.jtp?type=node&node=29584&i=1> > >>> > Betreff: Re: FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> > getAdvancedTelemetry() > >>> > > >>> > Hi, > >>> > > >>> > > This is because we don't have any signed RSLs (SWZ Files). > >>> > Why do you need signed files? Apache Flex does come with RSLs they > are > >>> > just not signed. > >>> > > >>> > Thanks, > >>> > Justin > >>> > ________________________________ > >>> > If you reply to this email, your message will be added to the > discussion > >>> > below: > >>> > > >>> > > >>> > http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4- 10-0-20130801-and-getAdvancedTelemetry-tp29528p29584.html > >>> > To unsubscribe from FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> > getAdvancedTelemetry(), click here< > >>> > >. > >>> > NAML< > >>> > > >>> > http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jt p?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml. namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.vi ew.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemai l.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aem ail.naml > >>> > > > >>> > > >>> > > >>> > > >>> > > >>> > -- > >>> > View this message in context: > >>> > > >>> > http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4- 10-0-20130801-and-getAdvancedTelemetry-tp29528p29594.html > >>> > Sent from the Apache Flex Development mailing list archive at > Nabble.com. > >>> > >>> ________________________________ > >>> If you reply to this email, your message will be added to the > discussion > >>> below: > >>> > >>> > http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4- 10-0-20130801-and-getAdvancedTelemetry-tp29528p29598.html > >>> To unsubscribe from FlexMojos 6, Flex sdk 4.10.0.20130801, and > >>> getAdvancedTelemetry(), click here< > >>> >. > >>> NAML< > >>> > http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jt p?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml. namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.vi ew.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemai l.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aem ail.naml > >>> > > >>> > >>> > >>> > >>> > >>> -- > >>> View this message in context: > >>> > http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4- 10-0-20130801-and-getAdvancedTelemetry-tp29528p29601.html > >>> Sent from the Apache Flex Development mailing list archive at > Nabble.com. > >>> > >> > >> ________________________________ > >> If you reply to this email, your message will be added to the > discussion below: > >> > http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4- 10-0-20130801-and-getAdvancedTelemetry-tp29528p29608.html > >> To unsubscribe from FlexMojos 6, Flex sdk 4.10.0.20130801, and > getAdvancedTelemetry(), click here< > http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jt p?macro=unsubscribe_by_code&node=29528&code=bWljaGFlbC5zY2hhcnBAZm1yLmNvbXwy OTUyOHwtMTU2NDIyNDE0NA== > >. > >> NAML< > http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jt p?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml. namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.vi ew.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemai l.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aem ail.naml > > > >> > >> > >> > >> > >> -- > >> View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4- 10-0-20130801-and-getAdvancedTelemetry-tp29528p29611.html > >> Sent from the Apache Flex Development mailing list archive at > Nabble.com. >