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


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

Re: Some questions on Ant

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!usenetcore.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
NNTP-Posting-Date Tue, 14 May 2013 03:43:52 -0500
Date Tue, 14 May 2013 09:43:50 +0100
From lipska the kat <"nospam at neversurrender dot co dot uk">
Organization Trollbusters 3
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Some questions on Ant
References <b1c67425-100c-4249-9cb3-01759359d305@googlegroups.com> <8b8c58db-5d3e-41cc-9ac9-b05599fb12c8@googlegroups.com>
In-Reply-To <8b8c58db-5d3e-41cc-9ac9-b05599fb12c8@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Message-ID <5LadnfdRV9rVZAzMnZ2dnUVZ7oqdnZ2d@bt.com> (permalink)
Lines 36
X-Usenet-Provider http://www.giganews.com
X-AuthenticatedUsername NoAuthUser
X-Trace sv3-F39d77Bj0SuEcbnSomthlmvZmRNgCQ7gmiMjAIMULbXGFJ0rAXstZF1JrBrRlBu2w9d4BnhAY4fXxRh!5cm4y201e3Bah5W+k4vHlV/zgpt7B6unWV4U+DaoOa8KF7BEdS/2wBirJBcEUpnOtuUPwQByyMXa
X-Complaints-To abuse@btinternet.com
X-DMCA-Complaints-To abuse@btinternet.com
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2738
Xref csiph.com comp.lang.java.programmer:24054

Show key headers only | View raw


On 14/05/13 00:38, subhabangalore@gmail.com wrote:
> On Monday, May 13, 2013 1:10:31 AM UTC+5:30, subhaba...@gmail.com wrote:
>> Dear Room,
>>
>>
>>
>> I was trying to learn Apache Ant.

[snip]

>> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?

Each project will have it's own Ant build file (at least one).
It is often possible to simply copy an existing file and modify it for a 
different project. Start small, try and get Ant to compile a single 
file, this tells you that all the wiring is correct, then compile a few 
files and package them into a jar file. Work your way up to more and 
more complex builds. Actually I mostly use Ant to package up web 
applications into war files then deploy them to a server. One click 
build and deploy saves an awful lot of time. I generally leave the 
compilation to Eclipse but whatever works for you is fine.

It is possible to configure Ant using properties files
here's a simple tutorial

http://www.tutorialspoint.com/ant/ant_property_files.htm

In this way, you could check a standard build file into source control 
which could then be configured for different build environments by 
creating a local properties file.

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

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


Thread

Some questions on Ant subhabangalore@gmail.com - 2013-05-12 12:40 -0700
  Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-12 15:57 -0400
  Re: Some questions on Ant Jeff Higgins <jeff@invalid.invalid> - 2013-05-13 09:28 -0400
    Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 07:25 -0700
      Re: Some questions on Ant Jeff Higgins <jeff@invalid.invalid> - 2013-05-13 13:47 -0400
        Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-13 19:07 -0400
  Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 15:01 -0700
    Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 16:05 -0700
  Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 16:38 -0700
    Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-13 20:19 -0400
      Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 17:24 -0700
    Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 17:21 -0700
    Re: Some questions on Ant lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-14 09:43 +0100
  Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-14 07:19 -0700
    Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-14 11:21 -0700
      Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-14 12:30 -0700
        Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-14 13:08 -0700
          Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 12:15 -0700
            Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-15 12:38 -0700
              Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 13:27 -0700
                Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 00:02 +0200
                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 23:12 -0700
                Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 10:20 +0200
                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 01:33 -0700
                Re: Some questions on Ant JLP <JLP@jlp.com> - 2013-05-16 11:25 +0200
                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 03:08 -0700
                Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 12:45 +0200
                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 04:04 -0700
                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 13:26 -0700
  Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-17 14:51 -0700

csiph-web