mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
25 lines
727 B
XML
25 lines
727 B
XML
<?xml version="1.0" ?>
|
|
<package>
|
|
<job id="postImage">
|
|
<script language="JScript">
|
|
<![CDATA[
|
|
var oShell = new ActiveXObject("wscript.shell");
|
|
var binDir = oShell.ExpandEnvironmentStrings("%JAVA_HOME%") + "\\jre\\bin\\";
|
|
var javaExe = binDir + "java.exe";
|
|
var javawExe = binDir + "javaw.exe";
|
|
|
|
var oFSO = new ActiveXObject("Scripting.FileSystemObject");
|
|
var oFolder = oFSO.getFolder(".");
|
|
var to = oFolder.path + "\\DemoBench\\runtime\\bin";
|
|
if (!oFSO.FolderExists(to)) {
|
|
oFSO.CreateFolder(to);
|
|
}
|
|
to += "\\";
|
|
|
|
oFSO.CopyFile(javaExe, to);
|
|
oFSO.CopyFile(javawExe, to);
|
|
]]>
|
|
</script>
|
|
</job>
|
|
</package>
|