Posts Tagged ‘eclipse’

Compiling Spring 3 from SVN on Linux

Wednesday, November 11th, 2009

Mostly so I don’t forget myself next time :-)

Don’t forget to checkout only the wanted HEAD revision from svn:

svn co -r HEAD https://src.springframework.org/svn/spring-framework/trunk spring-framework

If you have ant as part of your distro (as is the case in gentoo), download a binary ant distribution and run <your_new_ant_path>/bin/ant instead of the ‘default’ ant to prevent any classpath issues.

Make sure you do

export ANT_OPTS=”-XX:PermSize=128m -XX:MaxPermSize=128m”

If necessary add -Xmx512m or more too.

Enter build-spring-framework and run

<your_new_ant_path>/bin/ant

to build Spring. In order for Eclipse to be able to find all required jar’s, you’re probably best running the resolve ant target in most of the subprojects.

Open import the projects to an Eclipse workspace, set the IVY_CACHE classpath var in Eclipse prefs to spring-framework/ivy-cache

I had a few errors in tests for the oxm bundle failing, but since I don’t really need them anyways I just removed the src/test source dirs from the oxm project in Eclipse :-)

It’s 2 AM so yea, the above is probably pretty messy :)

Can’t find the Capabilities prefs pane or Classic Update?

Wednesday, December 17th, 2008

Eclipse 3.4 Ganymede introduces a new UI for software updates.

In order for the Help->Software Updates submenu to show up again:

  1. install the Eclipse SDK plugin if needed
  2. enable Classic Update in Preferences->General->Capabilities

Easy as eating … fries! :-)

The pain of setting the classpath through the Jar Manifest

Wednesday, October 8th, 2008

I’ll keep this short: jar manifests suck. I just found out a jar wasn’t loaded as it was supposed to because my manifest classpath entry was 70 chars long (including the first space!). All other lines were 71 chars long, except this one because the entry was finished, so I was missing one space.

Netbeans handles this nicely when I build my app consisting of a number of projects with jar dependencies. Everything ends up ready to run in the dist dir of the main project root. Neat and simple. In Eclipse I seem to overlook the ability to export a Jar with it’s dependencies’ classpath preconfigured & packaged alongside the project code. I mean, am I *supposed* to do this myself?

I guess I really need to upgrade to using ant or maven and automate these kinds of things … and I will! Euhm … soon!

Since this is a clientside project, I’ll finally make the step and get the right kind of certificate to sign my code and WebStart enable the entire thing. And unless I solve these issues, I’ll return to netbeans for that purpose, although MyEclipse finally enabled me to stick with Eclipse :(

Until I switch to something automated of course :-)

Tired now. Need sleep.

Nite nite.

PS: I was about to reread but I’m too tired, so sorry, it’s probably badly written and ill-structured (or something)

Integrating MyEclipse 6.5 and IceFaces 1.7.1

Friday, September 19th, 2008

I’ve continued my search after my previous post and got working visual editing support in MyEclipse by:

  • choosing to download MyEclipse as a plugin install on an existing eclipse install, rather than a Pulse driven install (although that might not matter very much, you can enable classic software update support in the Eclipse Preferences under General->Capabilities)
  • Downloading the ICEFaces plugin for Eclipse, extract, add that dir as a local update site by Help->Software updates->Find and install->New features
  • Install from that local update site & restart eclipse
  • Create a new Web Project
  • Add JSF Capabilities from the MyEclipse menu (do not add facelets)
  • Add ICEFaces Capabilities again from the MyEclipse menu
  • Create a new page by New->JSP (advanced templates)->ICEFaces JSP
  • Profit!

I have to add that due to current project needs I got this to work in Windows, rather than Linux which I’ll try as soon as I’m relieved of this burden :-)

Also, I still need to use it some more before being able to comment on the experience but so far so good it seems.

MyEclipse 6.5 & IceFaces support ?

Thursday, September 18th, 2008

Does anybody have a working ICEFaces integration in MyEclipse? The latest version of the ICEFaces plugins for MyEclipse is for version 6.0.1 which does not appear to work anymore in MyEclipse 6.5 (The properties view throws Exception ‘à volonté’ when I select an ICEFaces Datatable component for example)

I’ve acquired MyEclipse a good month ago and must say I’m pretty satisfied with my $30 (annual) investment. A lot of these plugins are available by other means, whether they be Eclipse plugins or Netbeans or … What specifically makes MyEclipse valuable for me is the fact that it’s all preconfigured for one specific Eclipse runtime, the fact that I can edit Netbeans Matisse GUI forms and hopefully the ICEFaces support :-)

I’ve lost way too much time with handling all the different Eclipse Runtime requirements for plugins over the last few years. It’s a great platform, but somehow it seems you can’t do without a number of installed Runtimes. MyEclipse brings this number down to 4: MyEclipse, Lotus Notes, RAD & Lotus Symphony

When I installed on Linux I downloaded the Pulse Platform based installer without paying too much attention. After my initial surprise & scrutiny, I was pretty impressed by it’s easy of use for managing the plugins for MyEclipse. The process to do this straight from MyEclipse is about as easy as installing an application in Ubuntu using Add/Remove Applications, where the traditional Eclipse update support compares to Synaptic although it might be a little more complex (and powerful).

Lotus Symphony just went final & brings Eclipse plugin extensibility to OOo

Sunday, June 1st, 2008

So Lotus Symphony has reached GA, and I have to say seems they’ve done a great job optimizing it when I compare the performance to the earlier beta releases. The product is freely available to anyone and supported for Linux (SLED/RedHat) and Windows (XP/Vista).

What makes this interesting over the standard OpenOffice distribution, is the the possibility to write Eclipse plugins to extends Symphony’s functionality. To get started doing that, just grab the SDK weighing in just over 8mb,  which contains the developer guide and sample plugins along with instructions showing you how to set up your own Eclipse development environment.

Or you could just grab a few of the contributed plugins available already.

Disclaimer: I’m an IT Specialist for Lotus at IBM Belgium, mostly focusing on WebSphere Portal & Lotus Workplace Web Content Management

A few OSGi related links

Tuesday, April 8th, 2008