B4J Question how find b4x installed dir and additional Lib folder with code??

behnam_tr

Active Member
Licensed User
Longtime User
hi
today i see b4j source for finding used lib in b4x projects
now i want to using that and export exist libs to zip file!!
for this i need find b4x(b4j,b4a,......) lib and additional lib path with code

 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Tool that reads (and modifies) the ini file: https://www.b4x.com/android/forum/t...ith-different-version-of-java.120584/#content
The additional libraries folder is set there.

Finding B4J path:
B4X:
Dim shl As Shell
shl.Initialize("shl", "cmd", Array("/c", "ftype"))
shl.Run(10000)
Wait For shl_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
If Success Then
    Dim m As Matcher = Regex.Matcher2($"^B4J Source Code=\"([^"]+)"$, Regex.MULTILINE, StdOut)
    If m.Find Then
        Log(m.Group(1))
    End If
End If
 
Upvote 0
Top