itgirl Active Member Licensed User Longtime User Oct 30, 2015 #1 Hello guys i need some help to figure out how to use CustomBuildAction to make a backup of the whole project folder[Files,Objects....] and its contents before compiling also it would be better if before compiling checkout if the backup exists then delete it and make a new backup folder ! any one has idea about how to do so ?
Hello guys i need some help to figure out how to use CustomBuildAction to make a backup of the whole project folder[Files,Objects....] and its contents before compiling also it would be better if before compiling checkout if the backup exists then delete it and make a new backup folder ! any one has idea about how to do so ?
R Roycefer Well-Known Member Licensed User Longtime User Oct 30, 2015 #2 Sounds like you need Robocopy: http://ss64.com/nt/robocopy.html Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2015 #3 Check this tutorial: https://www.b4x.com/android/forum/t...sed-on-the-build-configuration.40875/#content Upvote 0
Check this tutorial: https://www.b4x.com/android/forum/t...sed-on-the-build-configuration.40875/#content
itgirl Active Member Licensed User Longtime User Oct 30, 2015 #4 Erel said: Check this tutorial: https://www.b4x.com/android/forum/t...sed-on-the-build-configuration.40875/#content Click to expand... Exactly what i was talking about, thank you so much Erel Upvote 0
Erel said: Check this tutorial: https://www.b4x.com/android/forum/t...sed-on-the-build-configuration.40875/#content Click to expand... Exactly what i was talking about, thank you so much Erel
itgirl Active Member Licensed User Longtime User Oct 30, 2015 #5 just in case anyone would be interested in how this work Code: #CustomBuildAction: 1, c:\windows\system32\robocopy.exe, ..\ ..\backups /MIR /XD ..\backups\ this way all your project files will be backed up in [backups] folder and the folder [backups] will be excluded and much more better solution is to make a backup file using Winrar if you have it installed Code: #CustomBuildAction: 1, C:\Program Files\WinRAR\Rar.exe, a -ep1 -r -xbackup.rar ..\backup.rar ..\ this will make a backup.rar in your project folder and will replace it every time you compile Last edited: Oct 30, 2015 Upvote 0
just in case anyone would be interested in how this work Code: #CustomBuildAction: 1, c:\windows\system32\robocopy.exe, ..\ ..\backups /MIR /XD ..\backups\ this way all your project files will be backed up in [backups] folder and the folder [backups] will be excluded and much more better solution is to make a backup file using Winrar if you have it installed Code: #CustomBuildAction: 1, C:\Program Files\WinRAR\Rar.exe, a -ep1 -r -xbackup.rar ..\backup.rar ..\ this will make a backup.rar in your project folder and will replace it every time you compile