• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is antenna very popular amongst developers?

 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Along with JUnit, I'm kinda used to using ant for my builds... so I'm wondering if folks here have experience with antenna - ant extensions for developing J2ME/MIDP applications.
Thanks in advance for sharing what you know.
 
Jonathan Knudsen
Author
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Antenna is moderately popular.
You can use Ant without Antenna and get most of the way there. The only extra thing really is a task to adjust the MIDlet-Jar-Size attribute in the descriptor to match the size of your JAR.
I love Ant, but most of the time I don't need to use it because the J2ME Wireless Toolkit does what I need.
Some resources:
http://wireless.java.sun.com/midp/articles/ant/
http://wireless.java.sun.com/applications/peekandpick/2.0/ (includes an Ant build script)
http://wireless.java.sun.com/midp/articles/security3/ (includes an Ant build script that uses the ProGuard obfuscator)
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Antenna also includes a task for doing the JAD/JAR file conversion to a PRC file for those of us playing in the Palm arena.
Anyone else using it?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fell in love with Antenna in 5 minutes after some serious hair-pulling with IDEs' J2ME features. With Antenna, I had my application all wrapped up in a breeze. Of course it helps if you've done Ant scripts before (but every Java developer should get acquainted with Ant anyway, in my opinion...).
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse,
That's good to hear... I agree, to me ant is one of the basics.
BTW, which IDE caused the hair-pulling? Just curious.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Burk Hufnagel:
BTW, which IDE caused the hair-pulling? Just curious.

Sun ONE Mobile Edition. It was fine for the basics but I wanted to add obfuscation, external libraries, etc. and ran out of patience
I'm not saying that it would've been too difficult to configure Sun ONE -- I'm just saying I managed to get Antenna up and running faster and now I'm totally independent of any particular IDE.
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm.. never tried it. I'm using JBuilder and (while I haven't done much with J2ME yet) it seems pretty good.
That said, I still like using ant for builds.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case anyone would be interested, there is an article at Forum Nokia about Ant, Antenna and the WTK, which looks very nice. Although the Antenna project's tutorial isn't bad either.
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link - I'll have to mark the page.. and probably register too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic