• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Antenna and WMA

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic