Jmu5667 Well-Known Member Licensed User Longtime User May 8, 2025 #1 Hello Is it possible to change the package name during this process. I have a number of different build configs and I would like to be able to change the output. Regards John.
Hello Is it possible to change the package name during this process. I have a number of different build configs and I would like to be able to change the output. Regards John.
Solution aeric May 9, 2025 Using build configurations as Erel said. B4X: #If Demo #PackagerProperty: ExeName = Demo #Else #PackagerProperty: ExeName = POS #End If
Using build configurations as Erel said. B4X: #If Demo #PackagerProperty: ExeName = Demo #Else #PackagerProperty: ExeName = POS #End If
Erel B4X founder Staff member Licensed User Longtime User May 8, 2025 #2 The package name is part of the build configuration. If you are using multiple build configurations then you can easily replace the package name there. Upvote 0
The package name is part of the build configuration. If you are using multiple build configurations then you can easily replace the package name there.
Jmu5667 Well-Known Member Licensed User Longtime User May 8, 2025 #3 Erel said: The package name is part of the build configuration. If you are using multiple build configurations then you can easily replace the package name there. Click to expand... sorry, what I meant to say was the .exe name and .jar name. Upvote 0
Erel said: The package name is part of the build configuration. If you are using multiple build configurations then you can easily replace the package name there. Click to expand... sorry, what I meant to say was the .exe name and .jar name.
teddybear Well-Known Member Licensed User May 8, 2025 #4 Jmu5667 said: sorry, what I meant to say was the .exe name and .jar name. Click to expand... You can do that using CustomBuildAction after packager B4X: #CustomBuildAction: After Packager, %WINDIR%\System32\cmd.exe,/c move /y srcxxx.jar desxxx.jar ... Upvote 1
Jmu5667 said: sorry, what I meant to say was the .exe name and .jar name. Click to expand... You can do that using CustomBuildAction after packager B4X: #CustomBuildAction: After Packager, %WINDIR%\System32\cmd.exe,/c move /y srcxxx.jar desxxx.jar ...
aeric Expert Licensed User Longtime User May 9, 2025 #5 Using build configurations as Erel said. B4X: #If Demo #PackagerProperty: ExeName = Demo #Else #PackagerProperty: ExeName = POS #End If Upvote 2 Solution
Using build configurations as Erel said. B4X: #If Demo #PackagerProperty: ExeName = Demo #Else #PackagerProperty: ExeName = POS #End If