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
Posts: 12
Registered: ‎11-12-2008
My Device: Not Specified

Re: Error while building in Eclipse

I solved this particular problem by making a bogus class

 

package net.rim.device.api.ui.component;

public class ActiveRichTextField
{
public class RegionQueue { }
}

Compile, discard the outer class file, jar up the inner class file

 


javac net/rim/device/api/ui/component/ActiveRichTextField.java
rm net/rim/device/api/ui/component/ActiveRichTextField.class
jar cvf bb-bogus.jar net/rim/device/api/ui/component/*.class

 

Now add bb-bogus.jar to the build path.

 

 

 

Developer
Posts: 56
Registered: ‎07-14-2008
My Device: Not Specified

Re: Error while building in Eclipse

I ran into the same problem last night.  However, after I upgraded my JDE plugin  to the latest (.67) everything seems to be there now.
Developer
Posts: 16,985
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Error while building in Eclipse

Good thing this thread exists, i just had this issue with the new eclipse plugin version 1.52.
I have an old JDE project, if i use the 4.7.0 jar i get the AttributedTextIterator error, if i use 5.0.0 it goes away, but now complains about deprecated attributes no longer available like COVERAGE_CARRIER.

Seems i'll just have to ignore the error, the project is compiled with the JDE anyhow.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Error while building in Eclipse

[ Edited ]

I also experience the issue with the same project setup. Switching to RIM API 5.0.0 actually solved it.