When i try build my module occurs the following exception :
C:Program Filesjmonkeyplatformharnessbuild.xml:157:
java.io.FileNotFoundException: C:Program Filesjmonkeyplatformnbprojectproject.xml (O sistema não pode encontrar o caminho especificado)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at org.netbeans.nbbuild.XMLUtil.parse(XMLUtil.java:125)
at org.netbeans.nbbuild.ParseProjectXml.execute(ParseProjectXml.java:335)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
Hm, I dont know, some path problem from what I could get from google translate… If you try to create a new module for jMP, did you do it according to the manual in the wiki? Creating a new “module suite” before with your module as a sub-project? It makes some library importing stuff easier to handle.
Cheers,
Normen
yes, i did it.
I stopped in the time because of this .
Strange thing is it seems to search the project.xml in “C:/Program Files/jmonkeyplatform”… What folder did you specify for the project? it should be “some folder/suite project folder/my plugin folder” You did not maybe somehow specify that “C:/Program Files/jmonkeyplatform” folder as the project folder, did you?
Cheers,
Normen
No, i didn’t. My projects’ folder is “C:UsersGlaucojMonkeyProjects”.
No, I meant the folder you specify when you create the project, it should be a subfolder of the suite project.
OK, this is the true folder : “C:UsersGlaucojMonkeyProjectsMy JME PluginsPhysicsEditor”
where “My JME Plugins” is my suite project, and “PhysicsEditor” my module.
Ok, then I dont know, try recreating the project maybe… Might be a bit of a hassle to get all stuff from the layer.xml over… If you know how you did it, use the wizards to recreate the windows etc.
Cheers,
Normen
Ok normen, problem solved. I removed the Netbeans Plugin Development and i reinstalled it. Then i created a new suite project and this worked perfectly .