0,
mainFilePath.lastIndexOf("."));
HaxeProject project = HaxeProjectCreator.createProject(name, location);
// creating build file
BuildFile buildFile = pageOne.getBuildFile();
project.addBuildFile(buildFile);
project.createFile(buildFile.getPath().toString(), buildFile.getContent(), false);
// here the initial structure for project should be
String[] struct = {srcFolder, outFolder, mainFileFolder};
project.createFolders(struct);