Hi all
I tried to pack one my library to b4xlib but I had some strange issues, after
I add my class module and manifest.txt in the file and renaming it from .zip to .b4xlib, I put
it in B4J Additional Libraries folder.
Refreshing the IDE library tab I can see it, but a message will appear that says that a word is not in a dictionary,
probably the error is parsing the manifest file.
After this the ide just see version 0.00, but I set it in the manifest.txt this way:
Note that with class inline in the project all is working.
Here I suppose I do some confusion because the class name is AsyncCanvas and the b4xlib library name is jAsyncCanvas to target B4J platform.
Because all this not works, I've decided to create a small project with just a small class that do nothing, just sum two numbers, this to test it. In this case after selectig it in the tab, the IDE recognize my class and I can dimension and use it, even return a sum number , but I always have the same message that may manifest cannot parse a word.
Here is the content of the manifest:
I omitted other platform dependences because it only should work on B4J, but even if I specified it should
work only on B4J, the IDE see it multiplatform, see attached screenshot.
What I doing wrong ?
I've a chance to get it working ?
Attached the small project and created b4xlib.
Finally, I have to release an open source library in the forum, I want to pack inside b4xlib or I will release the inline code as is, but because b4xlib exists I think it is a best option.
Thanks for any tip to get it working.
I tried to pack one my library to b4xlib but I had some strange issues, after
I add my class module and manifest.txt in the file and renaming it from .zip to .b4xlib, I put
it in B4J Additional Libraries folder.
Refreshing the IDE library tab I can see it, but a message will appear that says that a word is not in a dictionary,
probably the error is parsing the manifest file.
After this the ide just see version 0.00, but I set it in the manifest.txt this way:
After this my class is not recognized at all in my project.Version=1.00
Note that with class inline in the project all is working.
Here I suppose I do some confusion because the class name is AsyncCanvas and the b4xlib library name is jAsyncCanvas to target B4J platform.
Because all this not works, I've decided to create a small project with just a small class that do nothing, just sum two numbers, this to test it. In this case after selectig it in the tab, the IDE recognize my class and I can dimension and use it, even return a sum number , but I always have the same message that may manifest cannot parse a word.
Here is the content of the manifest:
note that JavaObject and jXUI are not really required here, I just put it to have the same on the main project.Version=1.00
Supported Platforms=B4J
B4J.DependsOn=JavaObject, jXUI
I omitted other platform dependences because it only should work on B4J, but even if I specified it should
work only on B4J, the IDE see it multiplatform, see attached screenshot.
What I doing wrong ?
I've a chance to get it working ?
Attached the small project and created b4xlib.
Finally, I have to release an open source library in the forum, I want to pack inside b4xlib or I will release the inline code as is, but because b4xlib exists I think it is a best option.
Thanks for any tip to get it working.
Attachments
Last edited: