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

Lars Kühne updated YOKO-92:
---------------------------

      Component/s: Wsdl2Idl
    Fix Version/s:     (was: v1.0-incubating-M2)

Matteo, how exactly do you trigger the ISO8859_1 problem you mentioned in your 
comment? Do you set LANG=en_US.ISO8859_15? 

Have you tried to use the nio name, iso-8859-15, instead of ISO8859_15?

http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html

> tools tests fail on Linux
> -------------------------
>
>                 Key: YOKO-92
>                 URL: https://issues.apache.org/jira/browse/YOKO-92
>             Project: Yoko - CORBA Server
>          Issue Type: Bug
>          Components: Wsdl2Idl
>    Affects Versions: v1.0-incubating-M2
>         Environment: Linux
>            Reporter: Lars Kühne
>         Attachments: WSDLToIDLTest_linux_failures_fix.diff
>
>
> Several tests in WSDLToIDLTest fail on Linux, e.g.
> [surefire] testBindAndIDLGen(org.apache.yoko.tools.WSDLToIDLTest)  Time 
> elapsed: 0.091 sec  <<< ERROR!
> java.lang.NullPointerException
>         at 
> org.apache.yoko.tools.WSDLToIDLTest.testBindAndIDLGen(WSDLToIDLTest.java:238)
> The problem is that the file in resources/wsdl is called simple-binding.wsdl, 
> while it is sometime referenced with a capital 'B'. This will fail on systems 
> with a case sensitive filesystem, like Linux/Unix and probably also Mac OS X
>          String[] cmdArgs = {"-i", "BasePortType",
>                             "-b", "BaseOneCORBABinding",
>                             "-d", output.getCanonicalPath(),
> // the following call to getResource() will work on Windows (case insensitive 
> filesystem) but return null on Linux/Unix
>                             
> getClass().getResource("/wsdl/simple-Binding.wsdl").toString()};
>         int exc = execute(cmdArgs);
>         assertEquals("WSDLToIDL Failed", noError, exc);
>         File f1 = new File(output, "simple-Binding-corba.wsdl");
>         assertTrue("simple-Binding-corba.wsdl should be generated", 
> f1.exists());
>         File f2 = new File(output, "simple-binding.idl");
>         assertTrue("simple-binding.idl should be generated", f2.exists());

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

Reply via email to