DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Project Root Not Empty?

Solved!
Go to solution

I ventured into DQMH again today, and after installing it fresh into LV2024 64-bit, I opened Project Creation and it stopped me from progressing with the statement "The "Project Root" you specified is not empty. To create a new project, you must specify the path to an empty directory"

 

Why must the root be empty? I'm trying to create a new LV DQMH project in a Git working directory, which is by it's very nature not going to be empty. I have a .gitignore, and a git subfolder, and I actually have my own folder in there too.


Do I have to create into a temporary location, close LabVIEW, move all the files, then reopen? Is that a safe workaround?

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 1 of 5
(679 Views)
Solution
Accepted by topic author Thoric

I think that's a reasonable workaround. Also note that this is a limitation for all project templates/sample projects, not just DQMH. The Create Project dialog requires that the destination folder for any new project be empty.

Message 2 of 5
(674 Views)

Thank you, Darren. You can clearly see how much I use the project creation dialogue myself! I guess I'm still fairly old school in some ways 😉

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 3 of 5
(653 Views)

We (HSE) have never run into this problem because our repository structure dictates a subfolder /Source for the actual source code. So that is by definition an empty folder.

 

See https://dokuwiki.hampel-soft.com/code/common/repository-structure




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )


0 Kudos
Message 4 of 5
(650 Views)

You might therefore find it ironic that the temporary folder I created became permanent and got renamed as "source" 😂

Thoric (CLA, CLED, CTD and LabVIEW Champion)


Message 5 of 5
(630 Views)