Update run configurations when a feature file is moved with Eclipse
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.
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...
You can fix that manually by clicking right -> run as -> run configuration and update the feature path.
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! 👍
@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
Thank you very much!