BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-19-2008, 12:53 AM   #1
antoxu
New Member
 
Join Date: May 2008
Model: 8800
PIN: N/A
Carrier: Orange
Posts: 2
Default How to archieve images in Jar files

Please Login to Remove!

Hello All,

These days, I always suffering the pain of finding a way to pack image files into jar file with original code layout instead of put all images under the root of jar file with rapc.exe. I'm currently using eclipse BB plugin, it uses rapc.exe to compile .java files and generate jar package. But in the generated jar file, all images are moved to the root fir of the jar file. I also encountered the same problem when I was using BlackBerry Ant Tool, so I believe it is a common issues. I wonder if anyone can tell me how to resolve this issue.

Thanks,
Anto
Offline  
Old 05-19-2008, 01:22 AM   #2
antoxu
New Member
 
Join Date: May 2008
Model: 8800
PIN: N/A
Carrier: Orange
Posts: 2
Default

Since I'm new to BB, I don't know if there is any options of rapc.exe can use used to avoid rapc move all images under source dir to the root of jar file. For example:

My original code layout are:

com/anto/ui/a.java
com/anto/ui/b.java
com/anto/ui/c.java
com/anto/ui/d.java

res/a.png
res/b.png
res/c.png

the generated jar file's layout are
com
META-INFO
a.png
b.png
c.png

my expecting jar layout is
com
META-INF
res

Can anybody help on it?

Anto
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Vintage Holt Commodore Commercial Floor Scrubber Polisher Buffer Burnisher picture

Vintage Holt Commodore Commercial Floor Scrubber Polisher Buffer Burnisher

$599.99



Mitsubishi Control Board DM00N649.  SM76A127G02 . Ductless unit 47-0910KR (C64) picture

Mitsubishi Control Board DM00N649. SM76A127G02 . Ductless unit 47-0910KR (C64)

$120.00



3D MULTIMEDIA VIDEO CARD C64/V2 1MB picture

3D MULTIMEDIA VIDEO CARD C64/V2 1MB

$94.05



Windsor Commodore Duo 20

Windsor Commodore Duo 20" Carpet extractor w/Lester Charger 25900/Battery/99hour

$2911.95



POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4 picture

POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4

$178.04







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.