From 8469bb1d16effe900c2f5d38250189bcb6abe9e9 Mon Sep 17 00:00:00 2001 From: Normen Hansen Date: Sat, 22 Mar 2014 23:37:29 +0100 Subject: [PATCH] fix creation of project.xml --- sdk/build.gradle | 9 +++++---- sdk/jme3-core-baselibs/nbproject/project.xml | 2 +- sdk/jme3-core-libraries/nbproject/project.xml | 1 - 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/build.gradle b/sdk/build.gradle index a33c96c59..f736d30ba 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -9,6 +9,7 @@ if (!hasProperty('mainClass')) { configurations { corelibs optlibs + testdatalibs } dependencies { @@ -187,7 +188,7 @@ task createBaseXml{ def writer = new StringWriter() def xml = new MarkupBuilder(writer) - xml.xmlDeclaration(version:'1.0') + xml.mkp.xmlDeclaration(version:'1.0') xml.project(xmlns:"http://www.netbeans.org/ns/project/1"){ type "org.netbeans.modules.apisupport.project" configuration { @@ -225,7 +226,7 @@ task createBaseXml{ def extWriter = new StringWriter() def extXml = new MarkupBuilder(extWriter) - extXml.xmlDeclaration(version:'1.0') +// extXml.mkp.xmlDeclaration(version:'1.0') extXml.project(xmlns:"http://www.netbeans.org/ns/project/1"){ type "org.netbeans.modules.apisupport.project" configuration { @@ -288,7 +289,7 @@ task createProjectXml{ // create J2SE library descriptor xml file def libraryWriter = new StringWriter() def libraryXml = new MarkupBuilder(libraryWriter) -// xml.xmlDeclaration(version:'1.0') +// xml.mkp.xmlDeclaration(version:'1.0') libraryWriter << '' << eol libraryWriter << '' << eol libraryXml.library(version:"1.0", encoding: "UTF-8"){ @@ -325,7 +326,7 @@ task createProjectXml{ // create layer.xml file with entries of library xml files def layerWriter = new StringWriter() def layerXml = new MarkupBuilder(layerWriter) -// layerXml.xmlDeclaration(version:'1.0') +// layerXml.mkp.xmlDeclaration(version:'1.0') layerWriter << '' << eol layerWriter << '' << eol layerXml.filesystem{ diff --git a/sdk/jme3-core-baselibs/nbproject/project.xml b/sdk/jme3-core-baselibs/nbproject/project.xml index 8e7cf7d10..dc9559d4b 100644 --- a/sdk/jme3-core-baselibs/nbproject/project.xml +++ b/sdk/jme3-core-baselibs/nbproject/project.xml @@ -1,4 +1,4 @@ - + org.netbeans.modules.apisupport.project diff --git a/sdk/jme3-core-libraries/nbproject/project.xml b/sdk/jme3-core-libraries/nbproject/project.xml index c21865d95..dc1da72a9 100644 --- a/sdk/jme3-core-libraries/nbproject/project.xml +++ b/sdk/jme3-core-libraries/nbproject/project.xml @@ -1,4 +1,3 @@ - org.netbeans.modules.apisupport.project