From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.help Subject: Re: Can Emacs beat NetBeans or Eclipse? Date: Mon, 24 Dec 2007 11:53:19 -0700 Message-ID: References: <44dddf400712120600s523bbc84q5a448605a9badb71@mail.gmail.com> <20071224200652.i3td3mxwb48kkk4c@webmail.eng.it> Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198524216 22859 80.91.229.12 (24 Dec 2007 19:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Dec 2007 19:23:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 24 20:23:49 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J6stv-0007aP-8T for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Dec 2007 20:23:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6sta-0008L6-MA for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Dec 2007 14:23:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J6stJ-0008JW-Pv for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 14:23:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J6stI-0008HP-B3 for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 14:23:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6stI-0008HM-4x for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 14:23:08 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J6stI-0005Yt-0W for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 14:23:08 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J6ssq-0003y6-VH for help-gnu-emacs@gnu.org; Mon, 24 Dec 2007 19:22:40 +0000 Original-Received: from 207.189.197.107 ([207.189.197.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Dec 2007 19:22:40 +0000 Original-Received: from tromey by 207.189.197.107 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Dec 2007 19:22:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207.189.197.107 X-Attribution: Tom User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:IljnHRYDIJZQgkPc8aEvVsB5ePQ= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50311 Archived-At: >>>>> "Gian" == Gian Uberto Lauri writes: >> Eclipse also has some nice team features. You can check in various >> project files and anyone who checks out the project will automatically >> get the right indentation settings, language compliance settings, >> build paths, etc. Gian> Build paths? Unless all of the team mates have the same file system Gian> layout forget of them moving seamlessly from one user PC to another. Gian> Even worse if they DO NOT use the same O.S. I glossed over a detail. Eclipse generally does the right thing here -- when you set up your project you have it use "containers" and not full paths. Then entries like the JDK classes or Eclipse platform classes are resolved on the end user's machine. Real paths are not generally checked in, since as you point out, that would be bad. The auto-build stuff is not ideal in all environments. We had mixed results with using it for GNU Classpath, for instance, since Classpath has a very "non-Java-like" build. For pure Java projects, though, it is delightful. There really isn't a "build", in that you never have to run "make" or "ant", and the error/warning view is more or less always up-to-date. Once I tried this I was hooked -- no more mucking about with build.xml or similar trivia. Maybe you could achieve this with flymake. I haven't tried. Gian> Usually, or I use ant or use Eclipse as project handler, debugger (I Gian> don't know of something as well integrated in Emacs like gdb), Gian> compiler -uses JDK one, AFAIK- and editor for the very little things. Tried M-x jdb? I haven't but I'm curious how it compares. Gian> I would like to write an eclipse editor to reokace JDT one that uses Gian> emacsclient like code to trigger Emacs Lisp... Yeah. Well, I'd really prefer the reverse -- include the nice bits of Eclipse in Emacs. But either way is just a dream until someone writes it :-) I've been meaning to give JDEE a try... while we're talking about wishes, maybe someone could package it for ELPA ;) Tom