Vladimir Posted March 1, 2006 Report Share Posted March 1, 2006 Hi all, When I try to MassCompile directory under Subversion control LabView try to Mass Compile FOOBAR.vi.svn-base file in .svn subdirectory. This spent a lot of time and it isn't exactly what I want to do... It is posible to set some MassCompile Option to force ignore .svd directory ?? Thanks a lot, Vladimir Quote Link to comment
PJM_labview Posted March 1, 2006 Report Share Posted March 1, 2006 I dont think you can do that, but if you are using TortoiseSVN here is a work around (which may not be any faster). 1) Use the export function (right click over your folder>TortoisSVN>Export...) to export the whole directory structure to another folder (the svn folder are not exported) 2) Mass compile this new folder 3) Copy back (manually) the mass compiled files to the original folder under source control 4) Commit your changes Note: If I were you I would be very carefull not to do anything to these files in the .svn folder. You might end up damaging your repository. Good luck PJM Quote Link to comment
Jim Kring Posted March 2, 2006 Report Share Posted March 2, 2006 Hi all,When I try to MassCompile directory under Subversion control LabView try to Mass Compile FOOBAR.vi.svn-base file in .svn subdirectory. This spent a lot of time and it isn't exactly what I want to do... It is posible to set some MassCompile Option to force ignore .svd directory ?? Thanks a lot, Vladimir You might try installing TortoiseSVN with the .Net Hack option, which can be selected during installation and causes the .svn folders to be named as _svn instead. This might (I have not tested it), cause the mass compile utility to ignore the _svn folders -- there are several instances where LabVIEW ignores folders and files whose names begin with an underscore. Quote Link to comment
Vladimir Posted March 3, 2006 Author Report Share Posted March 3, 2006 You might try installing TortoiseSVN with the .Net Hack option, which can be selected during installation and causes the .svn folders to be named as _svn instead. This might (I have not tested it), cause the mass compile utility to ignore the _svn folders -- there are several instances where LabVIEW ignores folders and files whose names begin with an underscore. I have tried this manually, by renaming .svn to _svn, but with no effect. Quote Link to comment
Jim Kring Posted March 3, 2006 Report Share Posted March 3, 2006 I have tried this manually, by renaming .svn to _svn, but with no effect. Thanks for testing this. It's too bad that it didn't work. Quote Link to comment
lavezza Posted March 3, 2006 Report Share Posted March 3, 2006 If this is a problem you face often, you might be able to write your own Mass Compile GUI. I would: 1) rename the top-level directory (Project -> #Project#) 2) create a new Project folder 3) Recursively move folders and files from #Project# to Project, but leave out the .svn folders 4) Do a mass compile with an Application Invoke node pointing to Project 5) ?? Move the .svn folders to Project (will SVN rebuid those folders? I don't know. I used SVN at my old job, but haven't played with it in over a year) 6) Delete #Project# I think this would work. SVN would see all your VIs as being changed, but that happens no matter what. Pat Quote Link to comment
James N Posted August 30, 2006 Report Share Posted August 30, 2006 Here's how I handled it.. Open file Explorer and right click on the root diretory that you want to mass compile, then search for "*.svn.". Zip up all of those .svn directories. Winzip has a function to "Save full path info". Be sure this is checked. Now delete all of the .svn directories in the Search Results window. Do the mass compile. Last, unzip the all of the .svn directories back to their respective paths. -James Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.