Showing posts with label JBoss Developer Studio. Show all posts
Showing posts with label JBoss Developer Studio. Show all posts

Tuesday, November 26, 2013

How to increase JBoss Developer Studio or Eclipse font size in Mac OSX

I typically use JBoss Developer Studio since it has all of the JBoss plugins already installed.  All of the plugins are available for plain Eclipse, but it's nice to have them already packaged together.

I recently downloaded the Mac version, and the font sizes on a Mac are tiny.

This Mac OSX Hints post contains the instructions for Eclipse.

It is a little different for JBoss Developer Studio :

  • locate the "JBoss Developer Studio.app" located in <>/studio/JBoss Developer Studio.app
  • "control" + click on the "JBoss Developer Studio.app" and choose "Show Package Contents"
  • this will open a folder "Contents"
  • open Contents/MacOS/jbdevstudio.ini
  • remove the line, "-Dorg.eclipse.swt.internal.carbon.smallFonts"
  • restart JBDS
Happy coding!

Wednesday, October 26, 2011

Where did the drools-api.jar go?

JBoss BRMS 5.2 is out so naturally I started a new project in it.

The first thing I noticed after updating my pom.xml was that there was no drools-api-version.jar.

All of the api classes are now in knowledge-api-version.jar.  Be sure to update your pom!

Wednesday, December 3, 2008

Unsigned JUnit 4 in JBoss Developer Studio

Running a JUnit4 test I got the following error :

junit.framework.JUnit4TestCaseFacade"'s signer information does not match signer information of other classes in the same package
Apparently other people have had the same problem with Europa.

The solution was easy.  I downloaded JUnit4 jars and created a new User Library with them.  I then added my new user library to the project and the run configuration.

To add the new library to the project :
  • I downloaded Junit4 and its' sources.
  • I put both jars in "/Users/[USER_NAME]/Java."
  • I control-clicked on the prject name and chose "Build Path -> Configure Build Path."
  • Under "Libraries" I removed the JUnit 4 library.
  • I clicked "Add Library -> User Library -> Next -> User Libraries -> New" and created a Library called "JUnit4 Local."
  • I added the jars I downloaded.

To add the new library to the run configuration :
  • Run Button -> Run Configurations
  • The most recently run test is highlighted.  Choose the one that needs to be changed.
  • Click the "Classpath" tab.
  • Expand "User Entries"
  • Remove the existing JUnit4 library.
  • Add the user library.