compiling

3 views
Skip to first unread message

fergal

unread,
Jul 5, 2010, 5:40:10 AM7/5/10
to aedict-users
First off, thanks for aedict, I'm using it a lot now that I'm trying
to read manga and doudle thanks for making it open, so hopefully I can
add some of things I want.

I found http://code.google.com/p/aedict/wiki/Compile and I think I
followed the instructions correctly but ended up with

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Keystore not specificed and could not locate default
debug.keystore

This makes sense since I have no keys. How do I enable the debug
keystore with maven? Or should I be doing it somewhere else?

Fergal

Martin Vysny

unread,
Jul 5, 2010, 5:50:26 AM7/5/10
to aedict...@googlegroups.com

Hi,
it's good to hear that the app is helpful :) Yeah, the build process
is quite overcomplicated - sorry. To generate the debug keystore please
try http://code.google.com/p/aedict/wiki/Eclipse
- just let me know if the instructions are not clear.
Sincerely,
Martin


fergal

unread,
Jul 5, 2010, 7:13:23 AM7/5/10
to aedict-users


On Jul 5, 10:50 am, Martin Vysny <vy...@baka.sk> wrote:
> On Mon, 2010-07-05 at 02:40 -0700, fergal wrote:
> > First off, thanks for aedict, I'm using it a lot now that I'm trying
> > to read manga and doudle thanks for making it open, so hopefully I can
> > add some of things I want.
>
> > I foundhttp://code.google.com/p/aedict/wiki/Compileand I think I
> > followed the instructions correctly but ended up with
>
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Keystore not specificed and could not locate default
> > debug.keystore
>
> > This makes sense since I have no keys. How do I enable the debug
> > keystore with maven? Or should I be doing it somewhere else?
>
> > Fergal
>
> Hi,
>   it's good to hear that the app is helpful :) Yeah, the build process
> is quite overcomplicated - sorry. To generate the debug keystore please
> tryhttp://code.google.com/p/aedict/wiki/Eclipse
> - just let me know if the instructions are not clear.

I found a way to do it without eclipse (I don't have it installed and
would rather avoid it - I know android is kind of built for it which
is a shame as that puts a really high barrier to entry to people
casually fixing and changing open source android apps).

I found this page http://developer.android.com/guide/publishing/app-signing.html
which has all of the debug.keystore passwds etc so I ran

keytool -genkeypair -keystore debug.keystore -keypass android -alias
androiddebugkey -storepass android

and fed it some answers for CN etc (I took the values from that page,
although I suspect they're not important, I don't know). Then your
wiki page told me that debug.keystore had to go into ~/.android .
After that it built just fine. You might want to update the wiki page.

I am a little worried that it took 5 minutes to build (I wasn't doing
a clean, just an install). Is there something that you do to shorten
that when developing?

F

> Sincerely,
> Martin

Martin Vysny

unread,
Jul 5, 2010, 8:03:52 AM7/5/10
to aedict...@googlegroups.com

Hey, thanks for figuring it out! I'll update the Wiki. To speed up the
build, you can skip tests:
mvn clean install -DskipTests
also, when performing next builds, you can only build the aedict-apk
project:
cd android-apk
mvn clean install
(no need to skip tests here, they run very quickly - it is
aedict-indexer's tests which are very slow).
Thanks!
Martin


> > Sincerely,
> > Martin


Martin Vysny

unread,
Jul 5, 2010, 8:51:36 AM7/5/10
to aedict...@googlegroups.com
On Mon, 2010-07-05 at 04:13 -0700, fergal wrote:
>

Also, I use Eclipse to develop Aedict - while it certainly is an
overbloated crap, it really speeds up things. You even don't have to use
Maven to build and run Aedict in the emulator - the ADT plugin does this
for you, and it also supports debugging. It's really quite helpful.

> F
>
> > Sincerely,
> > Martin


Reply all
Reply to author
Forward
0 new messages