@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 were not updated.
>
> > -Brian
>
> > On Fri, Mar 26, 2010 at 11:09 AM, Brian <[email protected]> wrote:
> > > On Mar 25, 5:43 pm, Marvin Froeder <[email protected]> wrote:
> > >> If you can provide a hello world sample like of the problem, yes,
> > otherwise
> > >> is worthless.
>
> > >> VELO
>
> > >> On Thu, Mar 25, 2010 at 6:31 PM, Brian <[email protected]> wrote:
> > >> > I have a project using FM 3.6-SNAPSHOT and SDK 4.0.0.10485, it's
> > >> > running w/o issue including the integration with the built-in unit
> > >> > testing support.  The stand-alone FP opens and closes as expected.
> > >> > When I upgraded to 4.0.0.13875, I'm getting a time out from the FM
> > >> > test runner.  The trace output from my debug log file shows successful
> > >> > runs of all my tests and then the rest of the file is this repeated
> > >> > over and over again:
>
> > >> > Property canClose is false
> > >> > Replying OK
> > >> > Data handler received data: Server Status
>
> > >> > The Maven debug output shows the following with the last segment
> > >> > occurring over and over again until I kill the build process:
>
> > >> > [DEBUG] [LAUNCHER] Creating process
> > >> > [WARNING] [LAUNCHER] Using regular flashplayer tests
> > >> > [DEBUG] [LAUNCHER] Process created java.lang.unixproc...@35e32ea2
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger STARTED
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [LAUNCHER] Output pumpers ON
> > >> > [DEBUG] [LAUNCHER] Waiting for flashplayer termination
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger STARTED
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] accepting data
> > >> > from client
> > >> > [DEBUG] [CONTROL] AsVmControl handleRequest
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [CONTROL] query status
> > >> > [DEBUG] [CONTROL] received status
> > >> > [DEBUG] [CONTROL] status is: OK
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler STARTED
> > >> > [DEBUG] [MOJO] launcher RUNNING
> > >> > [DEBUG] [MOJO] pinger RUNNING
> > >> > [DEBUG] [MOJO] resultHandler
>
> ...
>
> 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]
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.

Reply via email to