On Dec 30, 4:19 pm, "RedBugz Software" <[email protected]> wrote:
> On Tue, Dec 30, 2008 at 7:38 AM, Marc <[email protected]> wrote:
> > I have bumped into the same problem on Ubuntu Desktop 8.04 and Hudson
> > 1.263 with "mvn clean install -X":
>
> > [DEBUG] exec: [xdg-open, /var/...path.../myproject/target/test-classes/
> > TestRunner.swf]
> > [DEBUG] commandline: /bin/sh -c xdg-open /var/...path.../myproject/
> > target/test-classes/TestRunner.swf
> > [DEBUG] [SYSERR]: Error: no "view" mailcap rules found for type
> > "application/x-shockwave-flash"
> > [DEBUG] result: 4
> > [TASKS] Scipping maven reporter: there is already a result available.
>
> > When I log in on a desktop session and launch it in a shell like "xdg-
> > open /var/...path.../myproject/target/test-classes/TestRunner.swf",
> > the standalone player launches. However, when I look up the default
> > application for flash, there is a fishy message (that I do not
> > understand):
>
> > # xdg-mime query default application/x-shockwave-flash
> > xprop:  unable to open display ''
> > flashplayer.desktop
>
> Is this from a Desktop session? Normally the "unable to open display"
> is because you're on a headless server. If on Hudson, do you have the
> Xvnc plugin active?

Yes, it's on a Desktop. In fact, one line above I launched the
standalone player and it opened a window just fine.

As you suggest below, I use now flexUnitCommand and everything works
again. I wasn't aware of flexUnitCommand before, so I'm happy with the
configuration for Linux.

Thanks for the fast reply,
Marc


>
> > On my box, the default application for flash was totem. So I installed
> > manually flashplayer.desktop, updated defaults.list and
> > mimeinfo.cache. I guess this causes the troubles. How have you
> > registered flashplayer as the default player?
>
> On my Ubuntu desktop box, I just used ran the Flash Player installer
> for Linux from Adobe. On our Hudson server, we don't have xdg-open
> installed, so we override the flexUnitCommand configuration property
> when running there to call flashplayer directly.
>
> After reading the man pages for xdg-open, they don't recommend you use
> it outside of a desktop session, so that may be the wrong solution for
> CI servers anyway. I'm open to suggestions on the best way to launch
> the tests on Linux. The servebox plugin tries 3 different commands
> until one works.
>
> Logan
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to