I've been trying to get my Ant build script to run nightly using Window 2K's
Task Scheduler.  I can run the script from a command prompt so I'm
sure the script is fine.  

I've setup Task Scheduler to run the script through a batch file, which
also works at that command prompt, under my username, with the
working directory set to the directory of the ant script.
When it runs, it gets as far as CvsChangeLog and then blows:

CvsChangeLog:
[cvschangelog] ChangeLog command: [cvs log "-d >=2002-07-17"]
Execute:Java13CommandLauncher: Executing 'cvs' with arguments:
'log'
'-d >=2002-07-17'

The ' characters around the executable and arguments are
not part of the command.


BUILD FAILED
file:E:/Redevelopment/WMX/Projects/IPAnywhere/Utilities/BuildManager/Resourc
es/build.xml:122: Error running cvs log
        at
org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask.execute(ChangeLogTask.jav
a:290)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 49 seconds

Anyone know what may be causing this?

Thanks,
Dave.

--
W. Dave Rathnow
Wireless Matrix Corporation 
Calgary, AB 
http://www.wirelessmatrixcorp.com
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to