Coder Social home page Coder Social logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
This issue was closed by revision 7748af562b.

Original comment by [email protected] on 10 Oct 2009 at 7:08

  • Changed state: Fixed

from aedict.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024

Original comment by [email protected] on 11 Oct 2009 at 10:46

  • Changed state: Fixed

from aedict.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.