From owner-freebsd-java@FreeBSD.ORG Thu Apr 22 12:15:51 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7844716A4CE for ; Thu, 22 Apr 2004 12:15:51 -0700 (PDT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0747F43D49 for ; Thu, 22 Apr 2004 12:15:51 -0700 (PDT) (envelope-from Martin.Dieringer@t-online.de) Received: from fwd09.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1BGjfo-0001rH-00; Thu, 22 Apr 2004 21:15:48 +0200 Received: from dieringer.dyndns.org (XRmCP6ZagepB6ThyFNGmIJiva7OUoJQqQLpv3JngQpT-j4nnJ4x9Q5@[217.231.179.160]) by fwd09.sul.t-online.com with smtp id 1BGjfc-05Rx6e0; Thu, 22 Apr 2004 21:15:36 +0200 Received: (qmail 50205 invoked by uid 1000); 22 Apr 2004 19:15:30 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Apr 2004 19:15:30 -0000 Date: Thu, 22 Apr 2004 21:15:30 +0200 (CEST) From: Martin.Dieringer@t-online.de (Martin Dieringer) Sender: martin@pc.dieringer.dyndns.org To: jicken@web.de In-Reply-To: <200404221925.34320.jicken@web.de> Message-ID: <20040422195359.A977@pc.dieringer.dyndns.org> References: <200404221331.13341.jicken@web.de> <200404221452.43457.torben.jaeger@mail.workgroup> <200404221925.34320.jicken@web.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Seen: false X-ID: XRmCP6ZagepB6ThyFNGmIJiva7OUoJQqQLpv3JngQpT-j4nnJ4x9Q5 cc: java@freebsd.org Subject: Re: new port: eclipse3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Martin Dieringer List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 19:15:51 -0000 On Thu, 22 Apr 2004, Torben J=E4ger wrote: > > work/Makefile: add following somewhere at the top > > ECLIPSE_OS=3D freebsd > > ECLIPSE_WS=3D gtk > > ECLIPSE_ARCH=3D x86 > > > > this is set in /usr/ports/java/eclipse3/Makefile. why setting twice? ah ok I ran make in the work directory when testing. > > work/plugins/org.eclipse.swt/Eclipse_SWT/make_gtk.mak line 88: add > > -I$(JAVA_HOME)/include/freebsd \ > > > > added and updated download. so now it should run? > > one problem I see: it installs both /usr/local/eclipse > > and /usr/local/eclipse3 > > > > can't reproduce. there should be a single eclipse directory under PREFIX. strange. i got: ls -l /usr/local/eclipse3 total 15 -r-xr-xr-x 1 root wheel 14668 Apr 22 18:00 eclipse* and : ls -l /usr/local/eclipse total 77 -rw-r--r-- 1 root wheel 59 Apr 22 17:59 .eclipseproduct drwxr-xr-x 4 root wheel 512 Apr 22 18:00 configuration/ -rw-r--r-- 1 root wheel 15049 Apr 22 17:59 cpl-v10.html -rwxr-xr-x 1 root wheel 18973 Apr 22 17:59 eclipse* drwxr-xr-x 8 root wheel 512 Apr 22 17:17 features/ -rw-r--r-- 1 root wheel 10489 Apr 22 17:59 icon.xpm -rw-r--r-- 1 root wheel 5642 Apr 22 17:59 notice.html drwxr-xr-x 85 root wheel 3584 Apr 22 17:17 plugins/ drwxr-xr-x 2 root wheel 512 Apr 22 18:00 readme/ -rw-r--r-- 1 root wheel 18155 Apr 22 17:59 startup.jar the problem is: the zip file work/result/freebsd-gtk-x86-sdk.zip contains "eclipse" directory and gets unzipped to /usr/local/ > > btw. you should add a separate directory like work/eclipse to > > extract everything. looks better > > don't understand this. > what it is extracted has to be extracted under PREFIX (let's say /usr/loc= al) > IMO like it is with all other progs. no I meant the source when building under /usr/ports/java/eclipse3/work/ but this is the fault of the source distribution, sorry. I don't know why, I had it running perfectly, now I got your new port, it compiles but I get the NullPointerException m.