Wish Project parameters for CustomBuildAction

tchart

Well-Known Member
Licensed User
Longtime User
Could I please request that the parameters supported in ide links be supported for CustomBuildAction arguments too?

Referring to this; https://www.b4x.com/android/forum/threads/b4x-comment-links.119897/#content

Parameters eg %PROJECT_NAME% work in ide links but they dont appear to work with custom build actions

eg
B4X:
#CustomBuildAction: 2, D:\Temp\test.bat, %PROJECT_NAME%

Where test.bat is

B4X:
echo %1 > D:\Temp\output.txt

EXIT /1

ouput.txt contains the string "%PROJECT_NAME%" and not the project name.

Minor update the following works, so its likely just an issue with parsing the parameters when they are used in the arguments

B4X:
#CustomBuildAction: 2, %PROJECT_NAME%\test.bat,
 
Last edited:
Top