E elpic76 Member Licensed User Longtime User Mar 30, 2018 #1 Good morning, taking inspiration from the thread of B4A "Compilation time and auto-increment build version" (https://www.b4x.com/android/forum/t...d-auto-increment-build-version.64183/#content) I tried to implement for B4i too. So I tried with the following: B4X: #CustomBuildAction: 2, C:\Program Files\Java\jdk1.8.0_25\bin\java.exe, -jar C:\b4x_compile_version\compiletime.jar and I have the following error: B4X: B4i Version: 4.81 Parsing code. Error Invalid build step: 2 While if i use the following the compilation starts ok: B4X: #CustomBuildAction: 1, C:\Program Files\Java\jdk1.8.0_25\bin\java.exe, -jar C:\b4x_compile_version\compiletime.jar So using build step equal to 1 is it possible to obtain the same functionality of the B4A? What are the build step allowed values and what do they mean? Best regards.
Good morning, taking inspiration from the thread of B4A "Compilation time and auto-increment build version" (https://www.b4x.com/android/forum/t...d-auto-increment-build-version.64183/#content) I tried to implement for B4i too. So I tried with the following: B4X: #CustomBuildAction: 2, C:\Program Files\Java\jdk1.8.0_25\bin\java.exe, -jar C:\b4x_compile_version\compiletime.jar and I have the following error: B4X: B4i Version: 4.81 Parsing code. Error Invalid build step: 2 While if i use the following the compilation starts ok: B4X: #CustomBuildAction: 1, C:\Program Files\Java\jdk1.8.0_25\bin\java.exe, -jar C:\b4x_compile_version\compiletime.jar So using build step equal to 1 is it possible to obtain the same functionality of the B4A? What are the build step allowed values and what do they mean? Best regards.
Erel B4X founder Staff member Licensed User Longtime User Mar 31, 2018 #2 Currently there is only a single step (1) in B4i. It fires after the code is parsed and the native code is generated. It should work. Upvote 0
Currently there is only a single step (1) in B4i. It fires after the code is parsed and the native code is generated. It should work.