initScript = initScript.replace(
"$NB_BOOT_CLASSPATH",
toPastableString(ClassLoaderUtils.getLocationOfClassPath().getPath()));
TemporaryFileManager fileManager = TemporaryFileManager.getDefault();
ModelQueryInput modelInput = new ModelQueryInput(projectInfoBuilders.getSerializableBuilderMap());
TemporaryFileRef modelInputFile = fileManager.createFileFromSerialized(modelInputPrefix, modelInput);
try {
initScript = initScript.replace("$INPUT_FILE", toPastableString(modelInputFile.getFile()));
TemporaryFileRef initScriptRef = fileManager
.createFile(initScriptPrefix, initScript, INIT_SCRIPT_ENCODING);
try {
String[] executerArgs = new String[userArgs.length + 2];
System.arraycopy(userArgs, 0, executerArgs, 0, userArgs.length);