slynch8 / 10x

10x IDE/Editor
185 stars 33 forks source link

build command fails with workspace created over menu #2555

Closed blups0r closed 1 week ago

blups0r commented 4 months ago

When i create a workspace over File->Create Workspace and fill out all required fields and try to execute my build command i get below error.

Create Workspace 1 grafik

Create Workspace 2 grafik

Error during build grafik

The messsage says "The directory name is invalid"

The interesting thing is when i copy an old workspace file and change the name and open it it just works fine. The only difference between those 2 files is the ConfigProperties and IncludeFilesWithoutExt tag. The created one has no ConfigProperties and the old copied one has entries.

What i saw is that the new created one loads stuff in different order than the old one. See below.

Error 10x output grafik

Working 10x output grafik

I also attached the simple project were it did not work. It contains both workspaces. Named accordingly 10x_error.zip

Another thing is when i edit to not working file to match the working one it still does not work. But when i copy over the whole content from the working to the not working one it works just fine.

Feel Free to ask for more information. It is a really strange issue. I love your work. Keep it up

slynch8 commented 4 months ago

I haven't had a chance to investigate this yet, but I notice that your working directory is set to build.bat. It should be set to the working directory for the build script, or leave it blank to use the workspace root directory.

blups0r commented 1 week ago

leaving the working directory blank solved the issue. Thank you for your help and great editor.