jpackage ROOTDIR variable in a Windows bat file
Michael Hall
mik3hall at gmail.com
Mon Nov 25 18:08:50 UTC 2019
>>
>>
>
> 1.) - you might learn more by running with --verbose ('jpackage @jpkg.txt --verbose') if you can sift thry the excess output.
>
> 2.) in my test app I need to escape the '$' in front of APPDIR because command is being processed first by shell, for example I have: ( --java-options '-splash:\$APPDIR/boinga.jpg' )
>
> still - I don't understand how you get a FileAlreadyExists on a cfg file in the temp directory.
>
> Oh - wait - I see the problem!
I saw this after the verbose run. I can see Wix is busy in the verbose. But yes this was the problem. Good catch, should of thought of it myself.
I remove the OS X runtime for size but removing the cfg file didn’t occur to me. My first successful run through on Windows with the current build. Now I have to figure out what I have.
Thanks.
Still want to verify if the escape fixes the bat shell file parameter although for Windows currently I think I’d prefer filename.
More information about the core-libs-dev
mailing list