Results 1 to 4 of 4

Thread: make vs ant

  1. #1
    Join Date
    Dec 2004
    Beans
    16

    Question make vs ant

    Background: Doing a respectably large program for an OO class based in Java, Working as part of a 3 member team.

    Question: Given only one of us has any background on building with ant, which would be better?

  2. #2
    Join Date
    Feb 2005
    Location
    Indonesia
    Beans
    321
    Distro
    Ubuntu Breezy 5.10

    Re: make vs ant

    Isn't ant only for Java? and make for Perl and C/C++ ?

  3. #3
    Join Date
    Nov 2004
    Beans
    86

    Re: make vs ant

    Ant is the way to go. It is easier to write. But a little slower. And it also does dependency check. Make only uses time stamp to determine which files to compile. A file changed may affect other classes in some other unchanged files, but because Make only use time stamp, these effected files are not recompiled. I heard Jikes can create dependency for Make to use, but so far I never got that to work. Jikes simply crash on me.

  4. #4
    Join Date
    Mar 2005
    Location
    Birmingham, UK
    Beans
    40

    Re: make vs ant

    Quote Originally Posted by defkewl
    Isn't ant only for Java? and make for Perl and C/C++ ?
    No, Ant can have many targets, including building language other than Java. Perl might be a special case due to the MakeMaker magic and such. It is not that you could not use Ant to build a Perl project, it just would not slot in with the default system.

    Personally, I would use Ant. The format is fairly easy to learn, it will be supported (if via plug-ins) in most IDEs and Java-aware programmer's text editors and most targets are cross-platform (assuming that your Java application probably is, also).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •