List<File> sourcePath = new ArrayList<File>();
sourcePath.add(new File(getClass().getResource("/").toURI()));
locations.setSourcePath(sourcePath);
locations.addSourceFile("testPackage/subPackage/Properties.properties");
locations.addSourceFile("testPackage/PropertiesTest.properties");
locations.addSourceFile("testPackage/PropertiesTest_de.properties");
locations.addSourceFile("testPackage/PropertiesTest_es_ES.properties");
locations.addSourceFile("testPackage/PropertiesTest_it_VA_WIN.properties");
PropertyClassGenerator generator = new PropertyClassGenerator(locations);