b4x-de Active Member Licensed User Longtime User May 1, 2024 #1 I need to automate the build procedure of several B4A projects. My goal is to have nightly builds running to build multiple projects for different environments (i.e. dev, test, staging, prod) automatically without any user interaction. I know we have #CustomBuildAction that can be used to copy files: B4X: Copy #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Files_Dev" "..\Files" "*.*" I know that we also have Comment Links that can be used to copy file, when the user clicks the link: B4X: Copy 'ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Files_Dev&args=..\Files&FilesSync=True My question is: Do only comment links support the feature of FilesSync=True, that is to cause the IDE to sync the Files folder after operation completes? Can I do the same with a CustomBuildAction, similar to this line? B4X: Copy #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Files_Dev" "..\Files" "*.*", FileSync=True Thanks, Thomas
I need to automate the build procedure of several B4A projects. My goal is to have nightly builds running to build multiple projects for different environments (i.e. dev, test, staging, prod) automatically without any user interaction. I know we have #CustomBuildAction that can be used to copy files: B4X: Copy #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Files_Dev" "..\Files" "*.*" I know that we also have Comment Links that can be used to copy file, when the user clicks the link: B4X: Copy 'ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Files_Dev&args=..\Files&FilesSync=True My question is: Do only comment links support the feature of FilesSync=True, that is to cause the IDE to sync the Files folder after operation completes? Can I do the same with a CustomBuildAction, similar to this line? B4X: Copy #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Files_Dev" "..\Files" "*.*", FileSync=True Thanks, Thomas
Erel B4X founder Staff member Licensed User Longtime User May 1, 2024 #2 No, but in most cases it shouldn't matter. All files will be included, even if they aren't listed. You might have issues with layout files. Upvote 0
No, but in most cases it shouldn't matter. All files will be included, even if they aren't listed. You might have issues with layout files.