mattcasters commented on a change in pull request #735:
URL: https://github.com/apache/incubator-hop/pull/735#discussion_r608690783
##########
File path:
plugins/misc/projects/src/main/java/org/apache/hop/projects/gui/ProjectsGuiPlugin.java
##########
@@ -239,7 +244,20 @@ public void addNewProject() {
// Save the project-config.json file as well in the project itself
//
- project.saveToFile();
+ File configFile = new File(projectConfig.getConfigFilename());
+
+ if (!configFile.exists()) {
Review comment:
This never works for relative paths. We need to check a path relative to
the project location.
We can use: `projectConfig.getActualProjectConfigFilename(variables)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]