ports/102993: New port: java/eclipse32 New port of Eclipse IDE version 3.2
David Sledge
dsledge at appriss.com
Thu Oct 26 21:30:26 UTC 2006
The following reply was made to PR ports/102993; it has been noted by GNATS.
From: David Sledge <dsledge at appriss.com>
To: Mikhail Teterin <mi+kde at aldan.algebra.com>
Cc: bug-followup at freebsd.org
Subject: Re: ports/102993: New port: java/eclipse32 New port of Eclipse IDE
version 3.2
Date: Thu, 26 Oct 2006 17:25:54 -0400
Mikhail Teterin wrote:
> Great! Please, go ahead.
>
> BTW, I noticed, that the vendor's default build target ("run") does the
> following:
>
> a) builds in various directories;
> b) copyies into the eclipse/ subdirectory;
> c) tars up the eclipse/ subdirectory into a file in result/ subdirectory;
> d) gzips the c)-created tar-ball in the result/
>
> The step b) doubles the diskspace requirement, and the step c) triples it,
> while the step d) (along with the port's do-install) consume quite a bit of
> CPU needlessly...
>
> Do you think, it can be arranged for only the step a) to happen upon "make
> build" and for the step b) to copy everything into the _final destination_
> (${PREFIX}/eclipse) upon "make install"?
>
> The would make the builds both faster (no useless compression of the tarball
> in d) and use around 3 times less diskspace while building...
>
> These are all relatively cosmetic changes, compared to the hard work of the
> rest of the porting, but it would still be a nice polishing touch...
>
> Thanks a lot! Yours,
>
> -mi
>
Ok, I updated the eclipse 3.2.1 port to replace the existing
java/eclipse port. Also I removed some of the taring and extracting that
the eclipse ant build scripts do to save some space as you suggested.
The assemble and package ant scripts now write the files to the eclipse
directory instead of to a tar file and then extracting it to eclipse
directory. The taring of the eclipse directory no longer happens. During
"make install" the eclipse directory is copyed to the install location
instead of extracting the tar file as it did before since I changed it
to not create the tar file anymore. This should save some diskspace as
you suggested. You can download the new shar or diff file from
http://www.freshdevonrails.com . Let me know if you find any problems.
Also the port has been updated due to the changes of gnome 2.16, The
whole X11BASE to LOCALBASE thing. Note that this port is a replacement
for the existing java/eclipse port, it is no longer its own port.
More information about the freebsd-ports-bugs
mailing list