BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 07-04-2011, 09:12 AM   #1 (permalink)
New Member
Join Date: May 2011
Model: 8110
Carrier: o2
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BlackBerry ant build script

Please Login to Remove!


I've got a problem with an ant script in my blackberry project. I wrote an ant-script which compiles an Application that uses a customized language file. This file is a XML document and may be in an English, Spanish and other version. In my ant script I do:

<copy file="${path.settings}" tofile="${basedir}/res/settings.xml" overwrite="true" encoding="UTF-8" />

to overwrite the settings.xml (translation) file depending on my language choice. If I overwrite with an English version the built package will display all the characters correctly. Unfortunately the Spanish version will compile but the extract is an application with wrongly encoded Spanish special characters. The command for building a package is <rapc>. I've no idea why the spanish special characters are incorrectly displayed. If I build the same project with eclipse it would compile and work without any problems. Am I missing any encoding setting in a build script?

Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: BlackBerry ant build script
Thread Thread Starter Forum Replies Last Post
Web Desktop 5 no application loader Walter_Str BES Admin Corner 2 08-27-2009 08:05 AM
BES 4.1 SP2 for Microsoft Exchange - Now Available jibi BES Admin Corner 51 01-10-2007 10:30 AM
BES 4.0 SP3 for Exchange available for Download jnelson2000 BES Admin Corner 72 01-12-2006 02:44 PM
BES 4.0 SP1 for Exchange now available! jibi BES Admin Corner 20 05-04-2005 11:00 PM

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.