Comments (9)
This one is quite a surprise: it seems that Java on MacOSX somehow incorrectly
parses
.properties file! Parsing a properties file is architecture-independent so it
should
work regardless of your encoding setting (it is always in ISO 8859-1 encoding
with
Unicode-escaped characters). Hard to fix directly. I'll better take another
approach:
I was planning to move the hiragana/katakana table from the properties file
directly
to the java sources, which should fix the bug. I'll post a comment when this is
ready.
Original comment by [email protected]
on 5 Oct 2009 at 11:24
from aedict.
For now you can try to skip the tests:
mvn clean install -DskipTests
Original comment by [email protected]
on 5 Oct 2009 at 12:40
from aedict.
Ok it builds fine on OSX using mvn clean install -DskipTests
Thanks,
Shawn
Original comment by [email protected]
on 5 Oct 2009 at 10:05
from aedict.
Running the built apk though crashes and gives:
E/AndroidRuntime( 3052): Uncaught handler: thread main exiting due to uncaught
exception
E/AndroidRuntime( 3052): java.lang.RuntimeException: Unable to start activity
ComponentInfo{sk.baka.aedict/sk.baka.aedict.MainActivity}:
java.lang.RuntimeException: java.io.IOException: Failed to load resource
'katakana.properties'
E/AndroidRuntime( 3052): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
Original comment by [email protected]
on 5 Oct 2009 at 10:36
from aedict.
This issue was closed by revision 7748af562b.
Original comment by [email protected]
on 10 Oct 2009 at 7:08
- Changed state: Fixed
from aedict.
Please test and verify if it works for you.
Original comment by [email protected]
on 10 Oct 2009 at 7:10
- Added labels: Affects-0.1, Fixed-in-0.2
from aedict.
Hi,
The tests still fail.
Test set: sk.baka.aedict.JpUtilsTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec <<<
FAILURE!
testToRomaji(sk.baka.aedict.JpUtilsTest) Time elapsed: 0.004 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<[haha]> but was:<[„ÅØ„ÅØ]>
However, I can build it with no tests. The app will run (though I have to use
simeji
or other japanese ime to enter Japanese text). I can't use your lookup via
romaji
but that is ok for me. Users will get the app via the market so maybe you
don't need
to spend time getting the build system to work for OSX.
Original comment by [email protected]
on 11 Oct 2009 at 12:48
from aedict.
I tried to compile Aedict on Windows and it failed similarly. I fixed it by
forcing
source encoding to UTF-8: please try the newest head and let me know if it
works for
you.
Original comment by [email protected]
on 11 Oct 2009 at 10:46
- Changed state: Accepted
from aedict.
Original comment by [email protected]
on 11 Oct 2009 at 10:46
- Changed state: Fixed
from aedict.
Related Issues (20)
- Kanji not showing up in SKIP code search HOT 3
- Billing error for Ultimate HOT 13
- Export to Ankidroid Updates HOT 9
- Searching for rimasu matches shikaru
- Billing Error HOT 34
- Large spacing around lines containing Japanese when using custom font (Noto Sans JP) HOT 1
- Export to AnkiDroid, Furigana are placed wrong
- TTS Anki Export HOT 5
- Add support for other EPWING dictionaries HOT 1
- Example sentence for 科 doesn't display 科 HOT 1
- App won't let me past the dictionary update screen HOT 5
- Custom storage path and/or history backup and restore feature request HOT 3
- [Enhancement] ⏳🔎 User configurable time delay in Search TextBox for Live Search
- [Enhancement] 📒Display number of entries in a Notepad
- [Bug] 👻 Words with only hiragana / katakana are not displayed in notepad quiz
- Abnormal font spacing when using custom fonts HOT 3
- Update SOD Stroke Order Diagrams Vector from 2019 version? HOT 5
- Crash on dictionary update in background HOT 1
- 候補 in search results for 侯 HOT 2
- Kanji search crash HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aedict.