http://groups.google.com/group/flex-mojos/attach/399010c5135c010b/flexunit4-example.zip?part=4
On Fri, Mar 26, 2010 at 2:05 PM, Marvin Froeder <[email protected]> wrote: > The one I mailed you a few minutes ago.... > > > On Fri, Mar 26, 2010 at 2:04 PM, Brian <[email protected]> wrote: > >> @Velo - Can you give me a link to the sample you want me to try? Not >> sure which one you're referring to since there are so many ITs. >> >> -Brian >> >> On Mar 26, 12:57 pm, Marvin Froeder <[email protected]> wrote: >> > Ok, if you figure the cause would be nice to drop a line on the wiki. >> > >> > Just to be sure, my sample didn't worked there, did it? >> > >> > VELO >> > >> > On Fri, Mar 26, 2010 at 1:56 PM, Brian <[email protected]> wrote: >> > > @Velo - Ok, thanks for the help. I'll try it on a couple other >> > > machines and OSes to see what results I get. >> > >> > > -Brian >> > >> > > On Mar 26, 12:51 pm, Marvin Froeder <[email protected]> wrote: >> > > > 3.0-alpha-7... >> > >> > > > But the ITs are executed using 2.0.9 and it just work, so I don't >> think >> > > this >> > > > one is maven related. >> > >> > > > On Fri, Mar 26, 2010 at 1:48 PM, Brian <[email protected]> wrote: >> > > > > @Velo - Out of curiousity, which version of Maven are you running >> on >> > > > > your machine? I'm running 2.0.11. >> > >> > > > > -Brian >> > >> > > > > On Mar 26, 12:05 pm, Marvin Froeder <[email protected]> wrote: >> > > > > > It just works >> > >> > > > > > On Fri, Mar 26, 2010 at 1:02 PM, Brian <[email protected]> >> wrote: >> > > > > > > @Velo - Everything seems kosher with the sample I attached >> based on >> > > > > > > what you're saying, if you find time to take a peak, let me >> know. >> > > To >> > > > > > > make things easier going forward, I'll pull the Maven example >> from >> > > the >> > > > > > > FlexUnit4 samples and point the community to your integration >> > > examples >> > > > > > > on SVN. Thanks for the help. >> > >> > > > > > > -Brian >> > >> > > > > > > On Mar 26, 11:56 am, Marvin Froeder <[email protected]> >> wrote: >> > > > > > > > No, but just move the parent zip content to child pom. >> > >> > > > > > > > VELO >> > >> > > > > > > > On Fri, Mar 26, 2010 at 12:52 PM, Brian <[email protected]> >> > > wrote: >> > > > > > > > > @Velo - By SVN example, you mean the FM examples using the >> > > > > super-pom? >> > > > > > > > > Do you have samples not using the super-pom that work with >> > > flex- >> > > > > > > > > framework? If not, the zip has an example not using the >> > > super-pom >> > > > > > > > > that you could give a try. :) >> > >> > > > > > > > > -Brian >> > >> > > > > > > > > On Mar 26, 11:47 am, Marvin Froeder <[email protected]> >> wrote: >> > > > > > > > > > I took the SVN example and set flex version to >> 4.0.0.14159 >> > >> > > > > > > > > > VELO >> > >> > > > > > > > > > On Fri, Mar 26, 2010 at 12:44 PM, Brian < >> [email protected]> >> > > > > wrote: >> > > > > > > > > > > @Velo - If you got the example working then I'm crazy >> and >> > > will >> > > > > work >> > > > > > > it >> > > > > > > > > > > out on my own :) >> > >> > > > > > > > > > > On a side note, is 4.x going to address the transitive >> > > scope >> > > > > > > > > > > limitation on com.adobe.flex.framework:flex-framework >> such >> > > that >> > > > > the >> > > > > > > > > > > default framework RSLs will be used rather than just >> merged >> > > > > into >> > > > > > > the >> > > > > > > > > > > resulting swf/swc? Or is this something we'll have to >> wait >> > > on >> > > > > > > Maven 3 >> > > > > > > > > > > to get that type of support? >> > >> > > > > > > > > > > -Brian >> > >> > > > > > > > > > > On Mar 26, 11:36 am, Marvin Froeder < >> [email protected]> >> > > wrote: >> > > > > > > > > > > > I tried here, flex-framework work just fine. >> > >> > > > > > > > > > > > On Fri, Mar 26, 2010 at 12:28 PM, Brian LeGros < >> > > > > > > [email protected]> >> > > > > > > > > > > wrote: >> > > > > > > > > > > > > @Velo - Ok, looks like it's my project giving me >> > > issues. I >> > > > > > > updated >> > > > > > > > > > > > > the FlexUnit4 sample (as a hello world) to use >> Flex4 >> > > and >> > > > > > > > > 4.0.0.14159 >> > > > > > > > > > > > > and it worked when I explicitly specified the >> following >> > > > > > > framework >> > > > > > > > > > > > > dependencies (using default scope): >> > >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>text-layout</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>osmf</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>framework</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>spark</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>sparkskins</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>rpc</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>datavisualization</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <!-- Framework SWCs --> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>playerglobal</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <classifier>10.0</classifier> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > <scope>external</scope> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>flex</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>utilities</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <!-- Framework RBs --> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>spark</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>rb.swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>rpc</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>rb.swc</type> >> > > > > > > > > > > > > <classifier /> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>framework</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <type>rb.swc</type> >> > > > > > > > > > > > > <classifier /> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>datavisualization</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <classifier>en_US</classifier> >> > > > > > > > > > > > > <type>rb.swc</type> >> > > > > > > > > > > > > </dependency> >> > > > > > > > > > > > > <!-- Framework config --> >> > > > > > > > > > > > > <dependency> >> > > > > > > > > > > > > >> <groupId>com.adobe.flex.framework</groupId> >> > > > > > > > > > > > > <artifactId>framework</artifactId> >> > > > > > > > > > > > > <version>${flex.sdk.version}</version> >> > > > > > > > > > > > > <classifier>configs</classifier> >> > > > > > > > > > > > > <type>zip</type> >> > > > > > > > > > > > > </dependency> >> > >> > > > > > > > > > > > > When I used >> com.adobe.flex.framework:flex-framework in >> > > the >> > > > > POM, >> > > > > > > as >> > > > > > > > > the >> > > > > > > > > > > > > original example did, compilation failed with the >> > > following >> > > > > > > error: >> > >> > > > > > > > > > > > > [ERROR] >> > >> > > >> /Users/brian.legros/Desktop/blegros-flexunit-75184d2/FlexUnit4SampleCIProject/target/classes/libraries/spark.swc(spark.components:SkinnableContainer):[-1,-1] >> > > > > > > > > > > > > Type was not found or was not a compile-time >> constant: >> > > > > > > > > > > > > [mx.core]::IDeferredContentOwner. >> > >> > > > > > > > > > > > > I saw this is still the recommended way to use the >> SDK >> > > on >> > > > > the >> > > > > > > > > "Getting >> > > > > > > > > > > > > Started" page on the main website. Has this >> changed? >> > > I've >> > > > > > > > > attached a >> > > > > > > > > > > > > zip of the project using the >> > > > > > > > > com.adobe.flex.framework:flex-framework >> > > > > > > > > > > > > so you can see the compilation error. Please note >> I've >> > > > > only >> > > > > > > > > updated >> > > > > > > > > > > > > the POM, the Ant builds, and FlashBuilder metadata >> > >> > ... >> > >> > read more ยป >> >> -- >> 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]<flex-mojos%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/flex-mojos >> >> http://flexmojos.sonatype.org/ >> >> To unsubscribe from this group, send email to flex-mojos+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > -- 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 http://flexmojos.sonatype.org/ To unsubscribe from this group, send email to flex-mojos+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
