B4J Question output file name: result.jar

Shay

Well-Known Member
Licensed User
Longtime User
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
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

Erel

B4X founder
Staff member
Licensed User
Longtime User
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:
B4X:
#if RELEASE
#CustomBuildAction: 2,  %WINDIR%\system32\xcopy.exe, /Y result.* "name here.*"
#End If
Note that the wildcards are important.
 
Last edited:
Upvote 0
Top