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


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

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

Forum Jump


Peak, Atlas DCA55 Semiconductor Tester,  picture

Peak, Atlas DCA55 Semiconductor Tester,

$97.99



150mm/6

150mm/6" Semiconductor 15-Tray Wafer Cassette/Magazine for Robotic Inspection

$349.00



Silicon Wafer Integrated Circuit CPU Chip Technology Semiconductor Lithography13 picture

Silicon Wafer Integrated Circuit CPU Chip Technology Semiconductor Lithography13

$78.99



HA1137W Original Hitachi Semiconductor picture

HA1137W Original Hitachi Semiconductor

$13.95



5PCS ON Semiconductor LF353N LF353 Dual Wide Bandwidth JFET Input Op-Amp IC New picture

5PCS ON Semiconductor LF353N LF353 Dual Wide Bandwidth JFET Input Op-Amp IC New

$8.98



Red P. Red phos. P4 semiconductor grade . 99% pure. 25grams picture

Red P. Red phos. P4 semiconductor grade . 99% pure. 25grams

$45.00







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