Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346572

Summary: The -data option does not work when autrun command is executed
Product: [Technology] Jubula Reporter: Vladimir <vladimir_krutenev>
Component: ToolsAssignee: Project Inbox <jubula.tools-inbox>
Status: CLOSED WONTFIX QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: major    
Priority: P3 CC: Achim.Loerke, alexandra.schladebeck, andreas.scharf
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Vladimir CLA 2011-05-19 21:46:16 EDT
See example:
autrun.exe -rcp -i Eclipse_Galileo -g true -k en_US -e c:\Eclipse\eclipse.exe -data c:\myworkspace

If you try to launch eclipse via autrun command prompt dialog occurs showing you default workspace. The -data option does not work at all even if you add this option after executable file according to UserManual's recommendation.
Comment 1 Alexandra Schladebeck CLA 2011-05-20 03:15:57 EDT
I can reproduce the problem described. 

There is a workaround though: if you put the command for the application and the -data parameter in a script and enter the script as the -e parameter, then it works. 

The command for autrun would then look like this, for example:

autrun.exe -rcp -i Eclipse_Galileo -g true -k en_US -e c:\Eclipse\myeclipsescript.cmd

And in the myeclipsescript.cmd you would have the following:

eclipse.exe -data c:\myworkspace
Comment 2 Alexandra Schladebeck CLA 2013-12-13 09:02:02 EST
Since there is a workaround, I'm going to close this as wontfix. If anyone has new / other arguments, please reopen.
Comment 3 Oliver Goetz CLA 2013-12-17 07:47:27 EST
Closed due to comment 2