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
 
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
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:
Upvote 0

Similar Threads

Replies
41
Views
27K
Replies
36
Views
137K
  • Article Article
Android Code Snippet [B4X] Bytes To File
Replies
28
Views
69K
Back
Top