B4J Question Comments in a B4xlib Manifest file.

stevel05

Expert
Licensed User
Longtime User
Is it possible to add comments to the B4xlib manifest file? I would like to store some information like which project the library came from, creation date etc. I may generate a b4xlib from 1 module in a large project and don't really want to create a new project for the purpose so it's obvious.
 

PaulMeuris

Active Member
Licensed User
You can put comments in a XML file the same way as in HTML: <!-- comments -->
The comments can span multiple lines. You can't use 2 dashes -- in the comments.
The manifest editor (B4A) uses single quotes as comments and these comments don't appear in the manifest.xml file.
You can of course change the manifest.xml file yourself.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Thanks Paul, but I'm asking about the Manifest file in a B4xLib, which is delimited plain text.
 
Upvote 0

PaulMeuris

Active Member
Licensed User
In the B4X CustomViews booklet at page 31 i read:
It seems that the manifest file has a comment field...
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Ahh OK thanks, I don't remember seeing that. But what I'm really after are private comments (as in code comment) that are just ignored.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Yes, you can add comments to the B4xlib manifest file. such as:
B4X:
Version=2.00
B4J.DependsOn=jXUI, jDateUtils
B4A.DependsOn=XUI, DateUtils
B4i.DependsOn=iXUI, iDateUtils
Your comments.....
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Thanks @teddybear I'll give it a go.
I could have just tried it, I thought that maybe there was a designated character for the parser to ignore.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…