OutputStream outStream = new FileOutputStream(projectFile);
OutputFormat format = new OutputFormat("xml", "UTF-8", true);
Serializer serializer = new XMLSerializer(outStream, format);
ContentHandler content = serializer.asContentHandler();
content.startDocument();
AttributesImpl emptyAttrs = new AttributesImpl();
content.startElement(null, "project", "project", emptyAttrs);
PropertyWriter propertyWriter = new PropertyWriter(content);
propertyWriter.write("build.config", "active", "0");
propertyWriter.write("build.config", "count", "0");