Tool B4Xgoodies: a maintained library/class/code module/... inventory (last updated 2024-04-27)

walt61

Active Member
Licensed User
Longtime User
LOL I wouldn't put my money on Erel wanting to take some kind of ownership there (and he's releasing great new stuff all the time as it is), as this is community stuff.

I hadn't given any kind of marking any thought: first the data, the presentation comes later (or not, in this case ). But don't lose sight of my original goal: 'to know what the most recent versions are of the non-core libraries I'm using in my apps, without having to resort to manually checking these libraries' forum posts to check their versions'. If enhancements can be done through automation, I'm game, but I don't fancy trying to be the next Github
 

DroidLyon

Member
Licensed User
Longtime User
Alas I wouldn't put my money on it either !
- I suspect Erel must be multiple people with the amount of forum responses he manages and code he outputs

I understand your points entirely Walt. To serve my purpose if I detect any deadwood I'll report it to Erel and you ..

"Dont fancy trying to be the next Github .." - Where's your ambition man ?!

Cheers D
 

BPak

Active Member
Licensed User
Longtime User

I ran this prog on my Mac computer and it downloaded the xslm file but then displayed an error. Could not find the B4XGoodies.ini file


B4X:
29/01/17 1:14:59.798 PM [0x0-0x24024].com.apple.JarLauncher: Packagename: b4j.B4XGoodies
29/01/17 1:14:59.798 PM [0x0-0x24024].com.apple.JarLauncher: WorkspacePath= /Applications/B4AGoodies
29/01/17 1:15:20.092 PM [0x0-0x24024].com.apple.JarLauncher: JobName = infodownload Tag info.txt^firsttime, Success = true
29/01/17 1:15:20.092 PM [0x0-0x24024].com.apple.JarLauncher: DownloadReady: info.txt^firsttime
29/01/17 1:15:20.092 PM [0x0-0x24024].com.apple.JarLauncher: info.txt^firsttime is written to /Applications/B4AGoodies
29/01/17 1:15:21.885 PM [0x0-0x24024].com.apple.JarLauncher: JobName = Xlsmdownload Tag B4Xgoodies.xlsm^firsttime, Success = true
29/01/17 1:15:21.885 PM [0x0-0x24024].com.apple.JarLauncher: DownloadReady: B4Xgoodies.xlsm^firsttime
29/01/17 1:15:21.887 PM [0x0-0x24024].com.apple.JarLauncher: B4Xgoodies.xlsm is written to /Applications/B4AGoodies
29/01/17 1:15:21.897 PM [0x0-0x24024].com.apple.JarLauncher: main._jobdone (java line: 612)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher: java.io.FileNotFoundException: /Applications/B4AGoodies/B4Xgoodies.ini (No such file or directory)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at java.io.FileInputStream.open0(Native Method)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at java.io.FileInputStream.open(FileInputStream.java:195)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at java.io.FileInputStream.<init>(FileInputStream.java:138)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:225)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at anywheresoftware.b4a.objects.streams.File.ReadString(File.java:279)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at b4j.B4XGoodies.main._jobdone(main.java:612)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at java.lang.reflect.Method.invoke(Method.java:497)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:462)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at anywheresoftware.b4a.keywords.Common.access$0(Common.java:442)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at anywheresoftware.b4a.keywords.Common$CallSubDelayedHelper.run(Common.java:516)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at java.security.AccessController.doPrivileged(Native Method)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
29/01/17 1:15:21.898 PM [0x0-0x24024].com.apple.JarLauncher:     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
 

inakigarm

Well-Known Member
Licensed User
Longtime User
I ran this prog on my Mac computer and it downloaded the xslm file but then displayed an error. Could not find the B4XGoodies.ini file

I'll test it (I've no Mac the development was done on Windows OS)
 

BPak

Active Member
Licensed User
Longtime User
I'll test it (I've no Mac the development was done on Windows OS)
Have found the problem on the Mac.
The Ini file is NOT saved in the B4AGoodies Folder it is saved under Applications and therefore can not be found in the expected B4AGoodies folder.
Must be the module that saves the file not working as expected on the Mac.
Tried KeyValueStore prog and it works as expected.

see image.
 

Attachments

  • Ini.png
    34.2 KB · Views: 376

inakigarm

Well-Known Member
Licensed User
Longtime User
@BPak , can you test this code and write back the result of Pathseparator ?? I've to change which is the folder separator according the Os (windows and Mac-unix)

B4X:
Dim PathSeparator as String= GetOs
B4X:
Sub GetOs  As String
   
    Dim os As String = GetSystemProperty("os.name", "").ToLowerCase
    If os.Contains("win") Then
         Log ($"OS = ${os} "\" "$)
         Return "/"
    Else
         Log ($"OS = ${os} "/" "$)  'Mac-Linux
         Return  "/"
    End If   
   
End Sub
 

DonManfred

Expert
Licensed User
Longtime User
Hey Don, did you post this in the correct thread? If not, I'm not sure what you mean.
It is a answer to Post #24 or #25 in this thread.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…