Apache Ant XML tag reference?

This is a discussion on Apache Ant XML tag reference? within the Tech Board forums, part of the Community Boards category; I looked through the Ant manual -- useless I tried googling for a list of Ant XML tags -- millions ...

  1. #1
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545

    Apache Ant XML tag reference?

    I looked through the Ant manual -- useless
    I tried googling for a list of Ant XML tags -- millions of results, but nothing obvious on the first few pages.

    All I'm looking for is a simple list of all the Ant XML tags that you can use with a description of what they do and how to use them. Does such a thing exist?

    Ex.
    <project> -- This does blah blah... Here's the tag properties you can use with it: name, default...
    <property> -- This does blah blah... Here's the tag properties you can use with it: name, value...
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,574
    Err... what do you mean useless, cpjust?

    Take a better look at Using Ant in http://ant.apache.org/manual/index.html. It's all there.
    And while in there, under Tasks, you get treated to Built-in Tasks and Optional Tasks lists, plus how to write your own tasks.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    The info might all be in there, but I'd have to read the entire Ant manual to find it all, and right now I don't have time to read the entire thing - I have way too many other things to learn in my new job.
    I'm trying to find an A to Z list of all the XML tags that you can use in Ant. In other words - a "Quick Reference Guide".
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,574
    Did you at least do what I suggested you to do?
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    I already looked at that manual, and didn't see anything. Then I took another look at the Tasks section like you suggested, and there they all are... It would help if they called them XML Tags instead of just Tasks though.

    Thanks for helping me find them!
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  6. #6
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    tasks = something to do

    It's kinda the purpose of those particular xml tags. If you know how to write a makefile you should be able to do a basic ant script pretty quickly and easily by skimming apache's manual.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    It would help if they called them XML Tags instead of just Tasks though.
    That would be misleading. The section doesn't contain all tags, only tasks. Things like <fileset>, <property> and others are explained elsewhere.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 09:18 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 12:45 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  4. C OpenGL Compiler Error?
    By Matt3000 in forum C Programming
    Replies: 12
    Last Post: 07-07-2006, 05:42 PM
  5. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21