From nobody Tue Jan 23 14:32:39 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TK8gz0f1qz56wGN for ; Tue, 23 Jan 2024 14:32:47 +0000 (UTC) (envelope-from SRS0=S5r3=JB=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TK8gy5YBfz4Pkd for ; Tue, 23 Jan 2024 14:32:46 +0000 (UTC) (envelope-from SRS0=S5r3=JB=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Tue, 23 Jan 2024 15:32:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1706020359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4tOtWHxgXPsBTVK2zmKVhDd+pUlRsaQdWhzMf7Suuj8=; b=geV2ttsT/0Phhgg3bG5LFyPj0MvAGAZCIpYUeMLYNjT+idGwOjkC5YiIIh1+HEGYNfM96f 8LX2AJfgT+cxNMCBlLVEWDYE01aZ9LvBM10dNj28ZBHsVt374z0bIoJ4T51teK0OxLu/Ty f7yUnuTqbe63ZWLB0Y2jN98BSh/4fDur1tU6Fu3UZUYkLPi+Vr4+vtgyEKfN/UKg3gaEqo LSoouwKR8xcxucu/IwaYNY8siZHmjZN9OYrHftZANblH8DN0waWDidk02M1oriAH4rTiJZ B1aA0GtUCpfu6VfdP5VcCyfCZ2W9Le6dPtcnWDVIqmtpmPQiJBvdvvmCr14AYA== From: Ronald Klop To: Norbert Grundmann Cc: ports@FreeBSD.org Message-ID: <1933441589.1620.1706020359483@localhost> In-Reply-To: References: Subject: Re: FreeBSD Port: java/eclipse List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1619_128353079.1706020359412" X-Mailer: Realworks (686.11) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4TK8gy5YBfz4Pkd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] ------=_Part_1619_128353079.1706020359412 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Norbert Grundmann 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. ------=_Part_1619_128353079.1706020359412 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

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.
  ------=_Part_1619_128353079.1706020359412--