From owner-freebsd-java@FreeBSD.ORG Sun Jul 17 10:10:23 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 24EF716A41C for ; Sun, 17 Jul 2005 10:10:23 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 50B7643D53 for ; Sun, 17 Jul 2005 10:10:21 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 17 Jul 2005 10:10:20 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp030) with SMTP; 17 Jul 2005 12:10:20 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Panagiotis Astithas In-Reply-To: <42D99A15.7090408@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-k1cCcZzpy5ApesVauA4/" Date: Sun, 17 Jul 2005 12:10:18 +0200 Message-Id: <1121595018.959.21.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.5.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: "'freebsd-java@freebsd.org'" Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 10:10:23 -0000 --=-k1cCcZzpy5ApesVauA4/ Content-Type: multipart/mixed; boundary="=-TZXzb0CAsm7RFZ6DICYQ" --=-TZXzb0CAsm7RFZ6DICYQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-07-17 at 02:36 +0300, Panagiotis Astithas wrote: > Georg-W. Koltermann wrote: > > Hi, > >=20 > > I'd like to ask if someone is working on an Eclipse 3.1 port. > >=20 > > If not, I tried to compile Eclipse 3.1 myself from sources and I do get > > it to start, but it somehow malfunctions severely. E.g. whenever a fil= e > > selection box is expected to open, e.g. during workspace selection when > > you click "browse", nothing happens. Same when you select File->open. > > Also some status dialogs that should show just a progress bar are opene= d > > really large (default size?) when they really should just be bar-shaped= . > >=20 > > A .log file is not even created, strangely enough. > >=20 > > Maybe someone has seen this problem in the past? > >=20 > > -- > > Regards, > > Georg. > >=20 >=20 > I have a WIP here (a patch for the current port, or a shell archive with=20 > the full thing): >=20 > http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz > http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.shar.gz I'm getting a nice error when extracting the shar: /tmp/eclipse-devel-3.1.shar: 519: Syntax error: Illegal eof marker for << redirection --- line 519 --- sed 's/^X//' >eclipse-devel/files/patch-features-launchers-library-eclipseShm.c << 'END-of-eclipse-devel/files/patch-features-launchers-library-eclipseShm.c' --------------- The patch worked fine, though, and the build completed. There is one problem I'm seeing: The PDE doesn't find any plugins (Window>Preferences>Plug-in Development>Target Platform, the list is empty), and therefore all plugin projects of mine are marked broken because of missing dependent plugins. It does not help to define my platform to -os linux, but I assume it must be something along these lines, because clicking on reload in the Target Platform preferences iterates through the plugins, it just doesn't put them into the list, probably because some metadata is wrong. I'm also using attached patch to allow me to install both eclipse and eclipse-devel, but I tried without and the problem stays the same. (Installing both eclipses is really good-thing-to-have if you need a working eclipse and want to test the new 3.1 only) Thanks for working on this! Regards, Andreas --=20 was macht man eigentlich auf einer linux-gamer lan ? hl server aufsetzen und freuen ? *duck* ^^ --=-TZXzb0CAsm7RFZ6DICYQ Content-Description: Content-Disposition: inline; filename=eclipse-devel-noconflict.diff Content-Transfer-Encoding: base64 Content-Type: text/x-patch; charset=UTF-8 LS0tIGVjbGlwc2UtZGV2ZWwub3JpZy9NYWtlZmlsZQlTdW4gSnVsIDE3IDEyOjA2OjAxIDIwMDUN CisrKyBlY2xpcHNlLWRldmVsL01ha2VmaWxlCVN1biBKdWwgMTcgMTI6MDA6MjcgMjAwNQ0KQEAg LTEyLDYgKzEyLDcgQEANCiBNQVNURVJfU0lURV9TVUJESVI9CVItJHtQT1JUVkVSU0lPTn0tMjAw NTA2MjcxNDM1DQogRElTVE5BTUU9CSR7UE9SVE5BTUV9LXNvdXJjZUJ1aWxkLXNyY0luY2x1ZGVk LSR7UE9SVFZFUlNJT059DQogRElTVF9TVUJESVI9CWVjbGlwc2UNCitQS0dOQU1FU1VGRklYPQkt ZGV2ZWwNCiANCiBNQUlOVEFJTkVSPQlmcmVlYnNkLXBvcnRzQHZhcmp1LmNhDQogQ09NTUVOVD0J QW4gb3BlbiBleHRlbnNpYmxlIElERSBmb3IgYW55dGhpbmcgYW5kIG5vdGhpbmcgaW4gcGFydGlj dWxhcg0KQEAgLTIwLDcgKzIxLDcgQEANCiAJCXppcDoke1BPUlRTRElSfS9hcmNoaXZlcnMvemlw DQogQlVJTERfREVQRU5EUys9CSR7RVhUUkFDVF9ERVBFTkRTfQ0KIA0KLUNPTkZMSUNUUz0JZWNs aXBzZS0zLjAqDQorI0NPTkZMSUNUUz0JZWNsaXBzZS0zLjAqDQogTEFURVNUX0xJTks9CSR7UE9S VE5BTUV9LWRldmVsDQogDQogT05MWV9GT1JfQVJDSFM9CWkzODYgYW1kNjQNCkBAIC0zNSw3ICsz Niw3IEBADQogVVNFX1JFSU5QTEFDRT0JeWVzDQogTk9fV1JLU1VCRElSPQl5ZXMNCiANCi1QT1JU REVTVERJUj0JJHtQUkVGSVh9L2VjbGlwc2UNCitQT1JUREVTVERJUj0JJHtQUkVGSVh9L2VjbGlw c2UtZGV2ZWwNCiANCiBFQ0xJUFNFX09TPQlmcmVlYnNkDQogDQpAQCAtODksNyArOTAsNyBAQA0K IAkJTU9USUZfSE9NRT0ke1gxMV9IT01FfSBcDQogCQlRVF9IT01FPSR7WDExX0hPTUV9DQogDQot UExJU1RfRklMRVM9CWJpbi9lY2xpcHNlDQorUExJU1RfRklMRVM9CWJpbi9lY2xpcHNlLWRldmVs DQogDQogU1dUR1RLPSR7V1JLU1JDfS9wbHVnaW5zL29yZy5lY2xpcHNlLnN3dC9FY2xpcHNlIFNX VCBQSS9ndGsvbGlicmFyeQ0KIFNXVE1PVElGPSR7V1JLU1JDfS9wbHVnaW5zL29yZy5lY2xpcHNl LnN3dC9FY2xpcHNlIFNXVCBQSS9tb3RpZi9saWJyYXJ5DQpAQCAtMTEzLDE1ICsxMTQsMTUgQEAN CiANCiBkby1pbnN0YWxsOg0KIAlAJHtNS0RJUn0gJHtQT1JUREVTVERJUn0NCi0JQCR7VEFSfSAt eHpmICR7V1JLU1JDfS9yZXN1bHQvKi50YXIuZ3ogLUMgJHtQUkVGSVh9DQorCUAke1RBUn0gLXh6 ZiAke1dSS1NSQ30vcmVzdWx0LyoudGFyLmd6IC0tc3RyaXAtY29tcG9uZW50cyAxIC1DICR7UE9S VERFU1RESVJ9DQogCUAke1NFRH0gXA0KIAkgIC1lICJzKyUlRUNMSVBTRV9IT01FJSUrJHtQT1JU REVTVERJUn0rZyIgXA0KIAkgIC1lICJzKyUlSkFWQV9IT01FJSUrJHtKQVZBX0hPTUV9K2ciIFwN CiAJICAtZSAicyslJVgxMUJBU0UlJSske1gxMUJBU0V9K2ciIFwNCiAJICAtZSAicyslJUJST1dT RVIlJSske0JST1dTRVJ9K2ciIFwNCiAJJHtGSUxFU0RJUn0vZWNsaXBzZS5pbiA+ICR7V1JLU1JD fS9lY2xpcHNlLnRtcA0KLQkke0lOU1RBTExfU0NSSVBUfSAke1dSS1NSQ30vZWNsaXBzZS50bXAg JHtQUkVGSVh9L2Jpbi9lY2xpcHNlDQotCSR7SU5TVEFMTF9QUk9HUkFNfSAke1dSS1NSQ30vbGF1 bmNoZXJ0bXAvZWNsaXBzZSAke1BSRUZJWH0vZWNsaXBzZS9lY2xpcHNlDQorCSR7SU5TVEFMTF9T Q1JJUFR9ICR7V1JLU1JDfS9lY2xpcHNlLnRtcCAke1BSRUZJWH0vYmluL2VjbGlwc2UtZGV2ZWwN CisJJHtJTlNUQUxMX1BST0dSQU19ICR7V1JLU1JDfS9sYXVuY2hlcnRtcC9lY2xpcHNlICR7UE9S VERFU1RESVJ9L2VjbGlwc2UNCiAJQChjZCAke1dSS1NSQ307ICR7RklORH0gLXMgZWNsaXBzZSAt bm90IC10eXBlIGQpID4+ICR7VE1QUExJU1R9DQogCUAoY2QgJHtXUktTUkN9OyAke0ZJTkR9IC1z IC1kIGVjbGlwc2UgLXR5cGUgZCkgXA0KIAkgIHwgJHtTRUR9IC1uZSAncyxeLEBkaXJybSAscCcg Pj4gJHtUTVBQTElTVH0NCg== --=-TZXzb0CAsm7RFZ6DICYQ-- --=-k1cCcZzpy5ApesVauA4/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC2i6KYucd7Ow1ygwRAlxVAJ4rGR+IqAwY0WuvA+sv+2O+bzxKewCgmPCi aGEbWQHozELLp7IWsW2ao6Q= =2QiN -----END PGP SIGNATURE----- --=-k1cCcZzpy5ApesVauA4/-- From owner-freebsd-java@FreeBSD.ORG Sun Jul 17 11:11:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 44F4116A41C for ; Sun, 17 Jul 2005 11:11:09 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3063C43D45 for ; Sun, 17 Jul 2005 11:11:00 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6HBAwKU030985; Sun, 17 Jul 2005 14:10:58 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6HBAl5a020901; Sun, 17 Jul 2005 14:10:47 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42DA3C59.1070305@ebs.gr> Date: Sun, 17 Jul 2005 14:09:13 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Kohn References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <1121595018.959.21.camel@klamath.syndrom23.de> In-Reply-To: <1121595018.959.21.camel@klamath.syndrom23.de> Content-Type: multipart/mixed; boundary="------------000106050008020002020703" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "'freebsd-java@freebsd.org'" Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 11:11:09 -0000 This is a multi-part message in MIME format. --------------000106050008020002020703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Andreas Kohn wrote: > On Sun, 2005-07-17 at 02:36 +0300, Panagiotis Astithas wrote: >> >>I have a WIP here (a patch for the current port, or a shell archive with >>the full thing): >> >>http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz >>http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.shar.gz > > > I'm getting a nice error when extracting the shar: > /tmp/eclipse-devel-3.1.shar: 519: Syntax error: Illegal eof marker for Thanks, I'll have it fixed in the next snapshot. > The patch worked fine, though, and the build completed. There is one > problem I'm seeing: The PDE doesn't find any plugins > (Window>Preferences>Plug-in Development>Target Platform, the list is > empty), and therefore all plugin projects of mine are marked broken > because of missing dependent plugins. > > It does not help to define my platform to -os linux, but I assume it > must be something along these lines, because clicking on reload in the > Target Platform preferences iterates through the plugins, it just > doesn't put them into the list, probably because some metadata is wrong. I can't replicate it here. You can see in the attached image that I get a full list. Does the log contain anything enlightening? Also, are you building the gtk/x86 version too, or perhaps motif/x86 or gtk/amd64? > I'm also using attached patch to allow me to install both eclipse and > eclipse-devel, but I tried without and the problem stays the same. > (Installing both eclipses is really good-thing-to-have if you need a > working eclipse and want to test the new 3.1 only) Another way to do this would be like that (after commenting out the CONFLICTS line of course): env PREFIX=/var/tmp/test make install What puzzles me is the following change, though. What does --strip-components do? I can't seem to find it in tar(1), gtar(1) or libarchive(3). > - @${TAR} -xzf ${WRKSRC}/result/*.tar.gz -C ${PREFIX} > + @${TAR} -xzf ${WRKSRC}/result/*.tar.gz --strip-components 1 -C ${PORTDESTDIR} Thanks, Panagiotis --------------000106050008020002020703-- From owner-freebsd-java@FreeBSD.ORG Sun Jul 17 11:41:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2003A16A41C for ; Sun, 17 Jul 2005 11:41:42 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4E48643D49 for ; Sun, 17 Jul 2005 11:41:40 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 17 Jul 2005 11:41:39 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp023) with SMTP; 17 Jul 2005 13:41:39 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Panagiotis Astithas In-Reply-To: <42DA3C59.1070305@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <1121595018.959.21.camel@klamath.syndrom23.de> <42DA3C59.1070305@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zFR8SBG5IwjfewSbDi6h" Date: Sun, 17 Jul 2005 13:41:37 +0200 Message-Id: <1121600497.959.30.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.5.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: "'freebsd-java@freebsd.org'" Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 11:41:42 -0000 --=-zFR8SBG5IwjfewSbDi6h Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-07-17 at 14:09 +0300, Panagiotis Astithas wrote: > Andreas Kohn wrote: > > On Sun, 2005-07-17 at 02:36 +0300, Panagiotis Astithas wrote: > >> > >>I have a WIP here (a patch for the current port, or a shell archive wit= h=20 > >>the full thing): > >> > >>http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz > >>http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.shar.gz > >=20 > >=20 > > I'm getting a nice error when extracting the shar: > > /tmp/eclipse-devel-3.1.shar: 519: Syntax error: Illegal eof marker for >=20 > Thanks, I'll have it fixed in the next snapshot. >=20 > > The patch worked fine, though, and the build completed. There is one > > problem I'm seeing: The PDE doesn't find any plugins > > (Window>Preferences>Plug-in Development>Target Platform, the list is > > empty), and therefore all plugin projects of mine are marked broken > > because of missing dependent plugins. > >=20 > > It does not help to define my platform to -os linux, but I assume it > > must be something along these lines, because clicking on reload in the > > Target Platform preferences iterates through the plugins, it just > > doesn't put them into the list, probably because some metadata is wrong= . >=20 > I can't replicate it here. You can see in the attached image that I get=20 > a full list. Does the log contain anything enlightening? Also, are you=20 > building the gtk/x86 version too, or perhaps motif/x86 or gtk/amd64? gtk/x86.=20 If the PDE works for you, it must be some kind of local, or locally triggered problem. I will try to find it, but due to exams next week I won't have too much time unfortunately. >=20 > > I'm also using attached patch to allow me to install both eclipse and > > eclipse-devel, but I tried without and the problem stays the same. > > (Installing both eclipses is really good-thing-to-have if you need a > > working eclipse and want to test the new 3.1 only) >=20 > Another way to do this would be like that (after commenting out the=20 > CONFLICTS line of course): >=20 > env PREFIX=3D/var/tmp/test make install That would certainly be possible, but wouldn't generate the effect I wanted to get: > What puzzles me is the following change, though. What does=20 > --strip-components do? I can't seem to find it in tar(1), gtar(1) or=20 > libarchive(3). > > - @${TAR} -xzf ${WRKSRC}/result/*.tar.gz -C ${PREFIX} > > + @${TAR} -xzf ${WRKSRC}/result/*.tar.gz --strip-components 1 -C ${PORT= DESTDIR} >=20 (from my bsdtar manpage, -CURRENT :) --strip-components count (-W strip-components=3Dcount) (x and t mode only) Remove the specified number of leading path elements. Pathnames with fewer elements will be silently skipped. Note that the pathname is edited after checking inclu- sion/exclusion patterns but before security checks. The generated tar.gz contains everything in a directory eclipse/. But I want my eclipse-devel in a folder /usr/local/eclipse-devel. --strip-components just removes the eclipse/ folder, and the -C (changed from /usr/local to /usr/local/eclipse-devel) puts all the files nicely into /usr/local/eclipse-devel. Unfortunately, --strip-components seems to be a bsdtar-only feature, so this may not work on old(ish) FreeBSDs w/o bsdtar. But it's fine as a local hack :) Regards, Andreas --=20 was macht man eigentlich auf einer linux-gamer lan ? hl server aufsetzen und freuen ? *duck* ^^ --=-zFR8SBG5IwjfewSbDi6h Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC2kPxYucd7Ow1ygwRAmXKAJ4oGEk+LgcHjkhej2bmM+x34QxzqQCfbhuQ cc2BRTAsg9XwHuUaCLsSpgE= =qNjY -----END PGP SIGNATURE----- --=-zFR8SBG5IwjfewSbDi6h-- From owner-freebsd-java@FreeBSD.ORG Sun Jul 17 14:15:35 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9251C16A41F; Sun, 17 Jul 2005 14:15:35 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E67F43D45; Sun, 17 Jul 2005 14:15:35 +0000 (GMT) (envelope-from hq@FreeBSD.org) Received: from freefall.freebsd.org (hq@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6HEFZYj028626; Sun, 17 Jul 2005 14:15:35 GMT (envelope-from hq@freefall.freebsd.org) Received: (from hq@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6HEFWEO028622; Sun, 17 Jul 2005 14:15:32 GMT (envelope-from hq) Date: Sun, 17 Jul 2005 14:15:32 GMT From: Herve Quiroz Message-Id: <200507171415.j6HEFWEO028622@freefall.freebsd.org> To: jan.grant@bristol.ac.uk, hq@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/83434: tomcat ports give the wrong ownership to their installed executables X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jul 2005 14:15:35 -0000 Synopsis: tomcat ports give the wrong ownership to their installed executables State-Changed-From-To: open->feedback State-Changed-By: hq State-Changed-When: Sun Jul 17 14:13:52 GMT 2005 State-Changed-Why: Maintainer and community feedback requested. Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: hq Responsible-Changed-When: Sun Jul 17 14:13:52 GMT 2005 Responsible-Changed-Why: Over to the FreeBSD Java community. I'll be the one in charge of this PR anyway. http://www.freebsd.org/cgi/query-pr.cgi?pr=83434 From owner-freebsd-java@FreeBSD.ORG Mon Jul 18 11:02:20 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 EF2EF16A421 for ; Mon, 18 Jul 2005 11:02:20 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE9E243D46 for ; Mon, 18 Jul 2005 11:02:20 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6IB2KGE098220 for ; Mon, 18 Jul 2005 11:02:20 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6IB2JOj098214 for freebsd-java@freebsd.org; Mon, 18 Jul 2005 11:02:19 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 18 Jul 2005 11:02:19 GMT Message-Id: <200507181102.j6IB2JOj098214@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 11:02:21 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 o [2005/05/17] java/81176 java Java Webstart does not work f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing f [2005/07/14] ports/83434 java tomcat ports give the wrong ownership to 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME f [2003/11/21] ports/59571 java improvements of www/jakarta-tomcat4[1] Ma o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 5 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Jul 19 21:13:13 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 C46F316A41F; Tue, 19 Jul 2005 21:13:13 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from rodan.vipstructures.com (rodan.vipstructures.com [66.195.71.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6438343D49; Tue, 19 Jul 2005 21:13:13 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by rodan.vipstructures.com (Postfix) with ESMTP id A127F1EE83F; Tue, 19 Jul 2005 17:13:12 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by rodan.vipstructures.com (Postfix) with ESMTP id 4C5011EE83D; Tue, 19 Jul 2005 17:13:12 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jul 2005 17:14:44 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A944E4DA6@VIP10-WIN2K> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to build JDK15 on AMD64 with FreeBSD? Thread-Index: AcV6BxjirhEEodl+Q1Sl3E/G6Nf+qQSnsobg From: "Toll, Eric" To: "Greg Lewis" , "Neo Jia" Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: RE: How to build JDK15 on AMD64 with FreeBSD? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 21:13:13 -0000 >=20 > We use the Sun SCSL source code as the base for our port. > However, many patches are required for it to build on=20 > FreeBSD. These are contained in a patchset that you can download at >=20 > http://www.eyesbeyond.com/freebsddom/java/jdk15.html >=20 > The easiest way to do this is simply to use the jdk15 port. =20 > Simply do the > following: >=20 > cd /usr/ports/java/jdk15 > make install >=20 > and follow the instructions. There is one caveat on amd64 --=20 > one of the build commands will fail strangely (this is a bug=20 > in the Linux emulation on amd64 as far as I can determine). =20 > Simply execute that command by hand and restart the build. > Also, if you have an EM64T rather than an actual > amd64 then you will need one patch (just reply to me and I > can send it to you or search the mailing list archives and > you should find it). >=20 Is this the below command that fails and I am suppose to run by hand?? I cannot get jdk15 or jdk14 running, I am not sure about linux compatibility. I heard rumors that other got theirs running in NATIVE mode, which seems like it would be better but in all honestly I'm confused. Help would be appreciated. > Attempting to fetch from ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/lin ux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/lin ux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.r pm: F ile unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.univie.ac.at/systems/linux/ftp.redhat.com/redhat/l inux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.univie.ac.at/systems/linux/ftp.redhat.com/redhat/l inux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64 .rpm: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.redhat.de/pub/redhat/linux/updates/8.0/en/os/amd64 /. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.redhat.de/pub/redhat/linux/updates/8.0/en/os/amd64 /glibc-common-2.3.2-4.80.8.amd64.rpm: File unavailable (e.g., fil e not found, no access) =3D> Attempting to fetch from ftp://ftp.lip6.fr/pub/linux/distributions/redhat/linux/updat es/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.lip6.fr/pub/linux/distributions/redhat/linux/updat es/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: File unav ailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.inet.it/pub/Linux/redhat/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.inet.it/pub/Linux/redhat/updates/8.0/en/os/amd64/g libc-common-2.3.2-4.80.8.amd64.rpm: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/updates/ 8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/updates/ 8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: File unavail able (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/updates/8.0/en/o s/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/updates/8.0/en/o s/amd64/glibc-common-2.3.2-4.80.8.amd64.rpm: Not logged in =3D> Attempting to fetch from ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/ linux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory fetch: ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/ linux/updates/8.0/en/os/amd64/glibc-common-2.3.2-4.80.8.amd6 4.rpm : File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.cs.nott.ac.uk/Mirrors/ftp.redhat.com/pub/redhat/li nux/updates/8.0/en/os/amd64/. grep: /usr/ports/emulators/linux_base-8/distinfo.amd64: No such file or directory From owner-freebsd-java@FreeBSD.ORG Tue Jul 19 23:15:54 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 1AC0716A41F for ; Tue, 19 Jul 2005 23:15:54 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 414DA43D48 for ; Tue, 19 Jul 2005 23:15:52 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 19 Jul 2005 23:15:51 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp034) with SMTP; 20 Jul 2005 01:15:51 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Panagiotis Astithas In-Reply-To: <42DA3C59.1070305@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <1121595018.959.21.camel@klamath.syndrom23.de> <42DA3C59.1070305@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LQSAW8rHfxhXsNIA97OW" Date: Wed, 20 Jul 2005 01:15:49 +0200 Message-Id: <1121814949.1516.6.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.5.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: "'freebsd-java@freebsd.org'" Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 23:15:54 -0000 --=-LQSAW8rHfxhXsNIA97OW Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-07-17 at 14:09 +0300, Panagiotis Astithas wrote: > Andreas Kohn wrote: > > The patch worked fine, though, and the build completed. There is one > > problem I'm seeing: The PDE doesn't find any plugins > > (Window>Preferences>Plug-in Development>Target Platform, the list is > > empty), and therefore all plugin projects of mine are marked broken > > because of missing dependent plugins. Hi, Okay. I did the following, and it works now. - remove eclipse-devel, eclipse ports from system, delete leftover directories in /usr/local/eclipse* - move $HOME/.eclipse to .eclipse-3.0.1, and move workspace .metadata to .metadata-3.0.1 - rebuild eclipse-devel from your patched port w/o any changes at all and install. So, I /guess/ the .eclipse or .metadata is the most likely cause of this failure.=20 In any case, it works now, which means I don't need 3.0.1 anymore, which is cool. Thanks! Regards, Andreas --=20 was macht man eigentlich auf einer linux-gamer lan ? hl server aufsetzen und freuen ? *duck* ^^ --=-LQSAW8rHfxhXsNIA97OW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC3YmlYucd7Ow1ygwRAj66AKCPfcv1Sy1nYXtYZ/eAIbqL+k9IIwCfahBD 7r5wSzE86tGD0eN8XBYcG28= =7GUy -----END PGP SIGNATURE----- --=-LQSAW8rHfxhXsNIA97OW-- From owner-freebsd-java@FreeBSD.ORG Wed Jul 20 14:36:11 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E4C7D16A41F for ; Wed, 20 Jul 2005 14:36:11 +0000 (GMT) (envelope-from conrad.burger@swistgroup.com) Received: from timon.swistgroup.com (timon.swistgroup.com [196.44.35.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3C2243D46 for ; Wed, 20 Jul 2005 14:36:09 +0000 (GMT) (envelope-from conrad.burger@swistgroup.com) Received: from mailnull by timon.swistgroup.com with local (Exim 4.51 (FreeBSD)) id 1DvFg5-0007am-3B for freebsd-java@freebsd.org; Wed, 20 Jul 2005 16:36:05 +0200 Received: from hermes.swistgroup.com ([172.16.6.65]) by timon.swistgroup.com with esmtp (Exim 4.51 (FreeBSD)) id 1DvFg4-0007aa-UI for freebsd-java@freebsd.org; Wed, 20 Jul 2005 16:36:04 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Wed, 20 Jul 2005 16:36:04 +0200 Message-ID: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? Thread-Index: AcWNOFnMmpRV+N0iT52kRJvLOsnIbQ== From: "Conrad Burger" To: X-Scan-Signature: f256bee954ff391203707d79b188322e X-disclaimer: Legalsentry Subject: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 14:36:12 -0000 ************************************************************ Click here to view our e-mail legal notice: http://www.swistgroup.com/email.htm or call: +27 21 888 7920 ************************************************************ Hi all=20 I needed to increase the maximum allowed heap space for the vm tomcat is = running on. This was achieved by using the -Xmx switch (eg. -Xmx512m). >From what I can see there is no way to add this switch if you want to = use "tomcat55ctl". Modified the daemonctl.c and Tomcat 5.5 Makefile to get it working. =20 My question... I don't want to perform this "hack" operation every time = I install tomcat on a machine or update the ports tree. Would it be possible to add some variable, where passing arbitrary vm = arguments to the tomcat vm can be done at port build time? Eg. Tomcat5.5/Makefile --- Makefile Wed Jul 20 16:12:59 2005 *************** *** 45,50 **** --- 45,51 ---- STDERR_LOG=3D ${LOG_DIR}/stderr.log AUTO_START?=3D NO STOP_TIMEOUT?=3D 5 + JAVA_VM_ARGS?=3D -Xmx512m PID_FILE=3D /var/run/${APP_SHORTNAME}.pid REPLACE_FILES=3D = ${PORTSDIR}/www/jakarta-tomcat4/files/daemonctl.c \ ${PORTSDIR}/www/jakarta-tomcat4/files/daemonctl.1 \ *************** *** 109,114 **** --- 110,116 ---- -e "/%%STOP_TIMEOUT%%/s//${STOP_TIMEOUT}/g" \ -e "/%%USER%%/s//${USER}/g" \ -e "/%%WARP_PORT%%/s//${WARP_PORT}/g" \ + -e "/%%JAVA_VM_ARGS%%/s//${JAVA_VM_ARGS}/g" \ $f > ${WRKDIR}/`basename $f` @${ECHO_MSG} " [ DONE ]" .endfor Eg. daemonctl.c --- daemonctl.c Wed Jul 20 13:06:57 2005 *************** *** 425,431 **** file using pipe(2) */ /* Execute the command */ ! execl("%%JAVA_HOME%%/%%JAVA_CMD%%", "%%JAVA_HOME%%/%%JAVA_CMD%%", "-jar", %%JAVA_ARGS%% "%%JAR_FILE%%", = %%JAR_ARGS%% NULL); fprintf(stderr, "%%CONTROL_SCRIPT_NAME%%: Unable to = start %%APP_TITLE%% %%PORTVERSION%% since '%%JAVA_HOME%%/%%JAVA_CMD%% -jar %%JAR_FILE%%' in %%APP_HOME%%: "); perror(NULL); --- 425,431 ---- file using pipe(2) */ /* Execute the command */ ! execl("%%JAVA_HOME%%/%%JAVA_CMD%%", "%%JAVA_HOME%%/%%JAVA_CMD%%","%%JAVA_VM_ARGS%%", "-jar", %%JAVA_ARGS%% "%%JAR_FILE%%", %%JAR_ARGS%% NULL); fprintf(stderr, "%%CONTROL_SCRIPT_NAME%%: Unable to = start %%APP_TITLE%% %%PORTVERSION%% since '%%JAVA_HOME%%/%%JAVA_CMD%% -jar %%JAR_FILE%%' in %%APP_HOME%%: "); perror(NULL); Cheers=20 Conrad Burger From owner-freebsd-java@FreeBSD.ORG Wed Jul 20 14:47:58 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 D25AE16A41F for ; Wed, 20 Jul 2005 14:47:58 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF59243D46 for ; Wed, 20 Jul 2005 14:43:19 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j6KEVmmj032584; Wed, 20 Jul 2005 17:31:48 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j6KEVmvH032580; Wed, 20 Jul 2005 17:31:48 +0300 Date: Wed, 20 Jul 2005 17:31:48 +0300 (EEST) From: Achilleus Mantzios To: Conrad Burger In-Reply-To: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 14:47:59 -0000 O Conrad Burger έγραψε στις Jul 20, 2005 : > ************************************************************ > Click here to view our e-mail legal notice: > http://www.swistgroup.com/email.htm or call: +27 21 888 7920 > ************************************************************ > Hi all > > I needed to increase the maximum allowed heap space for the vm tomcat is running > on. This was achieved by using the -Xmx switch (eg. -Xmx512m). > > >From what I can see there is no way to add this switch if you want to use > "tomcat55ctl". > > Modified the daemonctl.c and Tomcat 5.5 Makefile to get it working. > > My question... I don't want to perform this "hack" operation every time I > install tomcat on a machine or update the ports tree. > Would it be possible to add some variable, where passing arbitrary vm arguments > to the tomcat vm can be done at port build time? > > Eg. Tomcat5.5/Makefile > > --- Makefile Wed Jul 20 16:12:59 2005 > *************** > *** 45,50 **** > --- 45,51 ---- > STDERR_LOG= ${LOG_DIR}/stderr.log > AUTO_START?= NO > STOP_TIMEOUT?= 5 > + JAVA_VM_ARGS?= -Xmx512m > PID_FILE= /var/run/${APP_SHORTNAME}.pid > REPLACE_FILES= ${PORTSDIR}/www/jakarta-tomcat4/files/daemonctl.c \ > ${PORTSDIR}/www/jakarta-tomcat4/files/daemonctl.1 \ > *************** > *** 109,114 **** > --- 110,116 ---- > -e "/%%STOP_TIMEOUT%%/s//${STOP_TIMEOUT}/g" \ > -e "/%%USER%%/s//${USER}/g" \ > -e "/%%WARP_PORT%%/s//${WARP_PORT}/g" \ > + -e "/%%JAVA_VM_ARGS%%/s//${JAVA_VM_ARGS}/g" \ > $f > ${WRKDIR}/`basename $f` > @${ECHO_MSG} " [ DONE ]" > .endfor > > > Eg. daemonctl.c > --- daemonctl.c Wed Jul 20 13:06:57 2005 > *************** > *** 425,431 **** > file using pipe(2) */ > > /* Execute the command */ > ! execl("%%JAVA_HOME%%/%%JAVA_CMD%%", > "%%JAVA_HOME%%/%%JAVA_CMD%%", "-jar", %%JAVA_ARGS%% "%%JAR_FILE%%", %%JAR_ARGS%% > NULL); > > fprintf(stderr, "%%CONTROL_SCRIPT_NAME%%: Unable to start > %%APP_TITLE%% %%PORTVERSION%% since '%%JAVA_HOME%%/%%JAVA_CMD%% -jar > %%JAR_FILE%%' in %%APP_HOME%%: "); > perror(NULL); > --- 425,431 ---- > file using pipe(2) */ > > /* Execute the command */ > ! execl("%%JAVA_HOME%%/%%JAVA_CMD%%", > "%%JAVA_HOME%%/%%JAVA_CMD%%","%%JAVA_VM_ARGS%%", "-jar", %%JAVA_ARGS%% > "%%JAR_FILE%%", %%JAR_ARGS%% NULL); > > fprintf(stderr, "%%CONTROL_SCRIPT_NAME%%: Unable to start > %%APP_TITLE%% %%PORTVERSION%% since '%%JAVA_HOME%%/%%JAVA_CMD%% -jar > %%JAR_FILE%%' in %%APP_HOME%%: "); > perror(NULL); > > > Cheers > Conrad Burger I have probably missed something, but why can't tomcat be started as a shellscript as jboss does? > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Wed Jul 20 14:48:29 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 8639616A41F for ; Wed, 20 Jul 2005 14:48:29 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9C3F43D49 for ; Wed, 20 Jul 2005 14:48:28 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j6KEmQvT040559; Wed, 20 Jul 2005 16:48:26 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j6KEmPTT040558; Wed, 20 Jul 2005 16:48:25 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Wed, 20 Jul 2005 16:48:25 +0200 From: Herve Quiroz To: Conrad Burger Message-ID: <20050720144825.GA40512@arabica.esil.univ-mrs.fr> Mail-Followup-To: Conrad Burger , freebsd-java@freebsd.org References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 14:48:29 -0000 Hi Conrad, On Wed, Jul 20, 2005 at 04:36:04PM +0200, Conrad Burger wrote: > My question... I don't want to perform this "hack" operation every time I > install tomcat on a machine or update the ports tree. > Would it be possible to add some variable, where passing arbitrary vm arguments > to the tomcat vm can be done at port build time? We are currently trying to handle the "Tomcat launcher case". The latest approach so far proposed to the list can be found in the following thread: http://lists.freebsd.org/pipermail/freebsd-java/2005-June/003988.html (the thread may be scatered due to some wrong "In-Reply-To" field at some point) I would suggest that you take a look at the proposed approach as well as the other ones that have been posted as PRs (that are listed in one of my messages from the thread). All feedback welcome. Herve From owner-freebsd-java@FreeBSD.ORG Wed Jul 20 18:04:58 2005 Return-Path: X-Original-To: java@freebsd.org 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 B6F5016A41F for ; Wed, 20 Jul 2005 18:04:58 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B4FD43D46 for ; Wed, 20 Jul 2005 18:04:57 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id 77D5F22894 for ; Wed, 20 Jul 2005 20:04:56 +0200 (CEST) Received: from koala.ipv6.droso.net (localhost [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 8FE6522890 for ; Wed, 20 Jul 2005 20:04:55 +0200 (CEST) From: linimon@FreeBSD.org To: java@freebsd.org Message-Id: <20050720180455.8FE6522890@mail.droso.net> Date: Wed, 20 Jul 2005 20:04:55 +0200 (CEST) X-Virus-Scanned: by amavisd 0.1 Cc: Subject: FreeBSD ports that you maintain which are currently marked forbidden X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 18:04:58 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we are attempting to notify maintainers of ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of the port, including errors seen on the build farm, is included below. portname: java/linux-blackdown-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.droso.net/portoverview.py?category=java&portname=linux-blackdown-jdk13 portname: java/linux-ibm-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.droso.net/portoverview.py?category=java&portname=linux-ibm-jdk13 If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-java@FreeBSD.ORG Wed Jul 20 21:17:32 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 5770F16A41F for ; Wed, 20 Jul 2005 21:17:32 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79F5743D4C for ; Wed, 20 Jul 2005 21:17:30 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6KLHSKU044214 for ; Thu, 21 Jul 2005 00:17:28 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6KLHQSS004151 for ; Thu, 21 Jul 2005 00:17:27 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42DEBF05.9050103@ebs.gr> Date: Thu, 21 Jul 2005 00:15:49 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> In-Reply-To: <42D99A15.7090408@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 21:17:32 -0000 I have uploaded a new patch at: http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz Brief changelog: - build and install native SWT libraries for Mozilla/Firefox support (disable building with WITHOUT_MOZILLA, choose firefox with WITH_MOZILLA=firefox) - build and install native SWT libraries for Cairo graphics support (disable building with WITHOUT_CAIRO) - patch cleanup Please give this a test if you can and let me know how it goes. I haven't had any feedback from amd64 users yet, and I don't have any such systems myself to test. If all goes well, I plan to send a PR with the patch, adjusted to apply on the eclipse port, not eclipse-devel, since this is the new stable Eclipse version. I also plan to open an issue with eclipse.org and supply these patches, in order to have them integrated upstream in the next release. Cheers, Panagiots From owner-freebsd-java@FreeBSD.ORG Wed Jul 20 23:50:47 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 416CD16A421 for ; Wed, 20 Jul 2005 23:50:47 +0000 (GMT) (envelope-from mnriem@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 630BD43D5E for ; Wed, 20 Jul 2005 23:50:44 +0000 (GMT) (envelope-from mnriem@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so911nzd for ; Wed, 20 Jul 2005 16:50:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tnKGiLmNHz+UsQJMOfqnKwpYbKUp19zH/APm2Sxc096qjT4X81beGubGF62E0N1X/mIHbWSKm9HOJTSGMVNRwXPjMvwFpPAaPMERlh80sdri11yA5DiqdOxY6U8xcYIw1CCaj1hzaMqTILoTOdYX1IlCyi8yql2wbx7UMAvrbZg= Received: by 10.36.141.16 with SMTP id o16mr534473nzd; Wed, 20 Jul 2005 16:43:14 -0700 (PDT) Received: by 10.36.154.17 with HTTP; Wed, 20 Jul 2005 16:43:14 -0700 (PDT) Message-ID: <37919c3105072016432d554e82@mail.gmail.com> Date: Wed, 20 Jul 2005 17:43:14 -0600 From: Manfred Riem To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Java documentation X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Manfred Riem List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 23:50:47 -0000 Hi there, I want to do an overhaul of the Java specific part of the FreeBSD website. What do you think is the best place to start? Kind regards, --=20 Manfred Riem mnriem@gmail.com From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 04:31:57 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 41D4D16A421 for ; Thu, 21 Jul 2005 04:31:57 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 1DCE943D95 for ; Thu, 21 Jul 2005 04:31:44 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 53041 invoked from network); 21 Jul 2005 04:41:58 -0000 Received: from unknown (HELO bobcpp.co.id) (203.130.206.210) by ns.bobcpp.co.id with SMTP; 21 Jul 2005 04:41:58 -0000 Received: from 10.255.6.211 (SquirrelMail authenticated user madrus) by webmail.bobcpp.co.id with HTTP; Thu, 21 Jul 2005 11:26:22 +0700 (JAVT) Message-ID: <1241.10.255.6.211.1121919982.squirrel@webmail.bobcpp.co.id> Date: Thu, 21 Jul 2005 11:26:22 +0700 (JAVT) From: To: In-Reply-To: <200507181102.j6IB2JOj098214@freefall.freebsd.org> References: <200507181102.j6IB2JOj098214@freefall.freebsd.org> X-Mailer: SquirrelMail (version 1.2.0 [rc2]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 04:31:57 -0000 Sorry, i am newbie in Java FreeBSD, I don't understand how to install JDK 1.4 on FreeBSD 5.4, any body can help me ??? i try to install like Linux Installation but for Serial Communication still problem. Error message like this: ------------------------------- Exception in thread "main" java.lang.UnsatisfiedLinkError: deviceOpen at org.freebsd.io.comm.FreebsdSerial.deviceOpen(Native Method) at org.freebsd.io.comm.FreebsdSerial.(FreebsdSerial.java:115) at org.freebsd.io.comm.FreebsdDriver.getCommPort (FreebsdDriver.java:111) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:627) at SerialModule.initConnection(SerialModule.java:86) at SerialThread.(SerialThread.java:23) at GSerialPro.main(GSerialPro.java:35) -------------------------------- Thanks before. Said Madrus Java FreeBSD Newbie From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 06:11:33 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 84C4A16A41F for ; Thu, 21 Jul 2005 06:11:33 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 249AC43D46 for ; Thu, 21 Jul 2005 06:11:33 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 735ED5641F; Thu, 21 Jul 2005 18:11:29 +1200 (NZST) Date: Thu, 21 Jul 2005 18:11:29 +1200 From: Jonathan Chen To: madrus@bobcpp.co.id Message-ID: <20050721061129.GD69252@osiris.chen.org.nz> References: <200507181102.j6IB2JOj098214@freefall.freebsd.org> <1241.10.255.6.211.1121919982.squirrel@webmail.bobcpp.co.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1241.10.255.6.211.1121919982.squirrel@webmail.bobcpp.co.id> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 06:11:33 -0000 On Thu, Jul 21, 2005 at 11:26:22AM +0700, madrus@bobcpp.co.id wrote: > Sorry, i am newbie in Java FreeBSD, > I don't understand how to install JDK 1.4 on FreeBSD 5.4, Basically: # cd /usr/ports/java/jdk14 # make install It will stop a couple of times with things that you need to do. Read the instructions and follow them. If you have a problem, then ask us providing *EXACT* details and screen output. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "If everything's under control, you're going too slow" - Mario Andretti From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 07:02:06 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 67E9F16A41F for ; Thu, 21 Jul 2005 07:02:06 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 857DC43D48 for ; Thu, 21 Jul 2005 07:02:04 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6L723KU046050; Thu, 21 Jul 2005 10:02:03 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6L722ra013143; Thu, 21 Jul 2005 10:02:02 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.323 [267.9.2]); Thu, 21 Jul 2005 10:02:01 +0300 Message-ID: <42DF4868.5000705@ebs.gr> Date: Thu, 21 Jul 2005 10:02:00 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alex Varju References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <42DF3FF0.4030900@varju.ca> In-Reply-To: <42DF3FF0.4030900@varju.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 07:02:06 -0000 Alex Varju wrote: > Panagiotis Astithas wrote: > >> I have uploaded a new patch at: >> >> http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz > > > I can confirm that this builds and runs on my AMD64 running 5.4-stable. > I built with WITH_MOZILLA=firefox defined, and help works correctly. Great, thanks. > Sorry I dropped the ball on this one, real life got in the way. I think > it would be appropriate to set MAINTAINER back to java@freebsd.org while > you are at it. > > Alex. No worries, we have all been there (and will be there again, soon). Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 07:08:05 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 66BD016A41F for ; Thu, 21 Jul 2005 07:08:05 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C6843D46 for ; Thu, 21 Jul 2005 07:08:03 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j6L6uQmj002143; Thu, 21 Jul 2005 09:56:27 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j6L6uQl6002139; Thu, 21 Jul 2005 09:56:26 +0300 Date: Thu, 21 Jul 2005 09:56:26 +0300 (EEST) From: Achilleus Mantzios To: madrus@bobcpp.co.id In-Reply-To: <1241.10.255.6.211.1121919982.squirrel@webmail.bobcpp.co.id> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 07:08:05 -0000 O madrus@bobcpp.co.id έγραψε στις Jul 21, 2005 : > Sorry, i am newbie in Java FreeBSD, > I don't understand how to install JDK 1.4 on FreeBSD 5.4, > any body can help me ??? i try to install like Linux Installation > but for Serial Communication still problem. > Error message like this: So you installed javacomms??? Try to 1) install jdk14 from ports like other people have told you 2) # cd /usr/ports/comms/java-commapi-freebsd/ # make install In contrast to Linux, FreeBSD native JavaComms work like a charm. Let us know the outcome of your effort. > ------------------------------- > Exception in thread "main" java.lang.UnsatisfiedLinkError: deviceOpen > at org.freebsd.io.comm.FreebsdSerial.deviceOpen(Native Method) > at org.freebsd.io.comm.FreebsdSerial.(FreebsdSerial.java:115) > at org.freebsd.io.comm.FreebsdDriver.getCommPort > (FreebsdDriver.java:111) > at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:627) > at SerialModule.initConnection(SerialModule.java:86) > at SerialThread.(SerialThread.java:23) > at GSerialPro.main(GSerialPro.java:35) > -------------------------------- > Thanks before. > > Said Madrus > Java FreeBSD Newbie > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 14:16:39 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 8C0E016A422 for ; Thu, 21 Jul 2005 14:16:39 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: from bobcpp.co.id (211.subnet206.astinet.telkom.net.id [203.130.206.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 00E5C43DC5 for ; Thu, 21 Jul 2005 14:16:09 +0000 (GMT) (envelope-from madrus@bobcpp.co.id) Received: (qmail 82711 invoked from network); 21 Jul 2005 14:26:26 -0000 Received: from unknown (HELO srvjkt.bob-cpp.com) (10.249.1.155) by intnszrd.bobcpp.co.id with SMTP; 21 Jul 2005 14:26:26 -0000 Received: (qmail 85196 invoked from network); 21 Jul 2005 14:34:44 -0000 Received: from unknown (HELO ?10.249.9.1?) (10.249.9.1) by intnsjkt.bob-cpp.com with SMTP; 21 Jul 2005 14:34:44 -0000 From: "Said Madrus" To: freebsd-java@freebsd.org Date: Thu, 21 Jul 2005 21:16:26 +0700 Message-ID: X-Mailer: EPOC e-mail version 2.10 MIME-Version: 1.0 Content-Language: i-default Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Said Madrus List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 14:16:39 -0000 Thanks to all Java-FreeBSD Miliser, I will try all of your sugestion. Said Madrus ________________ Original message ________________ Subject: Re: How to install JDK 1.4 on FreeBSD 5.4 Author: "Jonathan Chen" Date: 21st July 2005 6:11:29=20 On Thu, Jul 21, 2005 at 11:26:22AM +0700, madrus@bobcpp.co.id wrote: > Sorry, i am newbie in Java FreeBSD, > I don't understand how to install JDK 1.4 on FreeBSD 5.4, Basically: # cd /usr/ports/java/jdk14 # make install It will stop a couple of times with things that you need to do. Read the instructions and follow them. If you have a problem, then ask us providing *EXACT* details and screen output. Cheers. --=20 Jonathan Chen From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 19:53:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 3EEB816A41F for ; Thu, 21 Jul 2005 19:53:09 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 15A0C43D62 for ; Thu, 21 Jul 2005 19:53:05 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 21 Jul 2005 19:53:04 -0000 Received: from dsl-084-056-190-048.arcor-ip.net (EHLO beaster) [84.56.190.48] by mail.gmx.net (mp026) with SMTP; 21 Jul 2005 21:53:04 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Panagiotis Astithas In-Reply-To: <42DEBF05.9050103@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4Y7bX4pcclQ06a956dnN" Organization: Wohnzimmerrechenzentrum Date: Thu, 21 Jul 2005 21:53:03 +0200 Message-Id: <1121975583.994.14.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 19:53:09 -0000 --=-4Y7bX4pcclQ06a956dnN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Panagiots, thank you very much for your work! I just tried the patch - unfortunately the Build didn't work. I get: --- BUILD FAILED /usr/ports/java/eclipse-devel/work/build.xml:48: /usr/ports/java/eclipse-de= vel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src not found. Total time: 6 minutes 34 seconds *** Error code 1 Stop in /usr/ports/java/eclipse-devel. --- The Contents of the /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freeb= sd.gtk.x86 Directory at the time of the failure is: --- drwxr-xr-x 2 root wheel 512 Jul 21 21:02 META-INF -rw-r--r-- 1 root wheel 1732 Jul 21 21:02 about.html -rw-r--r-- 1 root wheel 611 Jul 21 21:02 build.properties -rw-r--r-- 1 root wheel 4593 Jul 21 21:02 build.xml -rw-r--r-- 1 root wheel 186 Jul 21 21:02 fragment.xml [-su]beaster:org.eclipse.rcp.source.freebsd.gtk.x86 --- =20 It seems that the failing task is a ZIP-task that tries to move the contents from /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.free= bsd.gtk.x86/src to ${swtlibs}. I tried to create the src-Directory - but then the build fails when it tried to execute build.sh from ${swtlibs}. Do you have a hint what went wrong? I did a "make WITH_MOZILLA=3Dfirefox" and tried both as "toor"-User with bash and as "root" with csh. Is there a make-Target that did not get executed that should have created / unzipped the SWT-SRC? If you need more info pls. send me a short note. Would be great if you had a hint but would not be too bad I you don't find the time to dig into that ;-) Cheers, _ralf_ --=-4Y7bX4pcclQ06a956dnN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC3/0fY2jmDrUy5RMRAjKVAJkBVUEKeZpFZLVB3Pgh/mGydoIM4gCg5Za3 PRDUFnit/eZmAmIDUClRiUk= =eMFq -----END PGP SIGNATURE----- --=-4Y7bX4pcclQ06a956dnN-- From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 20:08:23 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 0173516A434 for ; Thu, 21 Jul 2005 20:08:22 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: from smtp1.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155AD43D68 for ; Thu, 21 Jul 2005 20:08:07 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: (qmail 19054 invoked by uid 0); 21 Jul 2005 20:08:05 -0000 Received: from unknown (HELO [192.168.5.2]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 21 Jul 2005 20:08:05 -0000 Message-ID: <42E000B5.6050903@zonnet.nl> Date: Thu, 21 Jul 2005 22:08:21 +0200 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050521) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ralf Folkerts References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> In-Reply-To: <1121975583.994.14.camel@beaster> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Panagiotis Astithas , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 20:08:23 -0000 Ralf Folkerts wrote: >Hi Panagiots, > >thank you very much for your work! I just tried the patch - >unfortunately the Build didn't work. > >I get: > >--- >BUILD FAILED >/usr/ports/java/eclipse-devel/work/build.xml:48: /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src not found. > >Total time: 6 minutes 34 seconds >*** Error code 1 > >Stop in /usr/ports/java/eclipse-devel. >--- > >The Contents of >the /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86 Directory at the time of the failure is: > >--- >drwxr-xr-x 2 root wheel 512 Jul 21 21:02 META-INF >-rw-r--r-- 1 root wheel 1732 Jul 21 21:02 about.html >-rw-r--r-- 1 root wheel 611 Jul 21 21:02 build.properties >-rw-r--r-- 1 root wheel 4593 Jul 21 21:02 build.xml >-rw-r--r-- 1 root wheel 186 Jul 21 21:02 fragment.xml >[-su]beaster:org.eclipse.rcp.source.freebsd.gtk.x86 >--- > > >It seems that the failing task is a ZIP-task that tries to move the >contents >from /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src to ${swtlibs}. > >I tried to create the src-Directory - but then the build fails when it >tried to execute build.sh from ${swtlibs}. > >Do you have a hint what went wrong? I did a "make WITH_MOZILLA=firefox" >and tried both as "toor"-User with bash and as "root" with csh. Is >there a make-Target that did not get executed that should have created / >unzipped the SWT-SRC? If you need more info pls. send me a short note. > >Would be great if you had a hint but would not be too bad I you don't >find the time to dig into that ;-) > >Cheers, >_ralf_ > > > That is the same error I get, but when adding a 'src' dir in the folder it will go on. ( this was the 'src' error ) : [javac] ^^^^^^^^^^^^^ [javac] The local variable xPelsPerMeter is never read [javac] ---------- [javac] ---------- [javac] 16. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java [javac] (at line 2984) [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | ((infoHeader[31] & 0xFF) << 24); [javac] ^^^^^^^^^^^^^ [javac] The local variable yPelsPerMeter is never read [javac] ---------- [javac] 16 problems (16 warnings) [javac] ---------- [javac] 1. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java [javac] (at line 186) [javac] private void processUpdate(Attributes attributes) { [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The method processUpdate(Attributes) from the type JNLPGenerator is never used locally [javac] ---------- [javac] ---------- [javac] 2. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java [javac] (at line 157) [javac] private static void transferStreams(InputStream source, OutputStream destination) throws IOException { [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The method transferStreams(InputStream, OutputStream) from the type PluginVersionReplaceTask is never used locally [javac] ---------- [javac] 2 problems (2 warnings) BUILD FAILED /home/eclipse-devel/work/build.xml:48: /home/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src not found. Total time: 15 minutes 51 seconds *** Error code 1 Stop in /home/eclipse-devel. when adding an 'src' dir it compiles on but after a while I get this error: [javac] ^^^^^^^^^^^^^ [javac] The local variable xPelsPerMeter is never read [javac] ---------- [javac] ---------- [javac] 16. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java [javac] (at line 2984) [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | ((infoHeader[31] & 0xFF) << 24); [javac] ^^^^^^^^^^^^^ [javac] The local variable yPelsPerMeter is never read [javac] ---------- [javac] 16 problems (16 warnings) [javac] ---------- [javac] 1. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java [javac] (at line 186) [javac] private void processUpdate(Attributes attributes) { [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The method processUpdate(Attributes) from the type JNLPGenerator is never used locally [javac] ---------- [javac] ---------- [javac] 2. WARNING in /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java [javac] (at line 157) [javac] private static void transferStreams(InputStream source, OutputStream destination) throws IOException { [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The method transferStreams(InputStream, OutputStream) from the type PluginVersionReplaceTask is never used locally [javac] ---------- [javac] 2 problems (2 warnings) [exec] build.sh: Can't open build.sh: No such file or directory BUILD FAILED /home/eclipse-devel/work/build.xml:53: exec returned: 2 Total time: 15 minutes 40 seconds *** Error code 1 Stop in /home/eclipse-devel. I'm not sure what I'll have to do now. The problems and warnings appeared for a long time but I didn't knew what to do about it. I'm running 5.4 release on i386: frank@Riza$ uname -a FreeBSD Riza.FStaals.LAN 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat May 21 14:02:31 CEST 2005 root@Riza.FStaals.LAN:/usr/src/sys/i386/compile/RIZAKERNEL i386 Thanks in advance -Frank Staals From owner-freebsd-java@FreeBSD.ORG Thu Jul 21 21:22:14 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 C4A1316A441 for ; Thu, 21 Jul 2005 21:22:14 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F83843DC4 for ; Thu, 21 Jul 2005 21:21:37 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 21 Jul 2005 21:21:37 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp024) with SMTP; 21 Jul 2005 23:21:37 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Panagiotis Astithas In-Reply-To: <42DEBF05.9050103@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fvtLpS4BicYRN//i1hrz" Date: Thu, 21 Jul 2005 23:21:34 +0200 Message-Id: <1121980894.1470.21.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.5.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 21:22:15 -0000 --=-fvtLpS4BicYRN//i1hrz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, On Thu, 2005-07-21 at 00:15 +0300, Panagiotis Astithas wrote: > I have uploaded a new patch at: >=20 > http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz >=20 Worked for me, ... > Brief changelog: >=20 > - build and install native SWT libraries for Mozilla/Firefox support > (disable building with WITHOUT_MOZILLA, choose firefox with > WITH_MOZILLA=3Dfirefox) > - build and install native SWT libraries for Cairo graphics support > (disable building with WITHOUT_CAIRO) I'm using marcuscom's gnome ports for 2.11, and have WITH_MOZILLA=3Dfirefox-devel set. That worked without noticeable problems. I also have cairo 0.5.x installed due to gnome 2.11, and had to replace some parts of Eclipse SWT PI with items from Eclipse CVS. After that, the build had no problems.=20 So for the archives if you are using gnome-devel: - make patch in eclipse-devel after applying the patch above - checkout org.eclipse.swt/Eclipse SWT PI/cairo/library/=20 from :pserver:anonymous@eclipse.org:/home/eclipse into $CAIRO - replace the files from=20 work/plugins/org.eclipse.swt/Eclipse SWT PI/cairo/library=20 with the files from $CAIRO, and remove cairo_custom.c and the=20 corresponding rules from=20 work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mk=20 - continue the build in the eclipse-devel directory Regards, Andreas --=20 was macht man eigentlich auf einer linux-gamer lan ? hl server aufsetzen und freuen ? *duck* ^^ --=-fvtLpS4BicYRN//i1hrz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC4BHeYucd7Ow1ygwRAsIzAJwNxdOHj1WskVJrKWB+dIjuZ17ZmwCgnQrF WmG6nLY0sBZ0zgKhMGWnoIU= =Ky0T -----END PGP SIGNATURE----- --=-fvtLpS4BicYRN//i1hrz-- From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 03:03:27 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 E0D6E16A4A5 for ; Fri, 22 Jul 2005 03:03:27 +0000 (GMT) (envelope-from mi@blue.virtual-estates.net) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BD2C43D91 for ; Fri, 22 Jul 2005 03:02:51 +0000 (GMT) (envelope-from mi@blue.virtual-estates.net) Received: (qmail 24084 invoked from network); 22 Jul 2005 03:02:38 -0000 Received: from aldan.algebra.com (HELO blue.virtual-estates.net) ([216.254.65.224]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Jul 2005 03:02:37 -0000 Received: from blue.virtual-estates.net (blue [127.0.0.1]) by blue.virtual-estates.net (8.13.3/8.13.3) with ESMTP id j6M32ag9022710; Thu, 21 Jul 2005 23:02:36 -0400 (EDT) (envelope-from mi@blue.virtual-estates.net) Received: (from mi@localhost) by blue.virtual-estates.net (8.13.3/8.13.3/Submit) id j6M32YoG022709; Thu, 21 Jul 2005 23:02:34 -0400 (EDT) (envelope-from mi) From: "Mikhail T." Message-Id: <200507220302.j6M32YoG022709@blue.virtual-estates.net> To: phantom@FreeBSD.org, java@FreeBSD.org Date: Thu, 21 Jul 2005 23:02:34 -0400 (EDT) X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 03:03:28 -0000 --ELM1122001354-22616-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hello! Below is code to add the support for the KOI8-U charset to JDK. Please, let me know if I can commit it. It is even simpler to add this support to earlier JDKs (no need for the additional KOI8_U.java, just follow the patch author's instructions), but let's start with the "experimental" JDK-1.5 first. Thank you! -mi --ELM1122001354-22616-0_ Content-Transfer-Encoding: 7bit Content-Type: text/x-patch Content-Disposition: attachment; filename=jdk15-koi8-u.patch Content-Description: Patch for the port itself ? files/KOI8_U.java ? files/patch-koi8u Index: Makefile =================================================================== RCS file: /home/pcvs/ports/java/jdk15/Makefile,v retrieving revision 1.90 diff -U2 -r1.90 Makefile --- Makefile 12 May 2005 04:14:52 -0000 1.90 +++ Makefile 22 Jul 2005 02:52:38 -0000 @@ -8,12 +8,14 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel -MASTER_SITES= # http://www.sun.com/software/java2/download.html +MASTER_SITES= http://www.kde.org.ua/data/java/:koi8u +# http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk15.html SCSL_SRCFILE= jdk-${JDK_VERSION:S/./_/g}-src-scsl.zip SCSL_BINFILE= jdk-${JDK_VERSION:S/./_/g}-bin-scsl.zip PATCHSETFILE= bsd-jdk15-patches-${JDK_PATCHSET_VERSION}.tar.bz2 -DISTFILES= ${SCSL_SRCFILE} ${SCSL_BINFILE} ${PATCHSETFILE} +ENCODINGS= java_koi8u.tgz:koi8u +DISTFILES= ${SCSL_SRCFILE} ${SCSL_BINFILE} ${PATCHSETFILE} ${ENCODINGS} MAINTAINER= phantom@FreeBSD.org @@ -190,4 +192,8 @@ @${ECHO_MSG} +post-extract: + ${TAR} -C ${WRKSRC:H:H}/j2se/src/share/classes/sun/io/ -xzvpf ${DISTDIR}/java_koi8u.tgz '*.java' + ${LN} -s ${FILESDIR}/KOI8_U.java ${WRKSRC:H:H}/j2se/src/share/classes/sun/nio/cs/ + pre-patch: @cd ${WRKDIR} && \ Index: distinfo =================================================================== RCS file: /home/pcvs/ports/java/jdk15/distinfo,v retrieving revision 1.14 diff -U2 -r1.14 distinfo --- distinfo 20 Jan 2005 08:41:13 -0000 1.14 +++ distinfo 22 Jul 2005 02:52:38 -0000 @@ -5,2 +5,4 @@ MD5 (bsd-jdk15-patches-1.tar.bz2) = 13f8027f86106f2cee68aa702afd63f5 SIZE (bsd-jdk15-patches-1.tar.bz2) = 618044 +MD5 (java_koi8u.tgz) = a483f4ceaad6dff3614ff37135bd35cf +SIZE (java_koi8u.tgz) = 7296 --ELM1122001354-22616-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: attachment; filename=patch-koi8u Content-Description: drop into the port's files/ subdirectory --- ../../j2se/src/share/classes/sun/nio/cs/standard-charsets Tue Oct 19 14:57:57 2004 +++ ../../j2se/src/share/classes/sun/nio/cs/standard-charsets Wed Jul 20 00:02:11 2005 @@ -172,6 +172,11 @@ charset KOI8-R KOI8_R alias koi8_r # JDK historical - alias koi8 alias cskoi8r + +charset KOI8-U KOI8_U # Superset of KOI8-R covering other + alias koi8_u # Cyrillics-using alphabets + alias koi8 + alias cskoi8u + alias koi8u charset windows-1250 MS1250 --- ../../j2se/src/share/classes/sun/io/CharacterEncoding.java Tue Oct 19 14:57:28 2004 +++ ../../j2se/src/share/classes/sun/io/CharacterEncoding.java Wed Jul 20 01:10:16 2005 @@ -75,4 +75,5 @@ aliasTable.put("gbk", "GBK"); aliasTable.put("koi8-r", "KOI8_R"); + aliasTable.put("koi8-u", "KOI8_U"); aliasTable.put("tis620.2533", "TIS620"); @@ -763,6 +764,11 @@ // Russian KOI8-R aliasTable.put("koi8-r", "KOI8_R"); - aliasTable.put("koi8", "KOI8_R"); aliasTable.put("cskoi8r", "KOI8_R"); + + // Ukrainian and Bielorussian KOI8-U (includes KOI8-R) + aliasTable.put("koi8-u", "KOI8_U"); + aliasTable.put("koi8", "KOI8_U"); + aliasTable.put("koi8u", "KOI8_U"); + aliasTable.put("cskoi8u", "KOI8_U"); // Simplified Chinese --- ../../j2se/make/java/sun_io/FILES_java.gmk Tue Oct 19 14:44:54 2004 +++ ../../j2se/make/java/sun_io/FILES_java.gmk Wed Jul 20 01:20:35 2005 @@ -65,4 +65,6 @@ $(TARGDIR)sun/io/ByteToCharKOI8_R.java \ $(TARGDIR)sun/io/CharToByteKOI8_R.java \ + $(TARGDIR)sun/io/ByteToCharKOI8_U.java \ + $(TARGDIR)sun/io/CharToByteKOI8_U.java \ $(TARGDIR)sun/io/ByteToCharSingleByte.java \ $(TARGDIR)sun/io/CharToByteSingleByte.java \ --ELM1122001354-22616-0_-- From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 08:58:56 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 19BD616A44E for ; Fri, 22 Jul 2005 08:58:56 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8237343D9E for ; Fri, 22 Jul 2005 08:58:37 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6M8wYKU050280; Fri, 22 Jul 2005 11:58:34 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6M8wXPE032296; Fri, 22 Jul 2005 11:58:34 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.323 [267.9.2]); Fri, 22 Jul 2005 11:58:27 +0300 Message-ID: <42E0B533.2060306@ebs.gr> Date: Fri, 22 Jul 2005 11:58:27 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Staals References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> In-Reply-To: <42E000B5.6050903@zonnet.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ralf Folkerts , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 08:58:57 -0000 Frank Staals wrote: > Ralf Folkerts wrote: > >> Hi Panagiots, >> >> thank you very much for your work! I just tried the patch - >> unfortunately the Build didn't work. >> >> I get: >> >> --- >> BUILD FAILED >> /usr/ports/java/eclipse-devel/work/build.xml:48: >> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src >> not found. >> >> Total time: 6 minutes 34 seconds >> *** Error code 1 >> >> Stop in /usr/ports/java/eclipse-devel. >> --- >> >> The Contents of >> the >> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86 >> Directory at the time of the failure is: >> >> --- >> drwxr-xr-x 2 root wheel 512 Jul 21 21:02 META-INF >> -rw-r--r-- 1 root wheel 1732 Jul 21 21:02 about.html >> -rw-r--r-- 1 root wheel 611 Jul 21 21:02 build.properties >> -rw-r--r-- 1 root wheel 4593 Jul 21 21:02 build.xml >> -rw-r--r-- 1 root wheel 186 Jul 21 21:02 fragment.xml >> [-su]beaster:org.eclipse.rcp.source.freebsd.gtk.x86 >> --- >> >> It seems that the failing task is a ZIP-task that tries to move the >> contents >> from >> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src >> to ${swtlibs}. >> >> I tried to create the src-Directory - but then the build fails when it >> tried to execute build.sh from ${swtlibs}. >> >> Do you have a hint what went wrong? I did a "make WITH_MOZILLA=firefox" >> and tried both as "toor"-User with bash and as "root" with csh. Is >> there a make-Target that did not get executed that should have created / >> unzipped the SWT-SRC? If you need more info pls. send me a short note. >> >> Would be great if you had a hint but would not be too bad I you don't >> find the time to dig into that ;-) >> >> Cheers, >> _ralf_ >> >> >> > That is the same error I get, but when adding a 'src' dir in the folder > it will go on. ( this was the 'src' error ) : > > > > > > [javac] ^^^^^^^^^^^^^ > [javac] The local variable xPelsPerMeter is never read > [javac] ---------- > [javac] ---------- > [javac] 16. WARNING in > /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java > > [javac] (at line 2984) > [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | > ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | > ((infoHeader[31] & 0xFF) << 24); > [javac] ^^^^^^^^^^^^^ > [javac] The local variable yPelsPerMeter is never read > [javac] ---------- > [javac] 16 problems (16 warnings) > [javac] ---------- > [javac] 1. WARNING in > /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java > > [javac] (at line 186) > [javac] private void processUpdate(Attributes attributes) { > [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [javac] The method processUpdate(Attributes) from the type JNLPGenerator > is never used locally > [javac] ---------- > [javac] ---------- > [javac] 2. WARNING in > /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java > > [javac] (at line 157) > [javac] private static void transferStreams(InputStream source, > OutputStream destination) throws IOException { > [javac] > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > [javac] The method transferStreams(InputStream, OutputStream) from the > type PluginVersionReplaceTask is never used locally > [javac] ---------- > [javac] 2 problems (2 warnings) > > > > BUILD FAILED > /home/eclipse-devel/work/build.xml:48: > /home/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src > not found. > > Total time: 15 minutes 51 seconds > *** Error code 1 > > Stop in /home/eclipse-devel. > > > when adding an 'src' dir it compiles on but after a while I get this error: > > > [javac] ^^^^^^^^^^^^^ > [javac] The local variable xPelsPerMeter is never read > [javac] ---------- > [javac] ---------- > [javac] 16. WARNING in > /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java > > [javac] (at line 2984) > [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | > ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | > ((infoHeader[31] & 0xFF) << 24); > [javac] ^^^^^^^^^^^^^ > [javac] The local variable yPelsPerMeter is never read > [javac] ---------- > [javac] 16 problems (16 warnings) > [javac] ---------- > [javac] 1. WARNING in > /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java > > [javac] (at line 186) > [javac] private void processUpdate(Attributes attributes) { > [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [javac] The method processUpdate(Attributes) from the type > JNLPGenerator is never used locally > [javac] ---------- > [javac] ---------- > [javac] 2. WARNING in > /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java > > [javac] (at line 157) > [javac] private static void transferStreams(InputStream source, > OutputStream destination) throws IOException { > [javac] > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > [javac] The method transferStreams(InputStream, OutputStream) from > the type PluginVersionReplaceTask is never used locally > [javac] ---------- > [javac] 2 problems (2 warnings) > [exec] build.sh: Can't open build.sh: No such file or directory > > BUILD FAILED > /home/eclipse-devel/work/build.xml:53: exec returned: 2 > > Total time: 15 minutes 40 seconds > *** Error code 1 > > Stop in /home/eclipse-devel. > > I'm not sure what I'll have to do now. The problems and warnings > appeared for a long time but I didn't knew what to do about it. > > I'm running 5.4 release on i386: > > frank@Riza$ uname -a > FreeBSD Riza.FStaals.LAN 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat May 21 > 14:02:31 CEST 2005 > root@Riza.FStaals.LAN:/usr/src/sys/i386/compile/RIZAKERNEL i386 > > Thanks in advance > > -Frank Staals Weird, I have never seen the src error myself. Could both of you send me privately (or put somewhere and send me a link to) the full output of a build up to that point? Something like: make clean build |& tee /var/tmp/eclipse.log I'll see if I can reproduce it this weekend. No need to worry about the javac warnings, though. Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 12:48:21 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 F308116A432 for ; Fri, 22 Jul 2005 12:48:20 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D3B243DB2 for ; Fri, 22 Jul 2005 12:47:42 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1Dvww9-0000v8-W9; Fri, 22 Jul 2005 13:47:35 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1Dvww3-0002PM-Ld; Fri, 22 Jul 2005 13:47:28 +0100 Date: Fri, 22 Jul 2005 13:47:27 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Panagiotis Astithas In-Reply-To: <42E0B533.2060306@ebs.gr> Message-ID: References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Cc: Frank Staals , Ralf Folkerts , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 12:48:21 -0000 On Fri, 22 Jul 2005, Panagiotis Astithas wrote: > Weird, I have never seen the src error myself. Could both of you send me > privately (or put somewhere and send me a link to) the full output of a build > up to that point? Something like: > > make clean build |& tee /var/tmp/eclipse.log > > I'll see if I can reproduce it this weekend. No need to worry about the javac > warnings, though. I saw this too, but only when I'd made a copy of java/eclipse-devel somewhere outside the ports tree, patched it, and run from there. Once I patched the "real" port, it apepared to work correctly. Having said that, there was no apparentl reason I could discern that the build should have failed. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 9287088 or 3317661 http://ioctl.org/jan/ Solution: (n) a watered-down version of something neat. From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 12:58:32 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 F233516A420 for ; Fri, 22 Jul 2005 12:58:31 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A5EF43D94 for ; Fri, 22 Jul 2005 12:58:15 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1Dvx6R-00024P-V7 for freebsd-java@freebsd.org; Fri, 22 Jul 2005 13:58:14 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1Dvx6Q-00031U-D5; Fri, 22 Jul 2005 13:58:10 +0100 Date: Fri, 22 Jul 2005 13:58:10 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Subject: Eclipse 3.1, subclipse, javaSVN, kserel and 70% system use. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 12:58:32 -0000 (This appears to be a problem with both native 1.4.2 and 1.5.0 jdks on my -stable: an approximately GENERIC FreeBSD 5.4-STABLE #0: Thu Jun 16 13:59:43 BST 2005) First, well done on the 3.1 port. Mostly, it works just as well as the 3.0 did, and the java 5.0 features are most welcome. I use subversion for version control here, so I installed the latest subclipe (subclipe.tigris.org) and the tmate.org javaSVN libraries. Now it appears that something is triggering a problem with the above combination. It's not clear to me that this isn't a problem with the underlying freebsd threading: the problem is reproducible on this machine (1.8GHz P4, 1GB: enough to run eclipse 3.0 pretty snappily) under jdks 1.4.2 and 1.5.0 (client and server jvm). Basically, a few operations appear to be incredibly (unusably) sluggish: "synchronise with repository" in particular - these kinds of operations will hang for long periods "refreshing the workspace" or "building the workspace". Normal refreshes and rebuilds, however, are as snappy as always. The operations in question take minutes for a miniscule java project (about 30 classes) - so if this is a generic problem, it should probably be visible on more modern equipment too. At the point where eclipse hangs, top shows system about 25% user and 75% system usage; the java process switches back and forth from "RUN" to "kserel". I appreciate it's a large set of downloads in order to get in a position to reproduce this problem - but if anyone else already has 3.1 running, perhaps they could try installing the subclipse and javasvn plugins and see if they can reproduce the issue? I can get a thread dump if anyone is interested but I'd like to actually get some confirmation that others are seeing this issue too. Cheers, jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 9287088 or 3317661 http://ioctl.org/jan/ Lambda calculus? I hardly know 'er! From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 18:10:00 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 981BA16A46B for ; Fri, 22 Jul 2005 18:09:52 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: from smtp2.versatel.nl (smtp2.versatel.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 996D5448C4 for ; Fri, 22 Jul 2005 17:04:44 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: (qmail 28659 invoked by uid 0); 22 Jul 2005 17:04:41 -0000 Received: from unknown (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp2.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 22 Jul 2005 17:04:41 -0000 Message-ID: <42E12739.4050703@zonnet.nl> Date: Fri, 22 Jul 2005 19:04:57 +0200 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050521) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Panagiotis Astithas References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> In-Reply-To: <42E0B533.2060306@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ralf Folkerts , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 18:10:01 -0000 Panagiotis Astithas wrote: > Frank Staals wrote: > >> Ralf Folkerts wrote: >> >>> Hi Panagiots, >>> >>> thank you very much for your work! I just tried the patch - >>> unfortunately the Build didn't work. >>> >>> I get: >>> >>> --- >>> BUILD FAILED >>> /usr/ports/java/eclipse-devel/work/build.xml:48: >>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src >>> not found. >>> >>> Total time: 6 minutes 34 seconds >>> *** Error code 1 >>> >>> Stop in /usr/ports/java/eclipse-devel. >>> --- >>> >>> The Contents of >>> the >>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86 >>> Directory at the time of the failure is: >>> >>> --- >>> drwxr-xr-x 2 root wheel 512 Jul 21 21:02 META-INF >>> -rw-r--r-- 1 root wheel 1732 Jul 21 21:02 about.html >>> -rw-r--r-- 1 root wheel 611 Jul 21 21:02 build.properties >>> -rw-r--r-- 1 root wheel 4593 Jul 21 21:02 build.xml >>> -rw-r--r-- 1 root wheel 186 Jul 21 21:02 fragment.xml >>> [-su]beaster:org.eclipse.rcp.source.freebsd.gtk.x86 >>> --- >>> It seems that the failing task is a ZIP-task >>> that tries to move the >>> contents >>> from >>> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src >>> to ${swtlibs}. >>> >>> I tried to create the src-Directory - but then the build fails when it >>> tried to execute build.sh from ${swtlibs}. >>> >>> Do you have a hint what went wrong? I did a "make WITH_MOZILLA=firefox" >>> and tried both as "toor"-User with bash and as "root" with csh. Is >>> there a make-Target that did not get executed that should have >>> created / >>> unzipped the SWT-SRC? If you need more info pls. send me a short note. >>> >>> Would be great if you had a hint but would not be too bad I you don't >>> find the time to dig into that ;-) >>> >>> Cheers, >>> _ralf_ >>> >>> >>> >> That is the same error I get, but when adding a 'src' dir in the >> folder it will go on. ( this was the 'src' error ) : >> >> >> >> >> >> [javac] ^^^^^^^^^^^^^ >> [javac] The local variable xPelsPerMeter is never read >> [javac] ---------- >> [javac] ---------- >> [javac] 16. WARNING in >> /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java >> >> [javac] (at line 2984) >> [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | >> ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | >> ((infoHeader[31] & 0xFF) << 24); >> [javac] ^^^^^^^^^^^^^ >> [javac] The local variable yPelsPerMeter is never read >> [javac] ---------- >> [javac] 16 problems (16 warnings) >> [javac] ---------- >> [javac] 1. WARNING in >> /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java >> >> [javac] (at line 186) >> [javac] private void processUpdate(Attributes attributes) { >> [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> [javac] The method processUpdate(Attributes) from the type >> JNLPGenerator >> is never used locally >> [javac] ---------- >> [javac] ---------- >> [javac] 2. WARNING in >> /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java >> >> [javac] (at line 157) >> [javac] private static void transferStreams(InputStream source, >> OutputStream destination) throws IOException { >> [javac] >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> [javac] The method transferStreams(InputStream, OutputStream) from >> the >> type PluginVersionReplaceTask is never used locally >> [javac] ---------- >> [javac] 2 problems (2 warnings) >> >> >> >> BUILD FAILED >> /home/eclipse-devel/work/build.xml:48: >> /home/eclipse-devel/work/plugins/org.eclipse.rcp.source.freebsd.gtk.x86/src >> >> not found. >> >> Total time: 15 minutes 51 seconds >> *** Error code 1 >> >> Stop in /home/eclipse-devel. >> >> >> when adding an 'src' dir it compiles on but after a while I get this >> error: >> >> >> [javac] ^^^^^^^^^^^^^ >> [javac] The local variable xPelsPerMeter is never read >> [javac] ---------- >> [javac] ---------- >> [javac] 16. WARNING in >> /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src/org/eclipse/swt/tools/internal/IconExe.java >> >> [javac] (at line 2984) >> [javac] int yPelsPerMeter = (infoHeader[28] & 0xFF) | >> ((infoHeader[29] & 0xFF) << 8) | ((infoHeader[30] & 0xFF) << 16) | >> ((infoHeader[31] & 0xFF) << 24); >> [javac] ^^^^^^^^^^^^^ >> [javac] The local variable yPelsPerMeter is never read >> [javac] ---------- >> [javac] 16 problems (16 warnings) >> [javac] ---------- >> [javac] 1. WARNING in >> /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/JNLPGenerator.java >> >> [javac] (at line 186) >> [javac] private void processUpdate(Attributes attributes) { >> [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> [javac] The method processUpdate(Attributes) from the type >> JNLPGenerator is never used locally >> [javac] ---------- >> [javac] ---------- >> [javac] 2. WARNING in >> /home/eclipse-devel/work/plugins/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/PluginVersionReplaceTask.java >> >> [javac] (at line 157) >> [javac] private static void transferStreams(InputStream >> source, OutputStream destination) throws IOException { >> [javac] >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> [javac] The method transferStreams(InputStream, OutputStream) from >> the type PluginVersionReplaceTask is never used locally >> [javac] ---------- >> [javac] 2 problems (2 warnings) >> [exec] build.sh: Can't open build.sh: No such file or directory >> >> BUILD FAILED >> /home/eclipse-devel/work/build.xml:53: exec returned: 2 >> >> Total time: 15 minutes 40 seconds >> *** Error code 1 >> >> Stop in /home/eclipse-devel. >> >> I'm not sure what I'll have to do now. The problems and warnings >> appeared for a long time but I didn't knew what to do about it. >> >> I'm running 5.4 release on i386: >> >> frank@Riza$ uname -a >> FreeBSD Riza.FStaals.LAN 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat May >> 21 14:02:31 CEST 2005 >> root@Riza.FStaals.LAN:/usr/src/sys/i386/compile/RIZAKERNEL i386 >> >> Thanks in advance >> >> -Frank Staals > > > > Weird, I have never seen the src error myself. Could both of you send > me privately (or put somewhere and send me a link to) the full output > of a build up to that point? Something like: > > make clean build |& tee /var/tmp/eclipse.log > > I'll see if I can reproduce it this weekend. No need to worry about > the javac warnings, though. > > Thanks, > > Panagiotis > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > I used script to build the logfile, it is here: http://fstaals.net/junk/eclipse_out_log.txt it is the intire build process. the eclipse-devel.tar.gz is a clean copy of the eclipse-devel ( 3.1M7 ) port downloaded from the FreeBSD server ( http://cvsweb.freebsd.org/ports/java/eclipse-devel/eclipse-devel.tar.gz?tarball=1 ). In the log it is also visible what happend after the 'src' error when I manually added the dir. I'm currently building eclipse-devel when copying the patched dir back into the ports-tree as Jan Grant suggested, I will post the log of that when it is finished building. -Frank Staals From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 21:20:14 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2A9E716A422; Fri, 22 Jul 2005 21:20:14 +0000 (GMT) (envelope-from cjia@cse.unl.edu) Received: from cse-mail.unl.edu (cse-mail.unl.edu [129.93.165.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 093E9441C1; Fri, 22 Jul 2005 21:05:59 +0000 (GMT) (envelope-from cjia@cse.unl.edu) Received: from cse-witty-81.unl.edu (cse-witty-81.unl.edu [129.93.165.9]) by cse-mail.unl.edu (8.13.1/8.13.1) with ESMTP id j6ML5b3h026155; Fri, 22 Jul 2005 16:05:38 -0500 (CDT) From: Neo Jia To: Greg Lewis In-Reply-To: <20050626042355.GA41119@misty.eyesbeyond.com> References: <42BC8310.9040501@cse.unl.edu> <20050626042355.GA41119@misty.eyesbeyond.com> Date: Fri, 22 Jul 2005 16:02:56 -0500 Message-Id: <1122066176.10951.23.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-Scanned-By: MIMEDefang 2.49 on 129.93.165.11 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-amd64@freebsd.org, freebsd-java@freebsd.org Subject: Re: Is there anyone using gdb to debug the JDK15? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 21:20:14 -0000 All, I have successfully built the JDK15 on the top of Fedora Core 3 with AMD 64 SMP. But when I am going to use gdb debug the java_g, the gdb crashed and reported some generic error messages. I attached the error messages following. Is it a common problem created in AMD 64 arch? I saw the program when it is going to invoke the execve() call. Is it related to the omit-frame-pointer? Gdb seems cannot work properly with such option on 64-bit. > gdb $JAVA_ROOT/java_g GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) b java_md.c:562 Breakpoint 1 at 0x4051ee: file ../../../../src/solaris/bin/java_md.c, line 562. (gdb) run -classpath . helloworld Starting program: /home/cjia/j2sdk1.5.0-build/control/build/linux- amd64/bin/java_g -classpath . helloworld [Thread debugging using libthread_db enabled] [New Thread 182894208224 (LWP 1893)] [Switching to Thread 182894208224 (LWP 1893)] Breakpoint 1, CreateExecutionEnvironment (_argcp=0x7fbffff4fc, _argvp=0x7fbffff4f0, jrepath=0x7fbfffe470 "/home/cjia/j2sdk1.5.0- build/control/build/linux-amd64", so_jrepath=4096, jvmpath=0x5130f0 "/home/cjia/j2sdk1.5.0-build/control/build/linux- amd64/lib/amd64/server", so_jvmpath=4096, original_argv=0x513010) at ../../../../src/solaris/bin/java_md.c:562 562 execve(newexec, argv, newenvp); (gdb) n thread_get_info_callback: cannot get thread info: generic error (gdb) n Cannot find bounds of current function (gdb) n Cannot find bounds of current function (gdb) where #0 0x0000000000401850 in ?? () #1 0x0000000000405205 in CreateExecutionEnvironment (_argcp=Cannot fetch general-purpose registers for thread 182894208224: generic error ) at ../../../../src/solaris/bin/java_md.c:562 #2 0x0000000000000000 in ?? () #3 0x0000000000000000 in ?? () #4 0x0000000000000000 in ?? () #5 0x0000000000000000 in ?? () #6 0x0000000000000000 in ?? () #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000000 in ?? () #10 0x0000000000000000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000000000000 in ?? () #45 0x0000000000000000 in ?? () #46 0x0000000000000000 in ?? () #47 0x0000000000000000 in ?? () #48 0x0000000000000000 in ?? () #49 0x0000000000000000 in ?? () #50 0x0000000000000000 in ?? () #51 0x0000000000000000 in ?? () #52 0x0000000000000000 in ?? () #53 0x0000000000000000 in ?? () #54 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #55 0x0000000000000000 in ?? () #56 0x0000000000000000 in ?? () #57 0x0000000000000000 in ?? () #58 0x0000000000000000 in ?? () #59 0x0000000000000000 in ?? () #60 0x0000000000000000 in ?? () #61 0x0000000000000000 in ?? () #62 0x0000000000000000 in ?? () #63 0x0000000000000000 in ?? () #64 0x0000000000000000 in ?? () #65 0x0000000000000000 in ?? () #66 0x0000000000000000 in ?? () #67 0x0000000000000000 in ?? () #68 0x0000000000000000 in ?? () #69 0x0000000000000000 in ?? () #70 0x0000000000000000 in ?? () #71 0x0000000000000000 in ?? () #72 0x0000000000000000 in ?? () #73 0x0000000000000000 in ?? () #74 0x0000000000000000 in ?? () #75 0x0000000000000000 in ?? () #76 0x0000000000000000 in ?? () #77 0x0000000000000000 in ?? () #78 0x0000000000000000 in ?? () #79 0x0000000000000000 in ?? () #80 0x0000000000000000 in ?? () #81 0x0000000000000000 in ?? () #82 0x0000000000000000 in ?? () ---Type to continue, or q to quit---qq Quit (gdb) exit Undefined command: "exit". Try "help". (gdb) quit The program is running. Exit anyway? (y or n) y Quitting: thread_db_get_info: cannot get thread info: generic error Thanks, Neo On Sat, 2005-06-25 at 22:23 -0600, Greg Lewis wrote: > On Fri, Jun 24, 2005 at 05:02:56PM -0500, Neo Jia wrote: > > These days, I tried to build the JDK15 on AMD64 with Fedora Core 3, but > > failed. And I happened to find out that in these two mailing lists, > > there were many people who had successfully built it with FreeBSD. I > > hope I could get some detailed information about the building procedure. > > Do you also use the source code from SUN SCSL or another version > > maintained by FreeBSD.org? What is the requirement I should meet to > > build it on FreeBSD, such as the version of FreeBSD? Do I still need GCC > > 3.2.2? > > > > Sorry about so many questions at the first time. Your instructions will > > be greatly appreciated! > > We use the Sun SCSL source code as the base for our port. However, many > patches are required for it to build on FreeBSD. These are contained in > a patchset that you can download at > > http://www.eyesbeyond.com/freebsddom/java/jdk15.html > > The easiest way to do this is simply to use the jdk15 port. Simply do the > following: > > cd /usr/ports/java/jdk15 > make install > > and follow the instructions. There is one caveat on amd64 -- one of the > build commands will fail strangely (this is a bug in the Linux emulation > on amd64 as far as I can determine). Simply execute that command by hand > and restart the build. Also, if you have an EM64T rather than an actual > amd64 then you will need one patch (just reply to me and I can send it to > you or search the mailing list archives and you should find it). > ----------------------------------------------------------------------------------- I would remember that if researchers were not ambitions probably today we haven't the technology we are using! From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 21:33:42 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E55F216A41F for ; Fri, 22 Jul 2005 21:33:39 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEF4643E17 for ; Fri, 22 Jul 2005 21:12:22 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6MLCKKU052481; Sat, 23 Jul 2005 00:12:20 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6MLCGGO040957; Sat, 23 Jul 2005 00:12:17 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42E160CD.6090409@ebs.gr> Date: Sat, 23 Jul 2005 00:10:37 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Staals References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> <42E12739.4050703@zonnet.nl> In-Reply-To: <42E12739.4050703@zonnet.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ralf Folkerts , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 21:33:43 -0000 Frank Staals wrote: > Panagiotis Astithas wrote: >> Weird, I have never seen the src error myself. Could both of you send >> me privately (or put somewhere and send me a link to) the full output >> of a build up to that point? Something like: >> >> make clean build |& tee /var/tmp/eclipse.log >> >> I'll see if I can reproduce it this weekend. No need to worry about >> the javac warnings, though. >> >> Thanks, >> >> Panagiotis >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >> > I used script to build the logfile, it is here: > http://fstaals.net/junk/eclipse_out_log.txt it is the intire build > process. the eclipse-devel.tar.gz is a clean copy of the eclipse-devel ( > 3.1M7 ) port downloaded from the FreeBSD server ( > http://cvsweb.freebsd.org/ports/java/eclipse-devel/eclipse-devel.tar.gz?tarball=1 > ). In the log it is also visible what happend after the 'src' error when > I manually added the dir. > > I'm currently building eclipse-devel when copying the patched dir back > into the ports-tree as Jan Grant suggested, I will post the log of that > when it is finished building. > > -Frank Staals OK, I see what is going on. patch(1) manages to misplace 3 new patch files that should be placed in eclipse-devel/files. Not sure why. You should be seeing the following files in the directory where you ran patch: patch-build.bat patch-features-rcp-build.xml patch-features-rcp-source-build.xml Just move them in eclipse-devel/files and you should be OK. Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 21:37:20 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 EB20216A585 for ; Fri, 22 Jul 2005 21:37:18 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4464643F24 for ; Fri, 22 Jul 2005 21:27:28 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 22 Jul 2005 21:27:27 -0000 Received: from dsl-084-056-150-008.arcor-ip.net (EHLO beaster) [84.56.150.8] by mail.gmx.net (mp021) with SMTP; 22 Jul 2005 23:27:27 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Panagiotis Astithas In-Reply-To: <42E0B533.2060306@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JZPEuJSMIj6zjPtdodZf" Organization: Wohnzimmerrechenzentrum Date: Fri, 22 Jul 2005 23:27:24 +0200 Message-Id: <1122067644.885.15.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: Frank Staals , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 21:37:20 -0000 --=-JZPEuJSMIj6zjPtdodZf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Freitag, den 22.07.2005, 11:58 +0300 schrieb Panagiotis Astithas: Hi Panagiotis and Frank, [...] > >> BUILD FAILED > >> /usr/ports/java/eclipse-devel/work/build.xml:48:=20 > >> /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.rcp.source.free= bsd.gtk.x86/src=20 > >> not found. > >> > >> Total time: 6 minutes 34 seconds > >> *** Error code 1 > >> > >> Stop in /usr/ports/java/eclipse-devel. just tried a bit more, had a look at the Makefiles etc. Did help a bit but not really: - From the Build-Log it seems that the copy-Targets from the pre-patch Script runs fine, as it lists the directory that is later missing the src-Directory: --- Copying plugins/org.eclipse.rcp.source.linux.gtk.x86 into plugins/org.eclipse.rcp.source.freebsd.gtk.x86 --- However, when looking into the directories, the /linux/ does contain the "src"-Directory and also some Files within: --- [-su]beaster:org.eclipse.rcp.source.linux.gtk.x86$ls -l src/ total 2 drwxr-xr-x 3 root wheel 512 Jul 22 23:09 org.eclipse.swt.gtk.linux.x86_3.1.0 --- While there is not even a src-Directory in the corresponding /freebsd/ Directory. So I copied the src from /linux/ to /freebsd/ and then renamed org.eclipse.swt.gtk.linux.x86_3.1.0 to org.eclipse.swt.gtk.freebsd.x86_3.1.0 After that the Build skipped the Problem. However, a bit later it failed: --- BUILD FAILED /usr/ports/java/eclipse-devel/work/build.xml:105: The following error occurred while executing this line: /usr/ports/java/eclipse-devel/work/assemble.org.eclipse.sdk.freebsd.gtk.x86= .xml:304: The following error occurred while executing this line: /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.swt.gtk.freebsd.x86/= build.xml:182: /usr/ports/java/eclipse-devel/work/plugins/org.eclipse.swt.g= tk.freebsd.x86/@dot not found. --- This time, it was a similar Problem; in the plugins/org.eclipse.swt.gtk.linux.x86 Directory there was a Directory \@dot that contained several files; that Directory, however, was not in org.eclipse.swt.gtk.freebsd.x86. So I copied that over, too. After that the build stopped: BUILD FAILED /usr/ports/java/eclipse-devel/work/build.xml:105: The following error occurred while executing this line: /usr/ports/java/eclipse-devel/work/assemble.org.eclipse.sdk.freebsd.gtk.x86= .xml:310: The following error occurred while executing this line: /usr/ports/java/eclipse-devel/work/features/org.eclipse.rcp/build.xml:189: = The following error occurred while executing this line: Target `rootFilesfreebsd_gtk_x86' does not exist in this project. Total time: 8 minutes 27 seconds *** Error code 1 So it seems to me that at least the "copies" that are being performed by the pre-patch - Skript do ignore the "-r" Option :-( I think for the "rootFilesfreebsd_gtk_x86" I should just sed or vi /linux/freebsd/ in the build.xml?! Will try that -- tomorrow and will "report" the result :-) Cheers, _ralf_ --=-JZPEuJSMIj6zjPtdodZf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC4WS8Y2jmDrUy5RMRAis5AKCqtzrFEFZyctMB6rqIY3O6zjOPigCfZfhj tjfhFJ0lt9QWCEaeNG0p0Bw= =SKca -----END PGP SIGNATURE----- --=-JZPEuJSMIj6zjPtdodZf-- From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 21:54:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 5BC5816A420 for ; Fri, 22 Jul 2005 21:54:09 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CCE0943D60 for ; Fri, 22 Jul 2005 21:54:07 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 22 Jul 2005 21:54:05 -0000 Received: from dsl-084-056-150-008.arcor-ip.net (EHLO beaster) [84.56.150.8] by mail.gmx.net (mp011) with SMTP; 22 Jul 2005 23:54:05 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Panagiotis Astithas In-Reply-To: <42E160CD.6090409@ebs.gr> References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> <42E12739.4050703@zonnet.nl> <42E160CD.6090409@ebs.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-VwUXe3bgpX+W1AUSoqoY" Organization: Wohnzimmerrechenzentrum Date: Fri, 22 Jul 2005 23:54:05 +0200 Message-Id: <1122069245.885.21.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 21:54:09 -0000 --=-VwUXe3bgpX+W1AUSoqoY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Samstag, den 23.07.2005, 00:10 +0300 schrieb Panagiotis Astithas: Hi Panagiotis, [...] > OK, I see what is going on. patch(1) manages to misplace 3 new patch=20 > files that should be placed in eclipse-devel/files. Not sure why. You=20 > should be seeing the following files in the directory where you ran patch= : >=20 > patch-build.bat > patch-features-rcp-build.xml > patch-features-rcp-source-build.xml >=20 > Just move them in eclipse-devel/files and you should be OK. great! That did the Job! Thank you very much! I just completed the Build - and Eclipse 3.1 started up OK. Now I think I should remove my "old" Eclipse-Settings (as Andreas Kohn posted recently) and then I should be up and running with Eclipse 3.1! Again, many thanks! Cheers, _ralf_ --=-VwUXe3bgpX+W1AUSoqoY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC4Wr9Y2jmDrUy5RMRAuQfAKCPvzQ/Q4ZKKuvOL6dHEY4NBSL3sQCdEhdd v7bg6voHNX+RLKAtlDp+7f0= =I6Rc -----END PGP SIGNATURE----- --=-VwUXe3bgpX+W1AUSoqoY-- From owner-freebsd-java@FreeBSD.ORG Fri Jul 22 21:57:52 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 6CEE216A41F for ; Fri, 22 Jul 2005 21:57:52 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AAB2243D58 for ; Fri, 22 Jul 2005 21:57:51 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 22 Jul 2005 21:57:50 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp029) with SMTP; 22 Jul 2005 23:57:50 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Jan Grant In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-35R8Ls4QTfVucXCDE7I4" Date: Fri, 22 Jul 2005 23:57:48 +0200 Message-Id: <1122069468.2062.15.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.5.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: Eclipse 3.1, subclipse, javaSVN, kserel and 70% system use. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 21:57:52 -0000 --=-35R8Ls4QTfVucXCDE7I4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, On Fri, 2005-07-22 at 13:58 +0100, Jan Grant wrote: > (This appears to be a problem with both native 1.4.2 and 1.5.0 jdks on=20 > my -stable: an approximately GENERIC > FreeBSD 5.4-STABLE #0: Thu Jun 16 13:59:43 BST 2005) >=20 > I use subversion for version control here, so I installed the latest=20 > subclipe (subclipe.tigris.org) and the tmate.org javaSVN libraries. >=20 > [subclipse really slow] > > I can get a thread dump if anyone is interested but I'd like to actually=20 > get some confirmation that others are seeing this issue too. >=20 I did see the same after installing subclipse again into 3.1. Apparently as my machine is a lot slower than yours (athlon 1200), I actually never saw the operation complete. Eclipse-devel just hung early, just after it painted itself for the first time. I didn't have much time then to figure out how to solve the problem. Now, I reinstalled eclipse-devel (to test the latest patch), and also reinstalled subclipse (after I saw your message). I usually use subclipse with the JavaHL bindings[1]. Experience has shown for me that "java app being slow" could be related to "java app is not run with the same jdk it was compiled"[2], I also rebuilt subversion (updating from 1.1.4 to 1.2.0, and forcing it to use the JDK 1.5.0). And for some reason, subclipse now works fine. No slowdowns, just as it worked in eclipse 3.0.=20 The problem is: I can't tell if the rebuild fixed it, if the update fixed it, if some other unrelated change[3] fixed it, etc. To answer your question: Yes, I can confirm I saw this slowdown/hang, but can't say how to fix it or even where to look :/ Regards, -- Andreas [1] JavaHL bindings: They are commented in the port, but do work for me. [2] The "slow typing in eclipse"-bug. I had it multiple times, and once(!) it went away when rebuilding jdk, eclipse, etc. OTOH, I couldn't reproduce it by reversing the process, so this is still unclear why it worked. [3] unrelated changes: I've been fixing my ipv6 setup lately, and there are some problems/issues known w.r.t. Java, so this may be remotely related. --=20 was macht man eigentlich auf einer linux-gamer lan ? hl server aufsetzen und freuen ? *duck* ^^ --=-35R8Ls4QTfVucXCDE7I4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC4WvcYucd7Ow1ygwRAskMAJ979Fr0GuDuT9xx/bOOPo1VkBpE1gCeKVQl y4S0vJzMJebgxW0q8D6GlFM= =EZRQ -----END PGP SIGNATURE----- --=-35R8Ls4QTfVucXCDE7I4-- From owner-freebsd-java@FreeBSD.ORG Sat Jul 23 20:08:12 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 7FFB616A41F for ; Sat, 23 Jul 2005 20:08:12 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: from smtp2.versatel.nl (smtp2.versatel.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6CD643D46 for ; Sat, 23 Jul 2005 20:08:11 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: (qmail 22100 invoked by uid 0); 23 Jul 2005 20:08:08 -0000 Received: from unknown (HELO [192.168.5.2]) ([62.59.173.176]) (envelope-sender ) by smtp2.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 23 Jul 2005 20:08:08 -0000 Message-ID: <42E2A3B6.7010807@zonnet.nl> Date: Sat, 23 Jul 2005 22:08:22 +0200 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050521) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Panagiotis Astithas References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> <42D99A15.7090408@ebs.gr> <42DEBF05.9050103@ebs.gr> <1121975583.994.14.camel@beaster> <42E000B5.6050903@zonnet.nl> <42E0B533.2060306@ebs.gr> <42E12739.4050703@zonnet.nl> <42E160CD.6090409@ebs.gr> In-Reply-To: <42E160CD.6090409@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ralf Folkerts , freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 20:08:12 -0000 Panagiotis Astithas wrote: > Frank Staals wrote: > >> Panagiotis Astithas wrote: >> >>> Weird, I have never seen the src error myself. Could both of you >>> send me privately (or put somewhere and send me a link to) the full >>> output of a build up to that point? Something like: >>> >>> make clean build |& tee /var/tmp/eclipse.log >>> >>> I'll see if I can reproduce it this weekend. No need to worry about >>> the javac warnings, though. >>> >>> Thanks, >>> >>> Panagiotis >>> _______________________________________________ >>> freebsd-java@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-java >>> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >>> >> I used script to build the logfile, it is here: >> http://fstaals.net/junk/eclipse_out_log.txt it is the intire build >> process. the eclipse-devel.tar.gz is a clean copy of the >> eclipse-devel ( 3.1M7 ) port downloaded from the FreeBSD server ( >> http://cvsweb.freebsd.org/ports/java/eclipse-devel/eclipse-devel.tar.gz?tarball=1 >> ). In the log it is also visible what happend after the 'src' error >> when I manually added the dir. >> >> I'm currently building eclipse-devel when copying the patched dir >> back into the ports-tree as Jan Grant suggested, I will post the log >> of that when it is finished building. >> >> -Frank Staals > > > OK, I see what is going on. patch(1) manages to misplace 3 new patch > files that should be placed in eclipse-devel/files. Not sure why. You > should be seeing the following files in the directory where you ran > patch: > > patch-build.bat > patch-features-rcp-build.xml > patch-features-rcp-source-build.xml > > Just move them in eclipse-devel/files and you should be OK. > > > Thanks, > > Panagiotis > WOEI !! it worked indeed, eclipse installed fine now. Allthough I have still a problem, when I started eclipse and installed the VEP plugin, I got these errors when opening a new Visual class : http://fstaals.net/junk/eclipse/ and I'm not shure what to do next. Has anyone an Idea what I can do to get it working ? This is how I installed the plugins help --> software updates ---> find and install --> search for new features to install the first time I ran this I selected all the things exept voor 'JEM', the second time I installed the VE part of the Visual Editor Plugins, which should be enough I think. Anyone else problems with VEP ? thanks in advance, -Frank Staals