Version 1.00
GitHub: https://github.com/pyhoon/manifest-writer-non-ui-b4j
Download jar: https://github.com/pyhoon/manifest-...ses/download/v1.00/manifest-writer-non-ui.jar
A tool for writing or updating manifest.txt for b4xlib distribution, especially version number.
GitHub: https://github.com/pyhoon/manifest-writer-non-ui-b4j
Download jar: https://github.com/pyhoon/manifest-...ses/download/v1.00/manifest-writer-non-ui.jar
A tool for writing or updating manifest.txt for b4xlib distribution, especially version number.
How to use
- Add the #Macro tag to call manifest-writer-non-ui.jar from B4X additional libraries folder
e.g
B4X:#Macro: Title, Version, ide://run?file=%JAVABIN%\java.exe&Args=-jar&Args=%ADDITIONAL%\..\B4X\manifest-writer-non-ui.jar&Args=%PROJECT%&Args=%PROJECT%\..\release&Args=Version&Args=2.00
- This tool expects at least 2 arguments
- First argument is source folder contains the manifest.txt
- Second argument is the destination folder where the updated manifest.txt is saved (in my practice I use a release folder)
- Adding 2 more arguments to update the entry
e.g Version 2.00
So the Macro tag will call a command like:
java.exe -jar manifest-writer-non-ui.jar source_path destination_path Version 2.00 - More arguments can be added in pairs
- Click the title button to activate the action
- The manifest.txt file in source folder can be a template with empty values
- The source folder can be the same as destination folder
- Use %20 for blankspace in key or value
e.g. Supported Platforms=B4J (the keys contains a blankspace)
The command should look like:
java.exe -jar manifest-writer-non-ui.jar source_path destination_path Version 2.00 Supported%20Platforms B4J
Attachments
Last edited: