Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Aut-Arg from pom.xml wrongly passed
Aut-Arg from pom.xml wrongly passed [message #1730773] Thu, 28 April 2016 11:52 Go to next message
Marcus Höpfner is currently offline Marcus HöpfnerFriend
Messages: 56
Registered: February 2014
Member
Hi,

in pom.xml we have (in build/plugins/plugin[rcptt-maven-plugin]/configuration/aut:
<args>
	<arg>-eclipse.keyring /path/to/my/secure_storage</arg>
	<arg>-eclipse.password /path/to/my/passwd_file</arg>
</args>


This is passed to aut but wrapped in double quotes (according to console log in Jenkins Job)
AUT arguments: "-eclipse.keyring  /path/to/my/secure_storage" "-eclipse.password /path/to/my/passwd_file" -os ${target.os} -arch ${target.arch} -consoleLog


They are not considered by AUT/Eclipse, means tests stuck on secure storage password popup which I want to prevent with this options.

When starting the AUT manually from console it works like this:
parameters passed without double quotes-->no secure storage popup
parameters passed with double quotes --> secure storage popup

Guess there shouldn't be any double quotes. Runner is preparing this?!

Is this a bug?
Is there a workaround to overcome this.

Thanks, Marcus
Re: Aut-Arg from pom.xml wrongly passed [message #1731004 is a reply to message #1730773] Mon, 02 May 2016 06:12 Go to previous messageGo to next message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 75
Registered: February 2015
Member
Hi,

You just need to split it into 4 parameters. If parameters contain spaces it will be quoted.

<args>
<arg>-eclipse.keyring</arg>
<arg>/path/to/my/secure_storage</arg>
<arg>-eclipse.password</arg>
<arg>/path/to/my/passwd_file</arg>
</args>

Best regards,
Andrey.
Re: Aut-Arg from pom.xml wrongly passed [message #1731671 is a reply to message #1731004] Mon, 09 May 2016 07:06 Go to previous message
Marcus Höpfner is currently offline Marcus HöpfnerFriend
Messages: 56
Registered: February 2014
Member
That worked. Thanks
Previous Topic:get a screenshot when a test case failed
Next Topic:Get the name of a testcase by ECL command (i.e. by variable substitution)
Goto Forum:
  


Current Time: Thu Apr 25 02:18:00 GMT 2024

Powered by FUDForum. Page generated in 0.02829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top