From owner-freebsd-eclipse@FreeBSD.ORG Fri Jun 5 23:33:07 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 5C49E106566C for ; Fri, 5 Jun 2009 23:33:07 +0000 (UTC) (envelope-from crahman@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 3473A8FC13 for ; Fri, 5 Jun 2009 23:33:06 +0000 (UTC) (envelope-from crahman@gmail.com) Received: by wa-out-1112.google.com with SMTP id m38so479656waf.27 for ; Fri, 05 Jun 2009 16:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=btRbqBYNaTGdlYjbDWm2krooRZq5KOADnWdHEYd7gww=; b=rJMWUVFUGPDEBaJFIl38J58CgvzDB6lPKIy1r8L5uRTZ2eEuN4cqk5MS23fepceWTw URVlxm5DTsWAYXp1WP84gpG30BuZIn7DIWkowaz8nfqC8f1TcRCRL31w2irEfIAWoriK qTZ/5lgHpNGcoFnMsKDfJu7pQZjoHR2+CmqeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=raZLR5F4493NVmoVVgahDSoTecvxhqtny+i1CRDl3+/a7cMLn3UlncGN8NwbyvYcta xufiLwGXAYzv1LOtZNpJzX5kLWnRa1qAKExsptCaTDeWzCGfZojdUuJlbAV/6BlaZbwf MwhMN6KNDI2ebty9RbWdK5fH/Agg9/gLJHc4M= MIME-Version: 1.0 Received: by 10.114.66.10 with SMTP id o10mr6171993waa.33.1244243153093; Fri, 05 Jun 2009 16:05:53 -0700 (PDT) From: Cyrus Rahman Date: Fri, 5 Jun 2009 17:05:33 -0600 Message-ID: <9e77bdb50906051605v1a32f047mb5a62f805a97d6f0@mail.gmail.com> To: freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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: Fri, 05 Jun 2009 23:33:07 -0000 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.