[ http://issues.apache.org/jira/browse/MUSE-61?page=all ]

Dan Jemiolo updated MUSE-61:
----------------------------

    Fix Version/s: 2.0.0
         Due Date: 31/Aug/06

Accepted for 2.0.0 final release

> service.xml doesn't get created
> -------------------------------
>
>                 Key: MUSE-61
>                 URL: http://issues.apache.org/jira/browse/MUSE-61
>             Project: Muse
>          Issue Type: Bug
>          Components: Tooling - Code Generation
>    Affects Versions: 2.0.0 M2
>            Reporter: Steve Jerman
>         Assigned To: Andrew Eberbach
>             Fix For: 2.0.0
>
>         Attachments: patch.patch
>
>
> When I run the wsdl2java batch file in the binary build, I get the following 
> error:
> java.io.FileNotFoundException: 
> C:\muse\muse-2.0.0-M2-bin\bin\.\WebContent\WEB-INF\services\muse\META-INF\services.xml
>  (The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown 
> Source)
>         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
> Source)
>         at 
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>         at org.apache.muse.util.xml.XmlUtils.createDocument(XmlUtils.java:260)
>         at 
> org.apache.muse.tools.generator.projectizer.Axis2Projectizer.updateServices(Axis2Projectizer.java:160)
>         at 
> org.apache.muse.tools.generator.projectizer.Axis2Projectizer.createServicesDescriptor(Axis2Projectizer.java:105)
>         at 
> org.apache.muse.tools.generator.projectizer.Axis2Projectizer.writeFiles(Axis2Projectizer.java:77)
>         at org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:126)
>         at org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:173)
> java.io.FileNotFoundException: C:\muse\muse-2.0.0-M2-bin\bin\.\build.xml (The 
> system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown 
> Source)
>         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
> Source)
>         at 
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>         at org.apache.muse.util.xml.XmlUtils.createDocument(XmlUtils.java:260)
>         at 
> org.apache.muse.tools.generator.projectizer.Axis2Projectizer.updateBuild(Axis2Projectizer.java:140)
>         at 
> org.apache.muse.tools.generator.projectizer.Axis2Projectizer.createBuildFile(Axis2Projectizer.java:98)
>         at 
> org.apache.muse.tools.generator.projectizer.Axis2Projectizer.writeFiles(Axis2Projectizer.java:79)
>         at org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:126)
>         at org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:173)
> Looking at the source, it seems that destination.getParentFile().mkdirs()  on 
> lin 110 of Axis2Projectizer returns false when the directory already exists 
> (which it seems to) so the file doesn't get copied.. Attached patch seems to 
> fix the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to