new port: eclipse3

Martin Dieringer Martin.Dieringer at t-online.de
Thu Apr 22 12:15:51 PDT 2004


On Thu, 22 Apr 2004, Torben Jäger wrote:

> > work/Makefile: add following somewhere at the top
> > ECLIPSE_OS=     freebsd
> > ECLIPSE_WS=     gtk
> > ECLIPSE_ARCH=   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/local)
> 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.



More information about the freebsd-java mailing list