473,326 Members | 2,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Ant Script Understanding

May i know what exactly an ant script means and why is significant and when we actually use it ?
Sep 15 '07 #1
3 1472
JosAH
11,448 Expert 8TB
May i know what exactly an ant script means and why is significant and when we actually use it ?
Do you know what the 'make' program is all about? 'ant' is similar but uses
quite another philosophy on what exactly needs to be made. Google can tell
you about the details.

kind regards,

Jos
Sep 15 '07 #2
Do you know what the 'make' program is all about? 'ant' is similar but uses
quite another philosophy on what exactly needs to be made. Google can tell
you about the details.

kind regards,

Jos

i do not know what 'make' program is all about ? Please let me know in simple terms.
Sep 15 '07 #3
JosAH
11,448 Expert 8TB
i do not know what 'make' program is all about ? Please let me know in simple terms.
'make' (and 'ant') take care of the build process that you'd otherwise have to do
manually. Suppose you have files A.java, B.java, C.java and D.java. D depends
on B and C, and both B and C depend on A.

Suppose you compile them all, so you now also have A.class, B.class, C.class
and D.class. Next you change D.java; which files have to be recompiled? And
what if you change B.java?

The javac compiler does a lot of work itself for this but there's more that needs
to be done: resources (.gifs, .jpegs, .properties files etc) need to be up to date,
the entire shebang probably needs to end up in a jar file, a previous version
probably needs to be deleted. All intermediate files probably have to go, etc.

That's what 'make' and 'ant' can do for you, both in their own way and 'ant' is
the chosen utility for Java.

kind regards,

Jos
Sep 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Martin Foster | last post by:
Hi. I would like to be able to mimic the unix tool 'uniq' within a Perl script. I have a file with entries that look like this 4 10 21 37 58 83 111 145 184 226...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
38
by: | last post by:
I have a script... ----- <SCRIPT language="JavaScript" type="text/javascript"> <!-- function makeArray() { for (i = 0; i<makeArray.arguments.length; i++) this = makeArray.arguments; } ...
3
by: Peter.Smith1981 | last post by:
Dear All, I've a problem , that was when I creat web page,many script cannot load on same layer.One script onload, last line the </body>. So that I've find any way , but... So you point out...
7
by: gorkos | last post by:
Hi, I am two days trying to solve a problem with some pages, which i get through HTTPWebRequest. Error is that some pages need Script to be enabled. But how to do this in HTTPWebRequest class?
6
by: simon | last post by:
hello, what code would i use to kick off a javascript script after i had registered it? If (Not Page.IsClientScriptBlockRegistered("jsScript")) Then Page.RegisterClientScriptBlock("jsScript",...
9
by: Jerim79 | last post by:
I am no PHP programmer. At my current job I made it known that I was no PHP programmer during the interview. Still they have given me a script to write with the understanding that it will take me a...
9
by: Jerim79 | last post by:
Here it is: <?php if($_SERVER=='POST'){ $Number=$_POST; $Email=$_POST; $Number2=0; $error=0;
5
by: Rick Brandt | last post by:
I've done some Googling on this, but can't find anything definitive looking that isn't ancient. The issue is whether the simple act of viewing an HTML page that contains script or viewing an...
1
by: Gretsch | last post by:
I have a lot of nicely formatted HTML to be displayed for visitors WITHOUT script (/enabled), and a second set of HTML for those WITH script. The <noscript> tag allows me to separate the HTML for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.