Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 17:05:33 -0600
From:      Cyrus Rahman <crahman@gmail.com>
To:        freebsd-eclipse@freebsd.org
Subject:   RCP Delta Pack files for FreeBSD
Message-ID:  <9e77bdb50906051605v1a32f047mb5a62f805a97d6f0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to get an Eclipse RCP application to run on FreeBSD.  It's
been set up so that the target platform location has been moved from
/usr/local/eclipse to a private directory containing many third party
files and within which the distributed delta pack is installed.

I can get it to build and run correctly on FreeBSD by copying files
from /usr/local/eclipse to the target platform location, namely the
*freebsd* files from /usr/local/eclipse/plugins - but only if I use
the 'Launch an Eclipse application' approach.  If I try to export the
application using the export wizard, the export process succeeds but
no launcher is present in the export directory.  If I copy
/usr/local/eclipse/eclipse into the export directory, I can start the
application but it complains that MOZILLA_FIVE_HOME cannot be found in
the environment and it exits after displaying the splash screen.

If I set MOZILLA_FIVE_HOME to either of /usr/local/lib/firefox or
/usr/local/lib/firefox3, it runs further but either exits with a
java-out-of-memory error or it hangs and must be killed.

I am guessing I have not set up the correct environment to run it
outside of Eclipse.  What do I need to do to generate the FreeBSD
portion of a delta pack?

It seems like I'm awfully close but that perhaps I'm linking to the
wrong library - it is not necessary to set MOZILLA_FIVE_HOME if I
export a simple RCP application when the target platform location is
/usr/local/eclipse.

In this simple case the launcher is correctly copied to the export
directory, too.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e77bdb50906051605v1a32f047mb5a62f805a97d6f0>