Dear list, Has anyone tried to compiled the player's .swf file? I know this is supposed to be done with matterhorn-engage-player.
First we tried with 1.1 and 1.2 versions, but compilation fails because a certain component called "DRMEvents" is required, but it's not supported until FlexMojo version 4, and the one indicated in the pom.xml is 3.something . Then we tried using the trunk version but there are some CSS variables which are not defined (please see log attached). Then we edited the pom.xml in the 1.2 version to use FlexMojo version 4, and we finally got the same errors than the previous case (CSS errors). Can somebody give us any clue on what's happening? How is the .swf built, if the compilation of this module is broken? Thanks for your help Rubén
mvn package [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.opencastproject:matterhorn-engage-player:swf:1.4-SNAPSHOT [WARNING] 'reporting.plugins.plugin.version' for gr.abiss.mvn.plugins:maven-jstools-plugin is missing. @ line 259, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building matterhorn-engage-player 1.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repository.opencastproject.org/nexus/content/groups/public/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml Downloading: http://repository.sonatype.org/content/groups/flexgroup/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml from/to opencast (http://repository.opencastproject.org/nexus/content/groups/public): Failed to transfer file: http://repository.opencastproject.org/nexus/content/groups/public/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml. Return code is: 500, ReasonPhrase:Internal Server Error. Downloading: http://repository.sonatype.org/content/groups/flexgroup/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml [INFO] [INFO] --- maven-checkstyle-plugin:2.6:check (default) @ matterhorn-engage-player --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ matterhorn-engage-player --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/resources [INFO] [INFO] --- flexmojos-maven-plugin:4.0-RC2:compile-swf (default-compile-swf) @ matterhorn-engage-player --- [INFO] Flexmojos 4.0-RC2 [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file [WARNING] No themes are explicitly defined in the <theme> section or in any scope="theme" dependencies. Flexmojos is now attempting to figure out which themes to include. (to avoid this warning you should explicitly state your theme dependencies) [WARNING] Adding spark.css theme because spark.swc was included as a dependency [INFO] Writing configuration dump to /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/target/matterhorn-engage-player-1.4-SNAPSHOT-configs.xml [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/model/VideodisplayModel.as:[201,55] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. public var mediaContainerLeftWidth:int=(Application.application.width - 10) / 2; [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/model/VideodisplayModel.as:[207,56] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. public var mediaContainerRightWidth:int=(Application.application.width - 10) / 2; [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[1,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[7,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[13,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[26,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[39,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[43,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[47,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[51,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[55,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[59,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[63,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[67,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[71,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[75,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[79,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[84,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[89,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[93,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[97,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[101,-1] Type 'Button' in CSS selector 'Button' must be qualified with a namespace. [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[53,-1] class for skin 'Button_audioof_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[49,-1] class for skin 'Button_audiomin_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[103,-1] class for skin 'Button_ccdisabled_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[45,-1] class for skin 'Button_audiomed_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[107,-1] class for skin 'Slider_thumbSkin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[81,-1] class for skin 'Button_skipbackward_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[41,-1] class for skin 'Button_audiomax_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[99,-1] class for skin 'Button_cc_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[73,-1] class for skin 'Button_play_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[69,-1] class for skin 'Button_pause_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[95,-1] class for skin 'Button_skipforwarddisabled_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[65,-1] class for skin 'Button_fullscreen_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[61,-1] class for skin 'Button_forward_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[109,-1] class for skin 'Slider_trackHighlightSkin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[108,-1] class for skin 'Slider_trackSkin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[4,-1] class for skin 'Button_fullscreenlarge_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[77,-1] class for skin 'Button_scrubber_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[57,-1] class for skin 'Button_backward_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[91,-1] class for skin 'Button_skipforward_skin' not found [ERROR] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/style/Videodisplay.css:[86,-1] class for skin 'Button_skipbackwarddisabled_skin' not found [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/view/CoverView.mxml:[51,-1] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/view/FullscreenVideoControlsView.mxml:[161,-1] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/view/Splashscreen.mxml:[56,-1] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/view/Splashscreen.mxml:[63,-1] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. [WARNING] /home/nacho/mh/mh-trunk/modules/matterhorn-engage-player/src/main/flex/org/opencast/engage/videodisplay/view/Splashscreen.mxml:[64,-1] application' está en desuso desde 4.0. Utilice 'FlexGlobals.topLevelApplication'. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.799s [INFO] Finished at: Thu Mar 01 16:45:36 CET 2012 [INFO] Final Memory: 19M/248M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:compile-swf (default-compile-swf) on project matterhorn-engage-player: Got 20 errors building project, check logs -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
