ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <>
Subject RE: Nightly Ant scripts
Date Mon, 13 Jan 2003 18:17:40 GMT
In order to avoid any environment problems, we check in ANT jars into
ClearCase and have our own ANT launcher with all paths predefined using
%~dp0. This means the batch file position independent and no additional
environment variables are required.

- Alexey.

{   } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: [] 
Sent: Monday, January 13, 2003 10:11 AM
Subject: Ref. : RE: Nightly Ant scripts

Yes you can if you set correctly the JAVA_HOME and ANT_HOME environment
and if you use the windows scheduled tasks.


Extranet - 13/01/2003 19:05

Veuillez répondre à
Pour : ant-user

cc :

Objet :     RE: Nightly Ant scripts

Is there way no way I can call an ANT script from a DOS batch at a
specified time on a Windows platform?


-----Original Message-----
From: Guy Rouillier []
Sent: 13 January 2003 17:26
To: Ant Users List
Subject: Re: Nightly Ant scripts

What operating system?  Show the entire batch file, and explain how you are
kicking it off.  Error 2 is usually "file not found".

----- Original Message -----
From: "Paul Collins" <>
To: "Ant Users List" <>
Sent: Monday, January 13, 2003 11:50 AM
Subject: Nightly Ant scripts


I'm using a DOS batch file to run an ant build script, when I run the build
script on its own on the command line it works fine but when I run it via
the batch file I get:
CreateProcess: ${env.VSS_HOME}\ss Get
$/Bs2/WebBook/src -GLC:\TEST_NIGHTLY\src -I- -R -VL0113a001.
-W -Yguest, error=2

Total time: 4 seconds

This is the script I'm using:
SET JAVA_HOME=C:\j2sdk1.4.1
ant -buildfile retAndBld_WebBook.xml 1> c:\out.txt 2> c:\err.txt

All suggestions welcome as to how to resolve this problem.

Paul Collins

-----Original Message-----
From: []
Sent: 10 January 2003 14:43
To: Ant Users List
Subject: Re: AntHill vs. CruiseControl vs. Gump

>I came across a couple of tools that
>seem to be designed for this problem: AntHill, CruiseControl & Gump.
>Does anyone have any recommendations as to which one is better?

These tools are great for such things.  Eric Hatcher's book, "Java
Development With ANT" (, has a nice chapter
on continuous integration, focusing on these three tools.  He gives a good
basic comparison of the three that I agree with.  I recommend that you get
this book highly - for this, and for the best practices (Integrating SCM
with build process and more) help you are looking for in the other email :)
There are many many excellent recommendations throughout.

IMHO: Based on a very basic look at the three, the most immediately-obvious
difference is getting the tool set up- Anthill is the easiest to get
running and to get projects started.  Other than this and look and feel,
each has its own pros and cons, as all seem to be great tools- so a look
into the book above and a trial of each might be helpful.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message