From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: hazlup Newsgroups: gmane.emacs.help Subject: Re: Java development with Emacs Date: Mon, 8 Mar 2010 10:59:11 -0800 (PST) Message-ID: <27825883.post@talk.nabble.com> References: <20100307.112656.238891810.jeff@chaosphere.com> <20100308140638.GA4487@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268075188 7657 80.91.229.12 (8 Mar 2010 19:06:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Mar 2010 19:06:28 +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 20:06:20 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 1NoiHN-0007be-Mt for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Mar 2010 20:06:13 +0100 Original-Received: from localhost ([127.0.0.1]:38527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoiBF-0004xS-9b for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Mar 2010 13:59:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoiAw-0004x4-Ln for help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 13:59:34 -0500 Original-Received: from [140.186.70.92] (port=42646 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoiAt-0004wi-OZ for Help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 13:59:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoiAe-0007yu-Ge for Help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 13:59:17 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:33748) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoiAe-0007yk-9x for Help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 13:59:16 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NoiAZ-0002Ph-1L for Help-gnu-emacs@gnu.org; Mon, 08 Mar 2010 10:59:11 -0800 In-Reply-To: <20100308140638.GA4487@srevilak.net> X-Nabble-From: robjsargent@gmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:72389 Archived-At: Steve Revilak-2 wrote: > >>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=-emacs so that ant > outputs file and line numbers in a format that compilation mode > understands. Within emacs, I > > (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 > > Add the gtags package to quickly walk to class and member definitions -- View this message in context: http://old.nabble.com/Java-development-with-Emacs-tp27812504p27825883.html Sent from the Emacs - Help mailing list archive at Nabble.com.