Discussion:
Build fails
Remko Popma
2014-09-09 01:49:30 UTC
Permalink
Build fails on my work PC (Japanese WinXP):
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38

(2 more fail for the same reason)


Sent from my iPhone
Matt Sicker
2014-09-09 02:09:29 UTC
Permalink
I noticed that failing in the brief branch I had, but that was from running
it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
Matt Sicker <***@gmail.com>
Remko Popma
2014-09-09 02:18:03 UTC
Permalink
I doubt it: the plus is converted to a space, which makes the test fail.

Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
Remko Popma
2014-09-09 05:41:07 UTC
Permalink
I think I understand.
I just checked out log4j on that PC.
So all files are now under the git repository workspace.

On WinXP, user.home is c:¥Documents and Settings¥popmarem (with fun spaces in the path)
These spaces throw off the URL-File conversion.

I guess I need to move my git repository to a different location on WinXP.

Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
Gary Gregory
2014-09-09 13:07:37 UTC
Permalink
But there is a way to make file:// URL work with spaces. This sounds like a
bug in the tests or in _something__

Gary
Post by Remko Popma
I think I understand.
I just checked out log4j on that PC.
So all files are now under the git repository workspace.
On WinXP, user.home is c:¥Documents and Settings¥popmarem (with fun spaces
in the path)
These spaces throw off the URL-File conversion.
I guess I need to move my git repository to a different location on WinXP.
Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from
running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
--
E-Mail: ***@gmail.com | ***@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Matt Sicker
2014-09-09 15:45:38 UTC
Permalink
Whoa, does WinXP actually use the yen symbol for directories? :P
Post by Gary Gregory
But there is a way to make file:// URL work with spaces. This sounds like
a bug in the tests or in _something__
Gary
Post by Remko Popma
I think I understand.
I just checked out log4j on that PC.
So all files are now under the git repository workspace.
On WinXP, user.home is c:¥Documents and Settings¥popmarem (with fun
spaces in the path)
These spaces throw off the URL-File conversion.
I guess I need to move my git repository to a different location on WinXP.
Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from
running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
--
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
--
Matt Sicker <***@gmail.com>
Remko Popma
2014-09-09 22:08:29 UTC
Permalink
On a Japanese OS the backslash is displayed as a yen symbol (single byte). There's also a double byte yen symbol. In my mail my phone probably used the double-byte character or it would have displayed as a backslash for you.

Sent from my iPhone
Post by Matt Sicker
Whoa, does WinXP actually use the yen symbol for directories? :P
But there is a way to make file:// URL work with spaces. This sounds like a bug in the tests or in _something__
Gary
Post by Remko Popma
I think I understand.
I just checked out log4j on that PC.
So all files are now under the git repository workspace.
On WinXP, user.home is c:¥Documents and Settings¥popmarem (with fun spaces in the path)
These spaces throw off the URL-File conversion.
I guess I need to move my git repository to a different location on WinXP.
Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
--
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
--
Matt Sicker
2014-09-09 23:05:40 UTC
Permalink
Is this in SJIS or Unicode?
Post by Remko Popma
On a Japanese OS the backslash is displayed as a yen symbol (single byte).
There's also a double byte yen symbol. In my mail my phone probably used
the double-byte character or it would have displayed as a backslash for
you.
Sent from my iPhone
Whoa, does WinXP actually use the yen symbol for directories? :P
Post by Gary Gregory
But there is a way to make file:// URL work with spaces. This sounds like
a bug in the tests or in _something__
Gary
Post by Remko Popma
I think I understand.
I just checked out log4j on that PC.
So all files are now under the git repository workspace.
On WinXP, user.home is c:¥Documents and Settings¥popmarem (with fun
spaces in the path)
These spaces throw off the URL-File conversion.
I guess I need to move my git repository to a different location on WinXP.
Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from
running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
--
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
--
--
Matt Sicker <***@gmail.com>
Remko Popma
2014-09-09 23:59:43 UTC
Permalink
For the multi byte yen character, there are both SJIS and Unicode encodings to convert that character to bytes.
But if you send me a text with a backslash, that same text (the same bytes) will display as a (narrow) yen mark on a Japanese PC. That is a code page thing, not a character encoding thing.

Sent from my iPhone
Post by Matt Sicker
Is this in SJIS or Unicode?
Post by Remko Popma
On a Japanese OS the backslash is displayed as a yen symbol (single byte). There's also a double byte yen symbol. In my mail my phone probably used the double-byte character or it would have displayed as a backslash for you.
Sent from my iPhone
Post by Matt Sicker
Whoa, does WinXP actually use the yen symbol for directories? :P
But there is a way to make file:// URL work with spaces. This sounds like a bug in the tests or in _something__
Gary
Post by Remko Popma
I think I understand.
I just checked out log4j on that PC.
So all files are now under the git repository workspace.
On WinXP, user.home is c:¥Documents and Settings¥popmarem (with fun spaces in the path)
These spaces throw off the URL-File conversion.
I guess I need to move my git repository to a different location on WinXP.
Sent from my iPhone
I noticed that failing in the brief branch I had, but that was from running it in an IDE. Could it be an L10n issue?
Post by Remko Popma
FileUtilsTest.testFileFromUriWithPlusCharactersInName:38
(2 more fail for the same reason)
Sent from my iPhone
---------------------------------------------------------------------
--
--
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
--
--
Loading...