Here you can find the source of SaveDeployedObjects(String outputDirectory)
private static void SaveDeployedObjects(String outputDirectory)
//package com.java2s; //License from project: Apache License import java.io.File; import java.io.FileOutputStream; import java.util.Properties; public class Main { private static String DEPLOYED_OBJECT_FILE = "DeployedObjects.properties"; private static Properties deployedObjectsList = new Properties(); private static void SaveDeployedObjects(String outputDirectory) { try {// w w w .ja va 2 s .c om if (!FileExists(outputDirectory + "/savedobjects")) { new File(outputDirectory + "/savedobjects").mkdir(); } FileOutputStream ostream = new FileOutputStream(outputDirectory + "/savedobjects/" + DEPLOYED_OBJECT_FILE); deployedObjectsList .store(ostream, "-- Deployed Objects in DB2"); ostream.close(); } catch (Exception e) { e.printStackTrace(); } } public static boolean FileExists(String fileName) { File f = new File(fileName); return f.exists(); } }