help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java programming and emacs


From: Xavier Maillard
Subject: Re: Java programming and emacs
Date: Sat, 9 Jan 2010 00:01:40 +0100
User-agent: Rmail/23.1.1 Emacs/23.1.1 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]