Android Question #CustomBuildAction with FilesSync=True?

b4x-de

Active Member
Licensed User
Longtime User
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:
#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:
'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:
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Files_Dev" "..\Files" "*.*", FileSync=True

Thanks,
Thomas
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…