Letractively / goda-time

Automatically exported from code.google.com/p/goda-time
0 stars 0 forks source link

Get goda-time working #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The project is currently broken, by several reasons. Here's a quick hack 
patch.

- Solves IndexOutOfBounds in GJLocaleSymbols#alignXXX
- Solves non-emulated classes (Locale, ResourceBundle, StringTokenizer)
- Solves missing time zone and other .properties files

Original issue reported on code.google.com by miguel.p...@gmail.com on 11 Jun 2009 at 9:45

Attachments:

GoogleCodeExporter commented 9 years ago
I can't get this to apply cleanly to a trunk checkout at r11. I'm running patch 
from
the root of the checkout (e.g. above the src folder). Am I missing something 
obvious?

goda-time-read-only$ patch < refactor.patch.txt
(Stripping trailing CRs from patch.)
patching file Emulation.gwt.xml
(Stripping trailing CRs from patch.)
patching file Locale.java
(Stripping trailing CRs from patch.)
patching file ResourceBundle.java
(Stripping trailing CRs from patch.)
patching file StringTokenizer.java
(Stripping trailing CRs from patch.)
can't find file to patch at input line 933
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/org/goda/Goda.gwt.xml
|===================================================================
|--- src/org/goda/Goda.gwt.xml  (revision 8)
|+++ src/org/goda/Goda.gwt.xml  (working copy)
--------------------------
File to patch: 

Original comment by organicv...@gmail.com on 7 Jan 2010 at 6:19

GoogleCodeExporter commented 9 years ago
I generated the diff with eclipse. Judging from the patch's date, I'd say it 
was 
patched against revision 8.
If you want to I can email a copy of my version to you.

Original comment by miguel.p...@gmail.com on 7 Jan 2010 at 6:36

GoogleCodeExporter commented 9 years ago
The current version in the repository, which is based on this patch, uses 
StringTokenizer, which isn't supported in the latest version of GWT. The 
reference is in getDisplayVariant.

Attached is a patch which uses String.split() instead, which allows me to 
compile my project.

Original comment by Schmeeky on 11 Jun 2012 at 10:33

Attachments: