From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: Java programming and emacs Date: Sat, 9 Jan 2010 00:01:40 +0100 Organization: GNU's Not UNIX! Message-ID: <201001082301.o08N1e2V019906@fed.local> References: <20100107010315.A4F2A10AFB0@mxperim6.sea5.speakeasy.net> <20100107025939.GQ387@srevilak.net> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1262992155 30032 80.91.229.12 (8 Jan 2010 23:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 23:09:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Steve Revilak Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 09 00:09:08 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.50) id 1NTNx5-0004AH-IG for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jan 2010 00:09:07 +0100 Original-Received: from localhost ([127.0.0.1]:49743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTNx5-000165-7n for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Jan 2010 18:09:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTNoJ-0003J4-4g for help-gnu-emacs@gnu.org; Fri, 08 Jan 2010 18:00:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTNoE-0003HD-2X for help-gnu-emacs@gnu.org; Fri, 08 Jan 2010 18:00:02 -0500 Original-Received: from [199.232.76.173] (port=34764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTNoD-0003HA-VH for help-gnu-emacs@gnu.org; Fri, 08 Jan 2010 17:59:58 -0500 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]:45425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NTNoD-0000wt-J2 for help-gnu-emacs@gnu.org; Fri, 08 Jan 2010 17:59:57 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 4C601C9A85; Fri, 8 Jan 2010 17:59:57 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 08 Jan 2010 17:59:57 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:message-id:from:to:cc:in-reply-to:subject:reply-to:references; s=smtpout; bh=3xQd36GShswv73HnI9vLmo7M9ZI=; b=eEGHeuhbVL5WMh0br4X2P3cp3d166SOdF4uYim5wzft7jCYA+W0HT6XoNZeDCmh6eYBmxoBELHeTB7n/PoO2O5TyTaxYhK3UZKbnDGNcf0jNRsjdlWW4fae52kHYh4Dx2ELPYUZPhG5KKkb3nuFbbSpdbFuqwqYhw0QpOOslHn0= X-Sasl-enc: xwCvq2JEsMYylGJvCKSBh3DAJaKU5g/KGcK8czxw/mfF 1262991596 Original-Received: from fed.local (cha51-2-82-244-211-40.fbx.proxad.net [82.244.211.40]) by mail.messagingengine.com (Postfix) with ESMTPSA id C37CC204E5; Fri, 8 Jan 2010 17:59:56 -0500 (EST) Original-Received: from fed.local (fed.local [127.0.0.1]) by fed.local (8.14.3/8.14.3) with ESMTP id o08N1eDT019910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Jan 2010 00:01:40 +0100 Original-Received: (from xavier@localhost) by fed.local (8.14.3/8.14.3/Submit) id o08N1e2V019906; Sat, 9 Jan 2010 00:01:40 +0100 X-Authentication-Warning: fed.local: xavier set sender to xma@gnu.org using -f In-reply-to: <20100107025939.GQ387@srevilak.net> (message from Steve Revilak on Wed, 6 Jan 2010 21:59:39 -0500) User-Agent: Rmail/23.1.1 Emacs/23.1.1 (gnu/linux) Jabber-ID: xavier@maillard.im X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:71130 Archived-At: Hi Steve, >From: Xavier Maillard >I have started for a few weeks now coding for the Android >platform. That's pretty new to me and thus I am not really >informed of what I can use in Emacs to be more productive. > >I am looking for a good setup that could integrate java >programming, checkstyle plugin support and SVN (code I am working >on is hosted on code.google.com). I do a fair amount of java programming with emacs, so I can share a few things that have been helpful for me. Thank you. - If you're using ant to build your java code (setq compile-command "ant -find build.xml ") is helpful Yeah, I am stuck with ant and friends (maven2 is another tool I am using). What do I need to load in order to use compile ? (sorry I am really new to this). - If you're using ant, set the environment variable "ANT_ARGS=-emacs". This causes ant to emit output in a format that compliation mode can understand Ok. - If checkstyle has an ant task, then you can probably just run checkstyle with ant (i.e., put a checkstyle target in your build.xml). What does this mean ? I have to add an ant task in my build system ? Can't I just invoke checkstyle through emacs on a buffer ? [SNIP] CEDET also looks promising, but I haven't had time to experiment with it. What about JDEE ? Did you ever test it ? Sounds like something for a serious java coder (which I am not ;)). - vc should work fine with SVN. At least that's been my experience. Ok. I really need to get acustomed to the VC mode one day. Thank you. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org