Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Running a Xebium test without Maven #130

Open

Description

@wschreck

How is done? On Linux? On Windows?

Activity

  1. wschreck commented on Jun 24, 2014

    @wschreck
    Author

    And naturally not from within eclipse

  2. wschreck commented on Jun 24, 2014

    @wschreck
    Author

    All I get is:
    Exception in thread "main" java.lang.ClassNotFoundException: fitnesse.wiidgets.MavenClasspathSymbolType
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at fitnesse.ComponentFactory.loadSymbolTypes(ComponentFactory.ja
    at fitnesseMain.FitNesseMain.loadContext(FitNesseMain.java:131)
    at fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:37
    at fitnesseMain.FitNesseMain.main(FitNesseMain.java:28)

  3. jguglielmi commented on Jun 25, 2014

    @jguglielmi

    Good luck without Maven? The project is Maven based. You can use Ant and Ivy or some other type of project, but you need some compiler. That stack trace appears because the FitNesse variant is reliant upon Maven. It's in regards to the plugin used to add all of the pom dependencies to your classpath. You might want to maybe consider jarring Xebium with its dependencies then using it in your project to your liking if that's the way you're going? Your question is kind of broadly based though.

    https://github.com/amolenaar/fitnesse-maven-classpath

  4. amolenaar commented on Jun 26, 2014

    @amolenaar
    Member

    Hi,

    You can download xebium-0.11-jar-with-dependencies.jar and add that to your project (http://search.maven.org/#artifactdetails%7Ccom.xebia.incubator%7Cxebium%7C0.11%7Cjar). You'll have to define it in a page with the !path directive. We did not cook a jar-with-dependencies for the 0.12 release.

    Pretty straightforward actually.

    Are you using a different tool for dependency management maybe?

  5. wschreck commented on Jun 27, 2014

    @wschreck
    Author

    Thanks a lot, Arjan!!
    I have another question: must firefox (or aquivalent) be installed on the ‘fitnesse’ machine for the tests to work?
    If so, how does fitnesse/xebium find this browser?

    Unmaßgeblich
    Wolfgang Schrecker

    „Value enters the world with life….“
    Aus Thomas Nagel: Mind & Cosmos p.120

    From: Arjan Molenaar [mailto:notifications@github.com]
    Sent: Thursday, June 26, 2014 5:02 PM
    To: xebia/Xebium
    Cc: Schrecker, Wolfgang
    Subject: Re: [Xebium] Running a Xebium test without Maven (#130)

    Hi,

    You can download xebium-0.11-jar-with-dependencies.jar and add that to your project (http://search.maven.org/#artifactdetails%7Ccom.xebia.incubator%7Cxebium%7C0.11%7Cjar). You'll have to define it in a page with the !path directive. We did not cook a jar-with-dependencies for the 0.12 release.

    Pretty straightforward actually.

    Are you using a different tool for dependency management maybe?

  6. wschreck commented on Jun 27, 2014

    @wschreck
    Author

    Let me put this as square and simple as I can, what I want to do:

    On a linux machine runs fitnesse with some tests quite well. On this machine there is no JDK, no MAVEN, no FIREFOX, just JRE & fitnesse.
    On this machine I want to deploy XEBIUM, so I can run those test as well.

    All the xebium tests and my own run fine, when I start fitnesse from MAVEN.
    How can I move this to above mentioned linux machine?

  7. raboof commented on Jun 27, 2014

    @raboof
    Contributor

    XEBIUM provides SELENIUM integration to FITNESSE. SELENIUM needs a BROWSER. So if your linux machine does not have a BROWSER, you cannot use SELENIUM, hence you cannot use XEBIUM.

    You could, of course, use a headless browser like PhantomJS.

  8. mjvdende commented on Jun 27, 2014

    @mjvdende
    Contributor

    you can use sauce labs or your own equivalent. So in that context you can use Xebium on a server without a browser installed.

  9. wschreck commented on Jun 27, 2014

    @wschreck
    Author

    Super! OK, so I need a browser, fine!
    I installed a firefox.
    How then does Xebium find & connect to this browser?

    And thanks for the quick answers!!

    Unmaßgeblich
    Wolfgang Schrecker

    „Value enters the world with life….“
    Aus Thomas Nagel: Mind & Cosmos p.120

    From: Arnout Engelen [mailto:notifications@github.com]
    Sent: Friday, June 27, 2014 2:34 PM
    To: xebia/Xebium
    Cc: Schrecker, Wolfgang
    Subject: Re: [Xebium] Running a Xebium test without Maven (#130)

    XEBIUM provides SELENIUM integration to FITNESSE. SELENIUM needs a BROWSER. So if your linux machine does not have a BROWSER, you cannot use SELENIUM, hence you cannot use XEBIUM.

    You could, of course, use a headless browser like PhantomJS.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/130#issuecomment-47338190.

    Atos Worldline GmbH
    Geschäftsführer: Wolf Kunisch
    Aufsichtsratsvorsitzender: Christophe Duquenne
    Sitz der Gesellschaft: Frankfurt/Main
    Handelsregister: Frankfurt/Main HRB 40 417

    • * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *
      This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail by error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and shall not be liable for any damages resulting from any virus transmitted.
    • * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *
  10. raboof commented on Jun 27, 2014

    @raboof
    Contributor

    I'm not entirely sure, but I think it should simply pick it up when the firefox executable is on the PATH somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions