Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Antenna and WMA

 
Richard Everhart
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone out there using Antenna and Ant to build their MIDP projects? If so I was wondering if you ran into the same thing as I did.

I specified that the MIDlet I was building required WMA so I set the wtk.wma.enabled property to true. However, doing this cause the build to fail since Antenna is looking for the wma.jar file in Wireless Toolkit (WTK) lib but can't find it there. Instead, this directory contains the files wma11.jar and wma20.jar. In order to get things to work I had to manually copy wma11.jar to wma.jar. This is fine for research and development but when it comes to production I'd rather not have to rely on a modified version of the WTK.

Anyone else have a more elegant solution?

Richard
 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also use Antenna for building midlets. I did not do any project using WMA so can�t really answer your question.

I don�t think Antenna is being updated. I have to sign my midlets and Antenna does not support midlet signing.

It is these small problems that are also making me think if I should continue using Antenna or switch over to something else.
 
Richard Everhart
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course an alternative is to just use ant's exec task. I'm guessing that Antenna is just a wrapper around the exec task anyway.

Richard
 
Victor Ho
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same problem. Instead of replacing jars in WTK:

I had:
<property name="wtk.wma.enabled" value="false"/>

And use this in my classpath explicitly:
<property name="wma.jar" location="${wtklib.dir}/wma11.jar" />

Victor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic