From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.help Subject: Re: Java development with Emacs Date: Mon, 8 Mar 2010 09:06:39 -0500 Message-ID: <20100308140638.GA4487@srevilak.net> References: <20100307.112656.238891810.jeff@chaosphere.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" X-Trace: dough.gmane.org 1268057265 32441 80.91.229.12 (8 Mar 2010 14:07:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Mar 2010 14:07:45 +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 Mar 08 15:07:42 2010 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.69) (envelope-from ) id 1NodcT-0007ki-Ag for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Mar 2010 15:07:41 +0100 Original-Received: from localhost ([127.0.0.1]:45439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NodcS-0007Rl-Nj for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Mar 2010 09:07:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nodby-0007Qe-Kz for help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 09:07:10 -0500 Original-Received: from [140.186.70.92] (port=48173 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nodbw-0007PQ-Kv for help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 09:07:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nodbh-0007OF-8e for help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 09:07:08 -0500 Original-Received: from mail3.sea5.speakeasy.net ([69.17.117.5]:60622) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nodbg-0007Nu-2W for help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 09:06:53 -0500 Original-Received: (qmail 23117 invoked from network); 8 Mar 2010 14:06:47 -0000 Original-Received: from pool-72-93-82-56.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[72.93.82.56]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 8 Mar 2010 14:06:47 -0000 Content-Disposition: inline In-Reply-To: <20100307.112656.238891810.jeff@chaosphere.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/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:72388 Archived-At: --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >Okay, so I think I'm just about done with NetBeans. Thus far the only >thing giving me a rash is the editor, which is made marginally useful >(for me) through the Emacs key binding set. Unfortunately, that last >"ten percent" I'm missing has proven to be such a source of annoyance >that...well...I just can't take it anymore, man! *sniff* > >What is the done thing when it comes to writing Java applications >using Emacs? There's obviously a mode for writing the code, but what >other packages and .emacs magic might I want to use to get the most >from it? I could easily Google some how-tos and whatnot, I'm sure, >but I'm also highly interested in the opinions of people actually >working with Java today as to the usability of Emacs for the task of >writing programs spanning multiple files and such. > >So if you're writing Java applications with Emacs as your >center-piece, how are you doing it and what other tools are you using? This topic comes up every once in a while, and I'm sure you'll find plenty of opinions in the archives of help-gnu-emacs. I use emacs for java development. My setup is very simple, but it works well for me. - java mode for java editing - ant for compilation, javadoc generation, and general integration with third-party java development tools. I set the shell environment variable ANT_ARGS=3D-emacs so that ant outputs file and line numbers in a format that compilation mode understands. Within emacs, I=20 (setq compile-command "ant -find build.xml ") - gnu global for source code indexing and symbol navigation. - emacs' existing facilities for interacting with version control systems (cvs-mode, vc, etc) - A web browser for viewing javadoc - Occasionally, I use eclipse as a debugger. (Primarily because I've never come to terms with jdb.) Steve --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkuVBG4ACgkQX7YJI4BuyDSaugCdEa9PtTfRkZoxr5zuzQXsgOKK nVkAni0e4rabr8mGpplRcLcjGbxSMAEi =G5tV -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--