Closed maniprabu101993 closed 5 years ago
b/c adding .sh is not necessary on linux, but required on window with .bat. i dont think there is a way to force it to add .sh into unit script
[ -f "$BASEDIR"/bin/aaa ] && . "$BASEDIR"/bin/aaa This command is trying to find out the aaa file,but the file system contains aaa.sh .So this condition is failing and the aaa.sh is not executing .
This will make the linux script unusable.Is there any possibility for adding some other tags to replace the contents present in the linux script using maven appassembler?
why can you use just use 'aaa'? b/c of internal build convention?
you can also patch the generated script at build time
while using this environmentSetupFileName in pom.xml ,values given in the environmentSetupFileName xml tag is not treating the value as same.while creating .bat file it is using the value with suffix .bat and while creating .sh file it is not using the value with suffix .sh.
eg.aaa
In the batch file that is created after building the project ,the value is "if exist "%BASEDIR%\bin\aaa.bat" call "%BASEDIR%\bin\aaa.bat""
In the script file that is created after building the project,the value is [ -f "$BASEDIR"/bin/aaa ] && . "$BASEDIR"/bin/aaa
why it is not suffixing with .sh in the above command.