Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 39652 invoked from network); 25 Jan 2011 07:50:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jan 2011 07:50:09 -0000 Received: (qmail 38003 invoked by uid 500); 25 Jan 2011 07:50:09 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 37899 invoked by uid 500); 25 Jan 2011 07:50:07 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 37890 invoked by uid 99); 25 Jan 2011 07:50:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 07:50:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 07:50:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0P7nj0i001878 for ; Tue, 25 Jan 2011 07:49:45 GMT Message-ID: <10959081.181701295941785151.JavaMail.jira@thor> Date: Tue, 25 Jan 2011 02:49:45 -0500 (EST) From: "Freeman Fang (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-3280) idl2wsdl does not process multiple include directories -I correctly. In-Reply-To: <24880958.155401295881185276.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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 options specified, idl2wsdl will only process the first occurrence of -I 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.(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 java.net.URL.openStream(URL.java:1009) > at org.apache.cxf.tools.corba.idlpreprocessor.IncludeStackEntry.(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.(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.