unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xavier Maillard <xma@gnu.org>
To: Steve Revilak <steve@srevilak.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Java programming and emacs
Date: Sat, 9 Jan 2010 00:01:40 +0100	[thread overview]
Message-ID: <201001082301.o08N1e2V019906@fed.local> (raw)
In-Reply-To: <20100107025939.GQ387@srevilak.net> (message from Steve Revilak on Wed, 6 Jan 2010 21:59:39 -0500)

Hi Steve,

   >From: Xavier Maillard <xma@gnu.org>

   >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




  parent reply	other threads:[~2010-01-08 23:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100107010315.A4F2A10AFB0@mxperim6.sea5.speakeasy.net>
2010-01-06 22:17 ` Java programming and emacs Xavier Maillard
2010-01-07  2:59   ` Steve Revilak
2010-01-07  9:44     ` Tassilo Horn
2010-01-08 22:57       ` Xavier Maillard
2010-01-16  8:34         ` Tassilo Horn
2010-01-09 13:56       ` Andreas Röhler
2010-01-08 23:01     ` Xavier Maillard [this message]
2010-01-09  0:54       ` Steve Revilak
2010-01-16  9:22         ` Lennart Borgman
2010-01-09  3:56       ` Sean Sieger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201001082301.o08N1e2V019906@fed.local \
    --to=xma@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=steve@srevilak.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).