Is any change missing or what? Lemme know if I have any broken doc so I can fix it.
VELO On Jun 25, 4:11 pm, "Hessick, Michael" <[email protected]> wrote: > It was my pom file..... > > There's the example project pom. You can't just change it in 2 places and > have it work. > > Get the POM file from the link after it (with the changes included) that one > works for the example. > > -mike > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Hessick, Michael > Sent: Friday, June 25, 2010 12:35 PM > To: Flex Mojos > Subject: [flex-mojos] Flex Mojos 4 / Test Coverage example issues . . .not > generating coverage reports > > I retreived the example project from Sonatype : > > http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-to... > > I retrieved the flexmojos alpha 3 here : > > http://svn.sonatype.org/flexmojos/tags/flexmojos-4.0-alpha-3/ > > I retrieved apparat (using the apaprat-1.0-FLEXMOJOS-r511) tag from > googlecode > > I built apparat, then flexmojos4. After making modifications to the > example project pom (as directed on the sonatype webpage) I ran mvn > install clean on the example > > It runs the tests, but no coverage reports are ever generated. > > here's the output from the build: > > ========================================== > > C:\example\flexunit-example>mvn clean install > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building calculator-api 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > Downloading:http://repository.sonatype.org/content/groups/flexgroup/org/apache/ma... > Downloading:http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-r... > Downloading:http://repository.sonatype.org/content/groups/flexgroup/org/apache/ma... > Downloading:http://repository.sonatype.org/content/groups/flexgroup/org/apache/ma... > Downloading:http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-i... > Downloading:http://repository.sonatype.org/content/groups/flexgroup/org/apache/ma... > Downloading:http://repository.sonatype.org/content/groups/flexgroup/org/apache/ma... > Downloading:http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-d... > Downloading:http://repository.sonatype.org/content/groups/flexgroup/org/apache/ma... > [INFO] > [INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ calculator- > api --- > [INFO] Deleting C:\example\flexunit-example\target > [INFO] > [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) > @ calculator-api --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory C:\example\flexunit-example > \src\main\resources > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-alpha-3:compile-swc (default- > compile-swc) @ calculator-api --- > [INFO] Flexmojos 4.0-alpha-3 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [INFO] Writing configuration dump to C:\example\flexunit-example\target > \calculator-api-1.0-SNAPSHOT-configs.xml > [INFO] C:\example\flexunit-example\target\calculator-api-1.0- > SNAPSHOT.swc (1999 bytes) > [INFO] > [INFO] --- maven-resources-plugin:2.4.3:testResources (default- > testResources) @ calculator-api --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory C:\example\flexunit-example > \src\test\resources > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-alpha-3:test-compile (default- > test-compile) @ calculator-api --- > [INFO] Flexmojos 4.0-alpha-3 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [INFO] Compiling test class: [com.adobe.example.TestCalculator, > com.adobe.example.TestCalculator2] > [INFO] Writing configuration dump to C:\example\flexunit-example\target > \test-classes\TestRunner-configs.xml > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[246,-1] The st > yle 'backgroundColor' is only supported by type 'mx.core.Application' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[488,-1] The st > yle 'dropShadowVisible' is only supported by type 'mx.controls.List' > with the theme(s) 'spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[505,-1] The st > yle 'cornerRadius' is only supported by type 'mx.core.Container' with > the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1025,-1] The s > tyle 'borderColor' is only supported by type 'mx.containers.Panel' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1023,-1] The s > tyle 'backgroundColor' is only supported by type 'mx.containers.Panel' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1029,-1] The s > tyle 'cornerRadius' is only supported by type 'mx.containers.Panel' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1025,-1] The s > tyle 'borderAlpha' is only supported by type 'mx.containers.Panel' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1372,-1] The s > tyle 'borderColor' is only supported by type > 'mx.containers.TabNavigator' with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1371,-1] The s > tyle 'backgroundColor' is only supported by type > 'mx.containers.TabNavigator' with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1512,-1] The s > tyle 'borderColor' is only supported by type 'mx.controls.ToolTip' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1510,-1] The s > tyle 'backgroundColor' is only supported by type 'mx.controls.ToolTip' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1515,-1] The s > tyle 'cornerRadius' is only supported by type 'mx.controls.ToolTip' > with the theme(s) 'halo, spark'. > [WARNING] C:\Documents and Settings\a434935\.m2\repository\com\adobe > \flex\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc > $defaults.css:[1512,-1] The s > tyle 'backgroundAlpha' is only supported by type 'mx.controls.ToolTip' > with the theme(s) 'halo, spark'. > [INFO] C:\example\flexunit-example\target\test-classes\TestRunner.swf > (944872 bytes) > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-alpha-3:test-run (default-test- > run) @ calculator-api --- > [INFO] Flexmojos 4.0-alpha-3 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > [INFO] Running tests C:\example\flexunit-example\target\test-classes > \TestRunner.swf > [WARNING] [LAUNCHER] Using regular flashplayer tests > [INFO] > ------------------------------------------------------------------------ > [INFO] Tests run: 2, Failures: 0, Errors: 0, Time Elapsed: 0 sec > [INFO] > [INFO] --- flexmojos-maven-plugin:4.0-alpha-3:create-rsl (default- > create-rsl) @ calculator-api --- > [INFO] Flexmojos 4.0-alpha-3 > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > file > C:\example\flexunit-example\target\classes\original.swf (1192 bytes) > C:\example\flexunit-example\target\classes\optimized.swf (808 bytes) > [i] Compression ratio: 0.0% > [i] Total bytes: 0 > [i] Compression ratio: 0.0% > [i] Total bytes: 0 > [INFO] Optimization result: 67.79% > [INFO] > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ > calculator-api --- > [INFO] Installing C:\example\flexunit-example\target\calculator- > api-1.0-SNAPSHOT.swc to C:\Documents and Settings > \a434935\.m2\repository\com\adobe\samples\calcu > lator-api\1.0-SNAPSHOT\calculator-api-1.0-SNAPSHOT.swc > [INFO] Installing C:\example\flexunit-example\target\calculator- > api-1.0-SNAPSHOT.swf to C:\Documents and Settings > \a434935\.m2\repository\com\adobe\samples\calcu > lator-api\1.0-SNAPSHOT\calculator-api-1.0-SNAPSHOT.swf > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 16.745s > [INFO] Finished at: Fri Jun 25 12:32:36 MDT 2010 > [INFO] Final Memory: 7M/105M > [INFO] > ------------------------------------------------------------------------ > C:\example\flexunit-example> > > =========================================== > > Here is the POM file : > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http:// > maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > > <parent> > > ... > > 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/
