You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Torsten Mielke (JIRA)" <ji...@apache.org> on 2011/01/24 15:59:45 UTC

[jira] Created: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

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.



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


[jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: CXF-3280.patch)

> 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.

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


[jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned CXF-3280:
---------------------------------

    Assignee: Freeman Fang

> 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
>            Assignee: Freeman Fang
>         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.


[jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: CXF-3280.patch

Suggesting patch based on 2.3.x branch.

> 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.

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


[jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment:     (was: CXF-3280.patch)

> 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
>            Assignee: Freeman Fang
>
> 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.


[jira] Commented: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986265#action_12986265 ] 

Freeman Fang commented on CXF-3280:
-----------------------------------

Hi Torsten,

Thanks for the patch.
And your patch left some new added files/folder like Parent.wsdl, expected_Parent.wsdl, subdir1, subdir2.

You can use
svn add new_add_file_or_folder
before you run
svn diff 
to generate the patch which should contain new added files/folders.

Thanks
Freeman

> 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
>            Assignee: Freeman Fang
>         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.


[jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: CXF-3280.patch

Attaching another patch that includes a JUnit test as well. 

> 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.

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


[jira] Updated: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Torsten Mielke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: CXF-3280.patch

Sorry, I indeed forgot to check in these files to svn. Attached is the new version of the patch. 

> 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
>            Assignee: Freeman Fang
>         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.


[jira] Resolved: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved CXF-3280.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.3
                   2.4

apply patch on behalf of Torsten with thanks
http://svn.apache.org/viewvc?rev=1063236&view=rev for trunk
http://svn.apache.org/viewvc?rev=1063238&view=rev for 2.3.x branch

> 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
>            Assignee: Freeman Fang
>             Fix For: 2.4, 2.3.3
>
>         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.