Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
hgilde
Posts: 13
Registered: ‎09-15-2009
My Device: Not Specified
Accepted Solution

Eclipse plugin 1.1 and JAR files

 

I'm trying out the Eclipse 1.1 JDE plugin.

 

I add a library JAR to the project (the classes in the JAR are compatible with JDK 1.1), I use some classes from the JAR, then I run the project. I see that rapc is being called with this JAR as a dependency. So on the device, the project is looking for a library with the name of my JAR.

 

Is that really how it's supposed to work? What is the point of adding a JAR file to my project, if the referenced classes from the JAR won't end up in the COD file?

 

Please use plain text.
Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.634 Dev OS, Z30 (STA100-5)-10.3.1.634 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: Eclipse plugin 1.1 and JAR files

Yes, it is a little cumbersome but you need to run rapc on the JAR file to get the COD library.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
New Developer
hgilde
Posts: 13
Registered: ‎09-15-2009
My Device: Not Specified

Re: Eclipse plugin 1.1 and JAR files

Ah... can you point me to run rapc over a JAR?

Please use plain text.