B4J Question Add a TXT file inside a Library.

Star-Dust

Expert
Licensed User
Longtime User
I have a library that uses a TXT file. If I insert it in Dirasets when I fill out the library there is no longer inside and it is not reachable.
So I put the text file inside a string variable. Now the file is big, of over 500 lines and it becomes complicated to insert it a string. There is a way to make a text file (the file cannot be external or on the internet must be uploaded inside an UN Library, it must necessarily be inside the library)
 

teddybear

Well-Known Member
Licensed User
I have a library that uses a TXT file. If I insert it in Dirasets when I fill out the library there is no longer inside and it is not reachable.
So I put the text file inside a string variable. Now the file is big, of over 500 lines and it becomes complicated to insert it a string. There is a way to make a text file (the file cannot be external or on the internet must be uploaded inside an UN Library, it must necessarily be inside the library)
It's easy to do that, you can just add Files/yourtxt of the project to your jar of the library file using 7z., no need to do anything else for your project
 
Last edited:
Upvote 0
Top