cucumber-eclipse icon indicating copy to clipboard operation
cucumber-eclipse copied to clipboard

Update run configurations when a feature file is moved with Eclipse

Open Flaburgan opened this issue 7 years ago • 5 comments

Steps to reproduce: Create a feature file Move it to another folder Run the feature file by right clicking it it, Run as, Cucumber Feature

What happens: Exception in thread "main" java.lang.IllegalArgumentException: Not a file or directory: [the old path of the file]

What should happen: The run configuration should be updated to use the new path of the file, and the file should be run properly.

Flaburgan avatar Feb 02 '18 16:02 Flaburgan

Steps to reproduce: Create a feature file Move it to another folder Run the feature file by right clicking it it, Run as, Cucumber Feature

What happens: Exception in thread "main" java.lang.IllegalArgumentException: Not a file or directory: [the old path of the file]

What should happen: The run configuration should be updated to use the new path of the file, and the file should be run properly.

Suffered this as well...

futrethegreat avatar Feb 26 '18 00:02 futrethegreat

You can fix that manually by clicking right -> run as -> run configuration and update the feature path.

Flaburgan avatar Feb 26 '18 16:02 Flaburgan

You can fix that manually by clicking right -> run as -> run configuration and update the feature path.

Yes, I found that workarround but it will be more professional if the IDE could do it automatically when any file is moved. Thank you for your advise! 👍

futrethegreat avatar Feb 26 '18 23:02 futrethegreat

@Flaburgan, @futrethegreat, Already aware of this issue and this is the work around. Let me analyse first and if possible we have to fix it.

Thanks, Girija

girijant avatar Feb 27 '18 02:02 girijant

Thank you very much!

futrethegreat avatar Feb 27 '18 09:02 futrethegreat