Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346572 - The -data option does not work when autrun command is executed
Summary: The -data option does not work when autrun command is executed
Status: CLOSED WONTFIX
Alias: None
Product: Jubula
Classification: Technology
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 21:46 EDT by Vladimir CLA
Modified: 2013-12-17 07:47 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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