From owner-freebsd-eclipse@FreeBSD.ORG Sat Jun 6 17:07:01 2009 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC36C106566C for ; Sat, 6 Jun 2009 17:07:01 +0000 (UTC) (envelope-from heiner_ej@yahoo.de) Received: from n2.bullet.mail.re3.yahoo.com (n2.bullet.mail.re3.yahoo.com [68.142.237.109]) by mx1.freebsd.org (Postfix) with SMTP id 7EB028FC0A for ; Sat, 6 Jun 2009 17:07:01 +0000 (UTC) (envelope-from heiner_ej@yahoo.de) Received: from [68.142.237.90] by n2.bullet.mail.re3.yahoo.com with NNFMP; 06 Jun 2009 16:53:40 -0000 Received: from [66.196.97.143] by t6.bullet.re3.yahoo.com with NNFMP; 06 Jun 2009 16:53:40 -0000 Received: from [127.0.0.1] by omp201.mail.re3.yahoo.com with NNFMP; 06 Jun 2009 16:53:40 -0000 X-Yahoo-Newman-Id: 422842.18313.bm@omp201.mail.re3.yahoo.com Received: (qmail 19842 invoked from network); 6 Jun 2009 16:26:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:To:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=KKmwHyaI9kN18py/JXKaEq92niiQW12qPLbi7a8zASCwX5c5y6oZa1wo5fewtC/4b8Ygfe/KsKIenYN9Z/dcT3GgaKrs0MVjpCptR3I84Niow/sU8XqBj1iEzoNTKXGlhpBJeOPnD9/gSQ3hla8/p+w92Y1E1q4RD1vppu8YTrs= ; Received: from unknown (HELO ?192.168.2.100?) (heiner_ej@84.144.100.229 with plain) by smtp113.plus.mail.re1.yahoo.com with SMTP; 6 Jun 2009 16:26:59 -0000 X-Yahoo-SMTP: 4oilbwSswBDbRLHb6R1gRRq37n8E1w-- X-YMail-OSG: OwozgzEVM1k0ItKAiaePGFs4A21KlIaMwPzlmbhsfiPZatZdpohA7Yg83zv0lQHTBIgIrfP2D4CJYSeTuE4Dg2O3kjPixq4Mx490VM80AtGIsajYv5I_csIByxWlT48teDHljjgZkHy4Oy2Xoqi29gmJfJ1qMKUaZllbL4easAwETufypXtaelZonwst2ZxdDAJzOyz_BIYtZJtE8sSFKBUuNmwNPwLyOaCuiRzdo25GaL5bUg8aRKj1CmmxsIAcufQ9YODtHrce6YvxbDZsKHkw7E3Sp9NlvB6fJh_7qlwyKdd1oyolnCcXfTrmUQ-- X-Yahoo-Newman-Property: ymail-3 From: Heiner =?ISO-8859-1?Q?Strau=DF?= To: freebsd-eclipse@freebsd.org In-Reply-To: <9e77bdb50906051605v1a32f047mb5a62f805a97d6f0@mail.gmail.com> References: <9e77bdb50906051605v1a32f047mb5a62f805a97d6f0@mail.gmail.com> Content-Type: text/plain Date: Sat, 06 Jun 2009 18:26:56 +0200 Message-Id: <1244305616.14164.4.camel@think.schlaf.bilch.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: RCP Delta Pack files for FreeBSD X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2009 17:07:02 -0000 Am Freitag, den 05.06.2009, 17:05 -0600 schrieb Cyrus Rahman: > 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. Hi, when I had complaints about MOZILLA_FIVE_HOME I did this: # # FreeBSD-specific startup script for Eclipse Platform # # See: http://www.eclipse.org # # $FreeBSD: ports/java/eclipse/files/eclipse.in,v 1.12 2009/02/15 03:19:41 glewis Exp $ # DEFAULT_JAVA_HOME=/usr/local ECLIPSE_HOME=/usr/local/eclipse DEFAULT_JAVA_CMD=java MOZILLA_FIVE_HOME=/usr/local/lib/xulrunner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME export MOZILLA_FIVE_HOME LD_LIBRARY_PATH because firefox3 won't work. You need to install xulrunner from ports. Hope this helps. Greetings, Heiner