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


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

Re: How to develop without an IDE?

From Rui Maciel <rui.maciel@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: How to develop without an IDE?
Date 2012-04-24 14:20 +0100
Organization Aioe.org NNTP Server
Message-ID <jn69a0$2qa$1@speranza.aioe.org> (permalink)
References (6 earlier) <jn2icp$lnq$1@news.albasani.net> <jn2ng0$f00$1@speranza.aioe.org> <9vlns0Fv8cU1@mid.individual.net> <jn4ka1$kco$1@speranza.aioe.org> <9vn03nF9fbU1@mid.individual.net>

Show all headers | View raw


Robert Klemme wrote:

> On 24.04.2012 00:15, Rui Maciel wrote:
>> Robert Klemme wrote:
>>
>>> On 23.04.2012 06:57, Nasser M. Abbasi wrote:
>>>> I found that using one good tool for everything is better than
>>>> mixing things.
>>>
>>> Which, if followed religiously, will lead you into a situation where it
>>> can get really awkward to do things with tool A which would be extremely
>>> easy with tool B.
>>
>> This isn't necessarily a problem, particularly if a person is already
>> familiar with tool A while being completely unaware that tool B even
>> existed.
> 
> Whoever claims he is Java developer AND unaware of ant cannot be a
> professional.  

It was a hyperbole.

And surely you are aware that a considerable number of people who spend a 
portion of their time writing Java code don't exactly make that their 
profession.


> Also: sticking with a known strategy for too long instead
> of knowing when to check other approaches is not a winning strategy.

It isn't.  But wasting time checking each and every alternative that some 
bloke on the internet said was the winning strategy is also not a winning 
strategy.


>> There is nothing wrong with this.  In fact, I see it as an extremelly
>> valuable feature.  It's a pain in the neck to shoe-horn custom build
>> rules to an automated build system which was developed with them as an
>> afterthought.
> 
> But there is something wrong with claiming "gnumake can do so many more
> things than just build source code" - because it does not even compile
> source code.

It isn't expected to.  That's the job for the compiler, which is called by 
the automated build tool.  

If I'm not mistaken, this is also what ant does.  Someone correct me if I'm 
wrong.
http://ant.apache.org/manual/Tasks/javac.html


>> Maybe build-in rules aren't needed, considering Make's static pattern
>> rules.
>>
>> http://www.gnu.org/software/make/manual/make.html#Static-Pattern
> 
> Maybe or really?  Please provide a proper static pattern rule which does
> a similar job as ant does.  As far as I can see still get one javac
> invocation per .java file.  This is hugely less efficient than what ant
> does.

As you can imagine due to the fact that I've started this thread, I never 
managed to do this nor know how to pull this off.  The reason I said that 
maybe built-in rules aren't needed to build java programs with the make tool 
is the fact that it is quite possible to build software written in a number 
of programming languagea without relying on built-in rules.  

Nevertheless, after a quick google, I stumbled on a tutorial on how to 
"write and use makefiles to build java applications".  It doesn't rely on 
static pattern rules, and instead uses suffix rules.  I don't know how well 
this works, but you are free to give it a try and see if it doesn't work.

On a side note, I don't believe that the point is to prove that the make 
tool can be made to work better than alternatives such as ant, but only that 
it actually works.


Rui Maciel

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