You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. When I try to launch FitNesse runner under Linux agent, FitNesse could not be started.
Th reason is:
Runtime.getRuntime().exec(cmdFitnesse, null, new File(rootFolder));
where 'cmdFitnesse' contains command to run jar file and this command is surrounded by double-quotes("). When I remove double quotes, it starts working like a charm. Another problem with that: if I remove quotes, path to jar-file must not contain spaces.
The text was updated successfully, but these errors were encountered:
Thank you. But I don't have linux agents and never checked it. If you remove quotes you will have a problems on Windows agents with paths like "Program Files".
Agreed. But for Linux (Ubuntu in particular) it's well known issue with Java. Example here: http://www.cmsimike.com/blog/2010/11/15/linux-runtime-getruntime-exec-and-quotes/
I created a patch in which Windows systems use quotes, but non-Windows don't. It works well still.
By the way, do you mind if I create a fork of your project for our needs? In our company we have a lot of tasks for FitNesse and TeamCity so this plugin will grow. I believe :)
Hello. When I try to launch FitNesse runner under Linux agent, FitNesse could not be started.
Th reason is:
Runtime.getRuntime().exec(cmdFitnesse, null, new File(rootFolder));
where 'cmdFitnesse' contains command to run jar file and this command is surrounded by double-quotes("). When I remove double quotes, it starts working like a charm. Another problem with that: if I remove quotes, path to jar-file must not contain spaces.
The text was updated successfully, but these errors were encountered: