OneDrive and Crestron Software/projects


 

Hi All,
I'm setting up a new desktop and laptop, and am planning to reconfigure how I deal with file structure and backup.
I'm leaning toward OneDrive, but know that I need to do work on files that are locally sourced vs in the cloud.
My thought is that both my DT and LT will have all the files primarily local, and just push changes to the cloud so that the other machine will have any updated files when it needs them.
1. What are your experiences or suggestions regarding this approach with OneDrive
 
2. Any other non-tweeky solutions that others are using for this
 
TIA!


 

Hi,

i´m doing exactly that with my desktop and my laptop for a couple of years now.

I do the main development work on my fast desktop with multiple screens and I use my laptop being on site.

All the files are in the OneDrive cloud and replicated locally to both the desktop and laptop.

This works fairly well if you allow the time for the update to/from the cloud when files change.

The main reason i´m running into issues is when I did updates on-site and then packing up the laptop without letting it do the updates to the cloud and then opening the project at the desktop and wondering what happened to the updates I did…

 

HTH,

Thorsten

 

Von: crestron@groups.io <crestron@groups.io> Im Auftrag von ckangis
Gesendet: Montag, 11. November 2024 15:48
An: crestron@groups.io
Betreff: [crestron] OneDrive and Crestron Software/projects

 

Hi All,

I'm setting up a new desktop and laptop, and am planning to reconfigure how I deal with file structure and backup.

I'm leaning toward OneDrive, but know that I need to do work on files that are locally sourced vs in the cloud.

My thought is that both my DT and LT will have all the files primarily local, and just push changes to the cloud so that the other machine will have any updated files when it needs them.

1. What are your experiences or suggestions regarding this approach with OneDrive

 

2. Any other non-tweeky solutions that others are using for this

 

TIA!


 

Hi Thorsten,
That's great news!
Just to clarify regarding closing your LT 'too fast' when on site, I assume that if you boot up your LT once you get back to your office and let it update, then your DT will have access to the changes, is that correct??
 
I too have a problem with moving too fast!!...haha!


 

I've actually had problems when compiling a SIMPL program while live on OneDrive. I've done a couple of things to avoid any issues (which, btw, I don't fully understand, but accept). To begin with, I used to simply pause syncing while actively working on (and conceivably compiling multiple times). The danger for me is that I don't do Crestron stuff everyday, and it's easy to forget to turn something off when I'm otherwise blissfully unaware that it's on.
 
I came up with another solution; I created a "temporary workspace" folder on my C: drive, which is not a part of what OneDrive syncs. I move my project/program folder to this drive while I'm working on it, then move it back to a sync'd folder when I'm finished. This has an added benefit: I used to get warnings from SIMPL and VTP that my file names were too long - which is not a surprise, considering the levels of folders potentially involved, but by putting programs and VTP projects on the C: drive while working and compiling, the names are significantly shorter.


 

I use OneDrive without pausing it and haven't had compiler issues in SIMPL, SIMPL+, VTP, VS 2008 and VS2002 for more than 2 years now.
 
I use folder symbolic links to reference the working SMW, VTP, etc. files. (with the /D and /J option). The folder link will look like a shortcut but it's not.
This also lets me work around the path file length limits.
This also lets me work without transferring back and forth between a workspace folder and a OneDrive folder.
The only program that doesn't work with symbolic links correctly is Construct, as somewhere in the compiler it will find the actual path (probably some kind of webpack compiler thing). But Construct works on long path names so it's not so much an issue aside from the quirks that are Construct.
 
So if the OneDrive folder is C:\user\OneDrive\...\Projects\...\ProjectName
I have a symbolic link that shortens it to C:\Projects\...\ProjectName
 
I would then open the SMW files using the shortened path.
This lets OneDrive passively work in the background instead of scanning active applications and file changes. It's a slower sync but works nicely for user libs as well.
I've set my UsrSplus, UsrMacro, and UsrDb folders SIMPL uses as symbolic links pointing to OneDrive folders so that my libs are also sync'ed.
 
My current setup for Simpl folder is
C:\usrsplus
C:\usrmacro
C:\usrdb
 
Here's a link and more info on symbolic links
 
 


 

I've been using OneDrive for my Crestron projects (as well as most files) for the last several years and haven't had an issue yet, even working the project and compiling live, however YMMV. Only issue I have is like above: close up too fast without allowing enough time to sync. But I normally open up my laptop once back in the office so it normally syncs up before I need to access it again anyways.


 

Yep, same here.

 

Cheers,

Thorsten

 

Von: crestron@groups.io <crestron@groups.io> Im Auftrag von Aaron R via groups.io
Gesendet: Dienstag, 12. November 2024 17:31
An: crestron@groups.io
Betreff: Re: [crestron] OneDrive and Crestron Software/projects

 

I've been using OneDrive for my Crestron projects (as well as most files) for the last several years and haven't had an issue yet, even working the project and compiling live, however YMMV. Only issue I have is like above: close up too fast without allowing enough time to sync. But I normally open up my laptop once back in the office so it normally syncs up before I need to access it again anyways.


 

Syncing with OneDrive has worked great for me for many years between my laptop and desktop for VTPro and SIMPL. Not for Construct though as mentioned. Google drive for desktop has not worked well for me.