klaus Expert Licensed User Longtime User Feb 11, 2021 #1 In B4A 10.6 we have the new %PROJECT_NAME% variable it would be interesting to have in the B4XPages template: this line by default: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=%PROJECT_NAME%.zip instead of this line: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip The same for B4J.
In B4A 10.6 we have the new %PROJECT_NAME% variable it would be interesting to have in the B4XPages template: this line by default: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=%PROJECT_NAME%.zip instead of this line: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip The same for B4J.
LucaMs Expert Licensed User Longtime User Feb 11, 2021 #2 It (%PROJECT_NAME%) was created just for that. However we can create our own templates.
klaus Expert Licensed User Longtime User Feb 11, 2021 #3 LucaMs said: It (%PROJECT_NAME%) was created just for that. Click to expand... I know ! But when you create a new B4XPages project from the IDE you get the default B4XPages template. And there we still have : ...jar&Args=Project.zip and I would like to have : ...jar&Args=%PROJECT_NAME%.zip
LucaMs said: It (%PROJECT_NAME%) was created just for that. Click to expand... I know ! But when you create a new B4XPages project from the IDE you get the default B4XPages template. And there we still have : ...jar&Args=Project.zip and I would like to have : ...jar&Args=%PROJECT_NAME%.zip
klaus Expert Licensed User Longtime User Feb 11, 2021 #5 LucaMs said: However we can create our own templates. Click to expand... That's what I did. Attachments B4XPages.b4xtemplate B4XPages.b4xtemplate 9 KB · Views: 609
LucaMs Expert Licensed User Longtime User Feb 11, 2021 #6 klaus said: That's what I did. Click to expand... Change its name. It is your own B4XPages template. kfuB4XPages.b4xtemplate? You will have both, the original one and yours, in the IDE.
klaus said: That's what I did. Click to expand... Change its name. It is your own B4XPages template. kfuB4XPages.b4xtemplate? You will have both, the original one and yours, in the IDE.
klaus Expert Licensed User Longtime User Feb 11, 2021 #7 No, because any user can replace it without any problem in the internal libraries folders. And I hope that Erel will take it over. If Erel disagrees, I will remove it.
No, because any user can replace it without any problem in the internal libraries folders. And I hope that Erel will take it over. If Erel disagrees, I will remove it.
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2021 #8 The reason that I haven't made this change is that I wasn't able to get it working properly with names with non-ascii characters. The IDE starts an external process and the encoding depends on the specific machine encoding. It will require some more work.
The reason that I haven't made this change is that I wasn't able to get it working properly with names with non-ascii characters. The IDE starts an external process and the encoding depends on the specific machine encoding. It will require some more work.
klaus Expert Licensed User Longtime User Feb 14, 2021 #9 Thank you for the clarification. I have the habit to never use non ascii characters in file names. Do you want me to remove the template file from post #5, or change its name ?
Thank you for the clarification. I have the habit to never use non ascii characters in file names. Do you want me to remove the template file from post #5, or change its name ?
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2021 #10 klaus said: Do you want me to remove the template file from post #5, or change its name ? Click to expand... No need. The advanced users who will find it will be able to cope with this small issue.
klaus said: Do you want me to remove the template file from post #5, or change its name ? Click to expand... No need. The advanced users who will find it will be able to cope with this small issue.