Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13807

Re: How to develop without an IDE?

From Steven Simpson <ss@domain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to develop without an IDE?
Date 2012-04-22 23:32 +0100
Organization Aioe.org NNTP Server
Message-ID <9gde69-uha.ln1@s.simpson148.btinternet.com> (permalink)
References <jn17ae$pjl$1@speranza.aioe.org>

Show all headers | View raw


On 22/04/12 16:15, Rui Maciel wrote:
> Is it possible to set up a Java project so that it can be built without
> relying on an IDE?  If it is, where can I find any information on how to set
> up this sort of project?
>
> Bonus points if it's possible to pull this off by writing a single makefile.

Though I use Eclipse for any project of more than a few source files, I 
don't use it for building.  The projects include the necessary scripts 
to be built stand-alone.

I did explore trying to get 'make' to handle per-file dependencies, and 
I haven't totally given up yet, but for now I've settled for per-jar 
dependencies.  I have a pre-packaged 'make' include file, and tell it 
that jar foo depends upon the 'API' of jar bar, and it works out rules 
that allow compilation of foo to be necessary only if any of foo's 
sources have changed (of course), or the API of bar has changed - so bar 
can change internally without necessarily triggering recompilation of foo.

Within a jar, nothing special is going on - it's a clean build.

A jar's API is derived from the class files immediately after 
compilation.  I originally used javap and gawk for this, but javap's 
text output is not a consistent format from one vendor to the next, and 
the gawk processing is slow, so I eventually wrote a Java program to 
parse the class files directly.  It's a little faster, and should be 
more broadly compatible.  However, I think it's still substantially 
slower than simply doing clean builds on all jars unconditionally.

Details here:

<http://www.comp.lancs.ac.uk/~ss/software/pkg-jardeps>

Cheers,

Steven

-- 
ss at comp dot lancs dot ac dot uk

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-22 16:15 +0100
  Re: How to develop without an IDE? David Lamb <dalamb@cs.queensu.ca> - 2012-04-22 11:18 -0400
    Re: How to develop without an IDE? Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-04-22 16:22 +0000
    Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-23 23:22 +0100
      Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-04-23 16:44 -0700
        Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 15:03 +0100
          Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-24 11:24 -0300
            Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-24 09:07 -0700
              Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-24 14:07 -0300
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-25 09:10 -0700
                Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-25 21:04 -0300
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:29 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-29 20:32 -0700
                Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-30 07:09 -0300
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-30 22:16 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-01 10:19 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-01 18:56 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-01 19:15 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 18:45 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-07 09:58 -0700
              Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-24 21:10 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-25 09:13 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:34 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-29 20:35 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-30 22:09 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-01 10:23 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-01 19:03 -0400
                Re: How to develop without an IDE? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-05-01 16:18 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-01 19:33 -0400
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-01 19:21 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 18:49 -0400
                Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-05-06 00:06 +0000
                Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-05-06 00:06 +0000
                Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-05-06 00:07 +0000
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 20:26 -0400
                Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-05-06 11:38 +0000
                Re: How to develop without an IDE? markspace <-@.> - 2012-05-06 08:41 -0700
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-07 10:24 -0700
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-07 10:18 -0700
                Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-05-06 00:06 +0000
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-05-07 10:12 -0700
          Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-24 21:08 -0400
          Re: How to develop without an IDE? Lew <noone@lewscanon.com> - 2012-04-25 00:57 -0700
            Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-25 13:48 +0100
              Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 23:17 -0400
      Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-23 20:55 -0400
  Re: How to develop without an IDE? Knute Johnson <nospam@knutejohnson.com> - 2012-04-22 08:41 -0700
  Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-22 12:36 -0400
    Re: How to develop without an IDE? Lew <noone@lewscanon.com> - 2012-04-22 11:35 -0700
      Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-22 17:21 -0400
        Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-22 16:15 -0700
          Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-22 19:45 -0400
            Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-22 20:28 -0700
              Re: How to develop without an IDE? "Nasser M. Abbasi" <nma@12000.org> - 2012-04-22 23:57 -0500
                Re: How to develop without an IDE? Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-04-23 02:06 -0500
                Re: How to develop without an IDE? "Nasser M. Abbasi" <nma@12000.org> - 2012-04-23 02:09 -0500
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-23 01:26 -0700
                Re: How to develop without an IDE? Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-04-23 04:36 -0500
                Re: How to develop without an IDE? Robert Klemme <shortcutter@googlemail.com> - 2012-04-23 21:11 +0200
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-23 23:15 +0100
                Re: How to develop without an IDE? markspace <-@.> - 2012-04-23 15:44 -0700
                Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-23 21:15 -0300
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-25 02:33 +0100
                Re: How to develop without an IDE? markspace <-@.> - 2012-04-24 18:59 -0700
                Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-04-23 16:43 -0700
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 14:44 +0100
                Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-04-24 20:23 +0000
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-25 09:18 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:42 -0400
                Re: How to develop without an IDE? Robert Klemme <shortcutter@googlemail.com> - 2012-04-24 08:38 +0200
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 14:20 +0100
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 14:20 +0100
                Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-04-24 13:36 -0700
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-25 02:09 +0100
                Re: How to develop without an IDE? Robert Klemme <shortcutter@googlemail.com> - 2012-04-25 07:55 +0200
                Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-25 12:18 +0100
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:37 -0400
                Re: How to develop without an IDE? Lew <noone@lewscanon.com> - 2012-04-25 01:01 -0700
                Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-25 09:20 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:50 -0400
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-24 21:17 -0400
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 23:27 -0400
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-29 11:16 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-29 14:33 -0400
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-29 22:48 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-30 22:03 -0400
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-30 22:59 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-01 19:09 -0400
                Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-05-02 11:01 -0700
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-05-02 12:21 -0700
                Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-05-02 14:20 -0700
                Re: How to develop without an IDE? Patricia Shanahan <pats@acm.org> - 2012-05-02 14:41 -0700
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-05-02 16:52 -0700
                Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 18:31 -0400
                Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-05-06 14:19 -0700
                Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-05-07 11:16 -0700
  Re: How to develop without an IDE? markspace <-@.> - 2012-04-22 10:17 -0700
  Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-04-22 19:11 +0000
    Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-25 02:43 +0100
  Re: How to develop without an IDE? Steven Simpson <ss@domain.invalid> - 2012-04-22 23:32 +0100
  Re: How to develop without an IDE? Roedy Green <see_website@mindprod.com.invalid> - 2012-04-23 00:33 -0700
  Re: How to develop without an IDE? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-23 10:25 -0700
    Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-23 23:38 +0100
      Re: How to develop without an IDE? markspace <-@.> - 2012-04-23 15:50 -0700
        Re: How to develop without an IDE? Patricia Shanahan <pats@acm.org> - 2012-04-23 16:21 -0700
        Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-23 22:09 -0300
        Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 13:53 +0100
          Re: How to develop without an IDE? markspace <-@.> - 2012-04-24 08:12 -0700
            Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-24 09:16 -0700
          Re: How to develop without an IDE? markspace <-@.> - 2012-04-24 08:14 -0700
          Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 23:11 -0400
          Re: How to develop without an IDE? Robert Klemme <shortcutter@googlemail.com> - 2012-04-29 13:21 +0200
        Re: How to develop without an IDE? JussiJ <jussij@zeusedit.com> - 2012-05-07 07:19 -0700
      Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-04-23 16:46 -0700
        Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 12:47 +0100
          Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:59 -0400
        Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-24 09:20 -0700
      Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-23 21:00 -0400
        Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-24 12:36 +0100
          Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-24 20:54 -0400
            Re: How to develop without an IDE? Rui Maciel <rui.maciel@gmail.com> - 2012-04-25 12:05 +0100
              Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 23:07 -0400
      Re: How to develop without an IDE? Gene Wirchenko <genew@ocis.net> - 2012-04-24 09:13 -0700
        Re: How to develop without an IDE? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-24 14:15 -0300
          Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-24 12:59 -0700
            Re: How to develop without an IDE? markspace <-@.> - 2012-04-24 14:24 -0700
              Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-04-24 14:59 -0700
                Re: How to develop without an IDE? markspace <-@.> - 2012-04-24 17:19 -0700
              Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-24 17:12 -0700
        Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-24 21:00 -0400
          Re: How to develop without an IDE? Gordon Levi <gordon@address.invalid> - 2012-04-26 02:17 +1000
            Re: How to develop without an IDE? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-28 22:24 -0400
      Re: How to develop without an IDE? BGB <cr88192@hotmail.com> - 2012-04-24 10:02 -0700
  Re: How to develop without an IDE? sony.gupta32@yahoo.co.uk - 2012-08-30 02:29 -0700
    Re: How to develop without an IDE? Martin Gregorie <martin@address-in-sig.invalid> - 2012-08-30 19:58 +0000
      Re: How to develop without an IDE? Lew <lewbloch@gmail.com> - 2012-08-30 13:16 -0700
      Re: How to develop without an IDE? Roedy Green <see_website@mindprod.com.invalid> - 2012-09-02 14:04 -0700

csiph-web