Shay Well-Known Member Licensed User Longtime User Jul 11, 2020 #1 How does the output file name is been decided? I have 1 app that project name is the jar name output and new app I got result.jar
How does the output file name is been decided? I have 1 app that project name is the jar name output and new app I got result.jar
Shay Well-Known Member Licensed User Longtime User Jul 11, 2020 #2 Found the issue, @Erel is it a bug? if project name has "-" it will generate result.jar and not projectname.jar for example: aaaa-a.b4j will generate results.jar Upvote 0
Found the issue, @Erel is it a bug? if project name has "-" it will generate result.jar and not projectname.jar for example: aaaa-a.b4j will generate results.jar
mcqueccu Expert Licensed User Longtime User Jul 11, 2020 #3 if there is space in the project name, the output will be result.jar in B4J. Its the same for B4A, you will get result.apk if there is space in the project naming. So usually, the Main Project Folder, I add spaces or - but the project file, i dont include space Upvote 0
if there is space in the project name, the output will be result.jar in B4J. Its the same for B4A, you will get result.apk if there is space in the project naming. So usually, the Main Project Folder, I add spaces or - but the project file, i dont include space
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2020 #4 Moved to B4J forum. This is by design to avoid all kinds of issues with the tool chain. The jar name shouldn't be important. If it bothers you then rename it with a #CustomBuildAction: Code: Copy #if RELEASE #CustomBuildAction: 2, %WINDIR%\system32\xcopy.exe, /Y result.* "name here.*" #End If Note that the wildcards are important. Last edited: Jul 12, 2020 Upvote 0
Moved to B4J forum. This is by design to avoid all kinds of issues with the tool chain. The jar name shouldn't be important. If it bothers you then rename it with a #CustomBuildAction: Code: Copy #if RELEASE #CustomBuildAction: 2, %WINDIR%\system32\xcopy.exe, /Y result.* "name here.*" #End If Note that the wildcards are important.