cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I <dir> correctly.
Date Mon, 24 Jan 2011 17:00:49 GMT

     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Torsten Mielke updated CXF-3280:
--------------------------------

    Description: 
If you run

{code}
idl2wsdl -verbose -o ../../../wsdl/  -I . -I ../../tmf/ -I . -I ../ emsMgr.idl
{code}

with multiple -I <dir> options specified, idl2wsdl will only process the first occurrence
of -I <dir> and skip all others. As a result included IDL files that reside in different
subdirectories are not found.

That can result in errors like this one, where it only tries to load included IDL files from
the first -I location rather than also trying from -I subdir2.

{code}
idl2wsdl -verbose -o C:/Temp/ -I subdir1 -I subdir2 Parent.idl
idltowsdl -verbose -o C:/Temp/ -I subdir1 -I subdir2 Parent.idl
idltowsdl - Progress FUSE Services Framework 2.2.10-fuse-00-00

Error : java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)

org.apache.cxf.tools.common.ToolException: java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
        at org.apache.cxf.tools.corba.processors.idl.IDLProcessor.process(IDLProcessor.java:72)
        at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.process(IDLToWSDLProcessor.java:78)
        at org.apache.cxf.tools.corba.IDLToWSDL.execute(IDLToWSDL.java:73)
        at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
        at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:58)
        at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:40)
        at org.apache.cxf.tools.corba.IDLToWSDL.run(IDLToWSDL.java:162)
        at org.apache.cxf.tools.corba.IDLToWSDL.main(IDLToWSDL.java:170)
Caused by: java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(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 java.net.URL.openStream(URL.java:1009)
        at org.apache.cxf.tools.corba.idlpreprocessor.IncludeStackEntry.<init>(IncludeStackEntry.java:40)
        at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.pushInclude(IdlPreprocessorReader.java:108)
        at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.handleInclude(IdlPreprocessorReader.java:297)
        at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.fillBuffer(IdlPreprocessorReader.java:174)
        at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.<init>(IdlPreprocessorReader.java:100)
        at org.apache.cxf.tools.corba.processors.idl.IDLProcessor.process(IDLProcessor.java:57)
        ... 7 more
Error : java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
{code}


  was:
If you run

{code}
idl2wsdl -verbose -o ../../../wsdl/  -I . -I ../../tmf/ -I . -I ../ emsMgr.idl
{code}

with multiple -I <dir> options specified, idl2wsdl will only process the first occurrence
of -I <dir> and skip all others. As a result included IDL files that reside in different
subdirectories are not found.




> idl2wsdl does not process multiple include directories -I <dir> correctly.
> --------------------------------------------------------------------------
>
>                 Key: CXF-3280
>                 URL: https://issues.apache.org/jira/browse/CXF-3280
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.3.2
>            Reporter: Torsten Mielke
>         Attachments: CXF-3280.patch
>
>
> If you run
> {code}
> idl2wsdl -verbose -o ../../../wsdl/  -I . -I ../../tmf/ -I . -I ../ emsMgr.idl
> {code}
> with multiple -I <dir> options specified, idl2wsdl will only process the first
occurrence of -I <dir> and skip all others. As a result included IDL files that reside
in different subdirectories are not found.
> That can result in errors like this one, where it only tries to load included IDL files
from the first -I location rather than also trying from -I subdir2.
> {code}
> idl2wsdl -verbose -o C:/Temp/ -I subdir1 -I subdir2 Parent.idl
> idltowsdl -verbose -o C:/Temp/ -I subdir1 -I subdir2 Parent.idl
> idltowsdl - Progress FUSE Services Framework 2.2.10-fuse-00-00
> Error : java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
> org.apache.cxf.tools.common.ToolException: java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
>         at org.apache.cxf.tools.corba.processors.idl.IDLProcessor.process(IDLProcessor.java:72)
>         at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.process(IDLToWSDLProcessor.java:78)
>         at org.apache.cxf.tools.corba.IDLToWSDL.execute(IDLToWSDL.java:73)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:58)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:40)
>         at org.apache.cxf.tools.corba.IDLToWSDL.run(IDLToWSDL.java:162)
>         at org.apache.cxf.tools.corba.IDLToWSDL.main(IDLToWSDL.java:170)
> Caused by: java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:106)
>         at java.io.FileInputStream.<init>(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 java.net.URL.openStream(URL.java:1009)
>         at org.apache.cxf.tools.corba.idlpreprocessor.IncludeStackEntry.<init>(IncludeStackEntry.java:40)
>         at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.pushInclude(IdlPreprocessorReader.java:108)
>         at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.handleInclude(IdlPreprocessorReader.java:297)
>         at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.fillBuffer(IdlPreprocessorReader.java:174)
>         at org.apache.cxf.tools.corba.idlpreprocessor.IdlPreprocessorReader.<init>(IdlPreprocessorReader.java:100)
>         at org.apache.cxf.tools.corba.processors.idl.IDLProcessor.process(IDLProcessor.java:57)
>         ... 7 more
> Error : java.io.FileNotFoundException: C:\FUSE\src\CXF\cxf-2.3.x-fuse-branch\tools\corba\src\test\resources\idl\subdir1\Included2.idl
(The system cannot find the file specified)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message