Starting with a full workspace of XMOS lib_* folders and my own project, I did the following. Clean the workspace to remove unnecessary files from the workspace.Uncheck "Start build immediately", otherwise it will re-create the files we are trying to remove.Export all projects and libraries in workspace to my local (working copy) SVN dir.Navigate to my SVN dir in "To directory".Choose "Create only selected directories".Manually copy and paste workspace folder somewhere temporary (just so you don't lose any code along the way).Make a new workspace (or simply empty out the old one if you like it's location on your computer).Link (but don't copy) projects and libraries from SVN dir into workspace.xTIMEcomposer will restart in the new workspace.If you changed the workspace location, do this. Make sure "Copy projects into workspace" is not checked.Click "Select All" to choose all projects and libraries.Click "Browse" and navigate to the SVN dir where your projects and libraries were exported.File > Import > General > Existing Projects into Workspace. Now if you use your computer's normal file manager (Windows = File manager, Mac = "Finder", etc.) and navigate to the workspace location, you should only see a /.metadata directory. Use xscope without xtimecomposer xmos mac# There should be no projects or libraries. If I make changes to, say, main.xc, my SVN client will notice the changes, but none of the workspace-specific files (i.e. the whole /.metadata directory madness) are tracked. On any new machine, after I checkout my SVN repo, (assuming a clean/empty workspace folder) I simply have to run through the Import operation ( Step 8), being careful to make sure the "copy" option is unchecked, and I should be good to go. For any new libraries or projects I make, I can choose to create them inside the SVN dir, instead of the workspace. This results in the same behavior as above where the files are linked to but not inside of the workspace folder. Since this has nothing to do with SVN in particular, but rather the separation of my code from the workspace folder, this should work fine for Git, Mercurial, or whatever else you feel like using. Use xscope without xtimecomposer xmos mac#.Use xscope without xtimecomposer xmos code#.Use xscope without xtimecomposer xmos full#.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |