javascript - how to call JScript after application image created while creating an native package in maven -


i using maven. have jscript create runtime/jre/lib/ext folder while installing application because default self-contained application not contain full copy of java runtime using https connection required jre/lib/ext/sunjce_provider.jar. https connections not work if jre/lib/ext/sunjce_provider.jar missing

for added script -

 <?xml version="1.0" ?>       <package>               <job id="postimage">           <script language="jscript">            <![cdata[               var ofso = new activexobject("scripting.filesystemobject");               var ofolder = ofso.getfolder(".");               var = ofolder.path + "\\myapp\\lib\\sunjce_provider.jar";               var = ofolder.path + "\\myapp\\runtime\\jre\\lib\\ext";               if (!ofso.folderexists(to)) {                 ofso.createfolder(to);               }               += "\\";               ofso.copyfile(from, to);            ]]>           </script>      </job>   </package> 

but how call script while creating package pom.xml? script should executed after application image created.please suggest


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -