From: Richard <Ric...@te...> - 2006-06-16 17:16:49
|
The scripting language that I use is called AutoIt, which is very similar to VB, Vbscript, Winscript etc. The advantage of this scripting language is that whatever Windows can do at any level, AutoIt can also do. I do have a batch file that updates CVS but I would have to call the batch file from the script and that is not very elegant. My script does the following so far. 1. Updates SVN (FreeGuide) using a TortoiseSVN command > C:\Progra~1\TortoiseSVN\bin\TortoiseProc.exe /command:update /path:"c: \freeguide_source" /notempfile /closeonend:1 2. Uses Ant to make the jars with command > ant -buildfile C:\FREEGUIDE_Source\build.xml < 3. Deletes existing FreeGuide/lib directory & startup.jar 4. Copies new version to dir FreeGuide (also makes backup) 5. Makes equivalent of nightbuild + ReadMe file as zipfile 6 Uploads it to my website 7 NOT YET WORKING - Update CVS Xmltv from source 8 Command Nmake xmltv.exe 9. Copy file over existing version (also makes backup) 10 Makes zipfile 11. Uploads to website 12 Leaves both XMLTV & FreeGuide fully updated from source in 2 mins. PS what is the state of the Italian grabber ? Has it changed to a different source in today's build. I see that it works OK. Richard Some of this I can do with batchfiles, but not all of it, and that is why I'm looking for the TortoiseCVS equivalent of the command I used in 1. above to update SVN. -----Original Message----- From: Davide Chiarini [mailto:dav...@gm...] Sent: 16 June 2006 18:09 To: Richard Subject: Re: [Xmltv-devel] Updating CVS on local disk from the Windows Command Line 2006/6/16, Richard <Ric...@te...>: > Thanks Davide, > > I have done that and it works but causes other problems after > execution. I use the script for other things that a batch file can't > do such as update in what language is the script? if it's perl or similar you should be able to chgdir from the main script and then system(command) if it is a windows batch file, remember that if you execute a second bat or cmd within the main script you should 'call name.cmd' if you want it to return to the main one (iirc...) ciao davide |