Re: FreeBSD Port: java/eclipse

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Tue, 23 Jan 2024 14:32:39 UTC
Van: Norbert Grundmann <ngrundmann@gmx.de>
Datum: dinsdag, 23 januari 2024 14:29
Aan: ports@FreeBSD.org
Onderwerp: FreeBSD Port: java/eclipse
> 
> Hello :-)
> 
> I am still using eclipse as my development environment and try to figure out how to make a new port.  Actually there is a 4.24 version in the packages - it works, but...
> 
> So I already (months ago) tried to understand the port by Jonathan Chen (jonc@chen.org.nz) - he did a good job :-)  But I did not understand his details.  So I tried to "compile" an eclipse ide as described here:
> 
> https://wiki.eclipse.org/Platform-releng/Platform_Build
> 
> I installed maven3.9, openjdk17 and set
> 
> # setenv JAVA_HOME /usr/local/openjdk17
> 
> then I did:
> 
> # git clone -b master --recursive https://github.com/eclipse-platform/eclipse.platform.releng.aggregator.git
> # cd eclipse.platform.releng.aggregator
> # mvn clean verify -DskipTests=true
> and it finished with:
> 
> ...
> [INFO] [feature] Eclipse Product Configuration 1.1.2200-SNAPSHOT SUCCESS [  1.517 s]
> [INFO] org.eclipse.rt.osgistarterkit.product 4.31.0-SNAPSHOT SUCCESS [ 17.732 s]
> [INFO] equinox-sdk 4.31.0-SNAPSHOT ........................ SUCCESS [ 12.765 s]
> [INFO] eclipse-junit-tests 4.31.0-SNAPSHOT ................ SUCCESS [ 28.356 s]
> [INFO] eclipse.platform.repository 4.31.0-SNAPSHOT ........ SUCCESS [08:08 min]
> [INFO] platform-aggregator 4.31.0-SNAPSHOT ................ SUCCESS [  0.228 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  39:58 min
> [INFO] Finished at: 2024-01-23T13:59:57+01:00
> [INFO] ------------------------------------------------------------------------
> everything compiled fine till the end...  I think this is a good step.  But now the question - is this okay?  Do I have to change code instead of creating a linux binary?  And how to integrate as a eclipse port?  Sorry for the questions - maybe someone can give me help and I could take over the eclipse portage...
> Cheers and many greetings from Germany :-)  Norbert
>  
> 
> --
> I love penguins at the south pole, windows in my house and apples on my tree, but not in my computer :)



Well, what happens if you try to run the freshly build Eclipse?

BTW: what do you mean by "instead of creating a linux binary"? Why would it build a Linux binary on your (unassumingly) FreeBSD machine?

Regards,
Ronald.