Confusion about "Java properties file format"

14 views
Skip to first unread message

Ben Frey

unread,
Oct 15, 2019, 3:59:56 PM10/15/19
to Geb User Mailing List
In the BoG section about cloud browser testing (https://gebish.org/manual/3.0.1/#creating-a-driver) there is discussion on setting the geb.saucelabs.browser Java system property to a collection of values. I'm confused on the syntax of this since the Oracle docs seem to say one key to one value. Does this section mean I would create three keys that all start with geb.saucelabs.browser?

Marcin Erdmann

unread,
Oct 16, 2019, 3:24:19 AM10/16/19
to geb-...@googlegroups.com
Yeah, that section could probably do with some improvements. Also, as far as I remember, this property cannot be populated using a Java system property file because the format for them is one line per property and that property is designed to contain multiple lines. But all that shouldn't matter if only you use the Gradle plugin for configuring a driver at SauceLabs provided by Geb. Is there a reason why you don't want to or cannot use it?

On Tue, Oct 15, 2019 at 8:59 PM Ben Frey <sparta...@gmail.com> wrote:
In the BoG section about cloud browser testing (https://gebish.org/manual/3.0.1/#creating-a-driver) there is discussion on setting the geb.saucelabs.browser Java system property to a collection of values. I'm confused on the syntax of this since the Oracle docs seem to say one key to one value. Does this section mean I would create three keys that all start with geb.saucelabs.browser?

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/37f65a5b-14eb-426a-85d4-ebebfc1f3317%40googlegroups.com.

Ben Frey

unread,
Oct 16, 2019, 9:31:46 AM10/16/19
to Geb User Mailing List
Turns out we don't have any of the plugins/dependencies specified at https://gebish.org/manual/3.0.1/#geb-saucelabs-plugin currently in our in-house Maven repository. I can certainly pursue bringing those in as long as they're all open source. I assume that's the case?


On Wednesday, October 16, 2019 at 2:24:19 AM UTC-5, Marcin Erdmann wrote:
Yeah, that section could probably do with some improvements. Also, as far as I remember, this property cannot be populated using a Java system property file because the format for them is one line per property and that property is designed to contain multiple lines. But all that shouldn't matter if only you use the Gradle plugin for configuring a driver at SauceLabs provided by Geb. Is there a reason why you don't want to or cannot use it?

On Tue, Oct 15, 2019 at 8:59 PM Ben Frey <sparta...@gmail.com> wrote:
In the BoG section about cloud browser testing (https://gebish.org/manual/3.0.1/#creating-a-driver) there is discussion on setting the geb.saucelabs.browser Java system property to a collection of values. I'm confused on the syntax of this since the Oracle docs seem to say one key to one value. Does this section mean I would create three keys that all start with geb.saucelabs.browser?

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-...@googlegroups.com.

Marcin Erdmann

unread,
Oct 17, 2019, 9:52:00 AM10/17/19
to geb-...@googlegroups.com
Yes, they are part of Geb's codebase, so ASL2 licensed.

To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/db60968e-e739-4e08-ba8f-839659c5df03%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages