Import RSyntaxTextArea in Eclipse

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Import RSyntaxTextArea in Eclipse

Re: Import RSyntaxTextArea in Eclipse

Post by Ralf Dieter » Fri Jun 03, 2011 2:27 pm

Hi Robert,

thanks for your help.
After a few problems with Subclipse, I was able to import it from the SVN.
Now a instance of the TextArea can be created.

Thanks and regards,
Ralf

Re: Import RSyntaxTextArea in Eclipse

Post by robert » Thu Jun 02, 2011 8:17 pm

Hi Ralf,

The source zip doesn't contain Eclipse project files (.project, .classpath), so it might take a little manual setup to get working. Assuming Eclipse identified the "src" folder as a source folder, you may also need to manually add "i18n" as another source folder. It contains all the localizations for the text in the project (essentially, just stuff in the editor's context menu).

Let me know if you still have problems after doing this!

If you're okay working with the bleeding edge stuff, a better alternative is to download the latest from the project's SVN repository (installing the Subclipse plugin for Eclipse if you haven't yet done so). Grabbing them this way, you'll get all Eclipse-related project files, so you should be able to import them directly as Java projects. You'd need to grab the trunk of the "RSyntaxTextArea" sub-project; all the others are add-on libraries or demo projects.

Re: Import RSyntaxTextArea in Eclipse

Post by Ralf Dieter » Thu Jun 02, 2011 12:19 pm

Sorry for doubleposting, but I found no Edit-Button.

This Exception points to the line:

ResourceBundle bundle = ResourceBundle.getBundle(MSG);

in RTextArea.

Can someone tell me how to import the RSyntaxTextArea in Eclipse correctly?

Regards

Import RSyntaxTextArea in Eclipse

Post by Ralf Dieter » Thu Jun 02, 2011 12:16 pm

Hi There,

I want to use RSyntaxTextArea for a project and downloaded the .zip from sourceforge.
I successfully imported it as a new Project in Eclipse (with Import->General->Archive File).
But when I try to create a new instance of RSyntaxTextArea, the following exception comes up:

Can't find bundle for base name org.fife.ui.rtextarea.RTextArea, locale de_DE
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

Top

cron