ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yarbrough, Jay" <JYarbro...@ritchiecapital.com>
Subject RE: Nightly Ant scripts
Date Mon, 13 Jan 2003 18:32:14 GMT
GREAT!  Glad I could be of some help.  It's a great user's list, isn't it?  I've gotten a ton
of help from these folks.

-Jay

-----Original Message-----
From: Paul Collins [mailto:paul.collins@spectel.com]
Sent: Monday, January 13, 2003 12:26 PM
To: Ant Users List
Subject: RE: Nightly Ant scripts


Cheers I got the batch file to work via the schedule tasks I was going about the wrong way
kept trying it through the command line and probably getting the syntax wrong.

Thanks you have saved me allot of time

-----Original Message-----
From: Yarbrough, Jay [mailto:JYarbrough@ritchiecapital.com]
Sent: 13 January 2003 18:12
To: Ant Users List
Subject: RE: Nightly Ant scripts


I'm not sure if this is the answer to your question, or not.  But, I'm having no problems
running my scripts from the scheduled tasks window.  (control panel -> Scheduled Tasks),
under Win2K.

I kick off a batch file, that in turn runs ANT.  I did have difficulty, with the environment
settings, until I set them all for the system, as opposed to specific users.

Regards,
Jay

-----Original Message-----
From: Paul Collins [mailto:paul.collins@spectel.com]
Sent: Monday, January 13, 2003 12:05 PM
To: Ant Users List
Subject: 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?

Regards
Paul

-----Original Message-----
From: Guy Rouillier [mailto:guy-rouillier@speakeasy.net]
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" <paul.collins@spectel.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, January 13, 2003 11:50 AM
Subject: Nightly Ant scripts


Hi

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:
BUILD FAILED
file:C:/TEST_NIGHTLY/retAndBld_WebBook.xml:65: java.io.IOException:
CreateProcess: ${env.VSS_HOME}\ss Get
$/Bs2/WebBook/src -GLC:\TEST_NIGHTLY\src -I- -R -VL0113a001.00.200.2.06.0.o 
-W -Yguest, error=2

Total time: 4 seconds

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


All suggestions welcome as to how to resolve this problem.

Regards
Paul Collins


-----Original Message-----
From: George_Schlitz@ssga.com [mailto:George_Schlitz@ssga.com]
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" (http://www.manning.com/hatcher), 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.

George




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


-----------------------------------------
This email and any attachments are confidential and may be legally privileged.  No confidentiality
or privilege is waived or lost by any transmission in error.  If you are not the intended
recipient you are hereby notified that any use, printing, copying or disclosure is strictly
prohibited.  Please delete this email and any attachments, without printing, copying, forwarding
or saving them and notify the sender immediately by reply e-mail.  The company reserves the
right to monitor all e-mail communications through its networks.  Unless otherwise stated,
any financial results or price data contained in this email are indicative only and are subject
to change without notice.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


-----------------------------------------
This email and any attachments are confidential and may be legally privileged.  No confidentiality
or privilege is waived or lost by any transmission in error.  If you are not the intended
recipient you are hereby notified that any use, printing, copying or disclosure is strictly
prohibited.  Please delete this email and any attachments, without printing, copying, forwarding
or saving them and notify the sender immediately by reply e-mail.  The company reserves the
right to monitor all e-mail communications through its networks.  Unless otherwise stated,
any financial results or price data contained in this email are indicative only and are subject
to change without notice.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message