ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Jia <>
Subject RE: How to Run Auto Build
Date Thu, 04 Oct 2001 16:16:53 GMT
Simply,I create two files tmp.bat and tmp.xml as below. My platform is NT4
and NT2000.
run tmp.bat, it can create a tmp directory and copy tmp.xml and tmp.bat to
tmp directory. OK.
now I use at to run it
   "at 12:10 tmp"( suppose it is 12:08 now)
 use "at" to check the job queue, it is there.
when it is 12:10, check it again , it sratus is Error. Nothing else tell me.
That means I can not use at to schedule it.
Anybody encounter same proplem.
----The test file----

tmp.bat, its contents is :
    set ANT_HOME=.\jakarta-ant-1.4
    %ANT_HOME%\bin\ant.bat -buildfile tmp.xml 
and xml file tmp.xml
    <project name="SQA_AIS" default="dailybuild" basedir=".">

      <property name="source" value= "tmp"/>

     <target name="dailybuild" depends="vsscreate" >  
       <copy file="tmp.bat" todir="${source}\" overwrite="yes"/>
       <copy file="tmp.xml" todir="${source}\" 
    <target name="vssdelete" >
       <delete dir="${source}"/>
   <target name="vsscreate" depends="vssdelete">
       <mkdir dir="${source}"/>


-----Original Message-----
From: T Master []
Sent: Thursday, October 04, 2001 11:45 AM
Subject: Re: How to Run Auto Build

What's the error output if any?

----- Original Message ----- 
From: "Barry Jia" <>
To: <>
Sent: Thursday, October 04, 2001 9:27 AM
Subject: How to Run Auto Build

> H i, All, 
> I wrote a batch file to run my build, I want to run it automatically at
> middle night at WINNT, I use at command to schedule a task, it does not
> work. The job is invoked but it looks not run my build, any idea ?

View raw message