question: private void initializeContext ( ) throws IOException { String workingDir = System . getProperty ( "user.dir" ) ; File dataset = FileUtils . getFile ( workingDir + "/src/main/resources/dataset/emptyFlatXmlDataSet.xml" ) ; File log4jFile = FileUtils . getFile ( workingDir + "/src/main/resources/log4j/log4j.properties" ) ; File datasetFolder = new File ( destinationFolder + "/src/test/resources/dataSets" ) ; File log4jFolder = new File ( destinationFolder + "/src/test/resources" ) ; dataset . mkdirs ( ) ; log4jFile . mkdirs ( ) ; FileUtils . copyFileToDirectory ( dataset , datasetFolder ) ; FileUtils . copyFileToDirectory ( log4jFile , log4jFolder ) ; }
target:  This method sets the working directory and copies the static context files such as log4j or xmlDataSet (needed by HsqlDb) to the appropriate path.