Hi List, I am not sure, the following will concern all of you. On the other hand, I expect some of the developers listening here. Also this may be a known issue.
The problem is when running a test using eclipse & maven, the results differ, depending on the location in the file system. A BLANK (' ') in the file location (e.g.: of the configuration) makes the difference. This is not new, but nevertheless often forgotten: There is a difference between URL and URI: a URL must mask BLANKS (with '%20'). A well formed file location is NOT a well formed URL! A file location can be converted to an URL: file.toURI().toURL() which yields something like 'file:/C:/openejb.xml'. You have to catch (MalformedURLException e) in this case. Eclipse file search on openejb3 source code (677505) found 51 occurences of 'toURL()' and only 1 toURI().toURL(). Is this totally wacko? Any comemnts ? Can I help ? Is this fixed in some version ? Is it gonna be fixed ? Is it feature ? mit freundlichen Grüßen/best regards Wolfgang Schrecker "In mathematics, to exist is to be construed." from Shapiro: The Oxford Handbook of PHILOSOPHY OF MATHEMATICS AND LOGIC S. 19 -- -------------------------------------------------- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 -------------------------------------------------- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 * * * * * * * * L E G A L D I S C L A I M E R * * * * * * * * This e-mail is destined for the above mentioned recipient. In case you received this e-mail by accident, we would appreciate it if you could contact the sender and delete all copies stored on your computer. Please be aware that the security and confidentiality of electronic data transmitted by e-mail is not completely guaranteed and that data may be seen, copied, downloaded or changed by third persons during transmission. Atos Origin accepts no liability for the security and confidentiality of data and documents sent by e-mail. Please make sure that all important messages will be confirmed in writing by means of a telefax or a letter. * * * * * * * * L E G A L D I S C L A I M E R * * * * * * * *