Open a shell and run a batchfile

2005-08-14 Thread Frank Schaare
Hi, i´d like to automate some tasks under Win 2000 Server. A dos box should open and a batch file should be executed therwith the user can read the batchfiles output. There are tons of examples like this: exec executable=cmd arg line=/c test.bat / /exec i´ve tried several mutations

Re: Open a shell and run a batchfile

2005-08-14 Thread Frank W. Zammetti
Hi Frank (from one Frank to another!), I don't see any way to do that directly from Ant, but maybe someone else does. Assuming there is no easy answer, here's one round-about way to pull it off... Ant script: project name=test default=showdir target name=showdir exec

Re: Open a shell and run a batchfile

2005-08-14 Thread Frank W. Zammetti
Ah, sorry about that, I must have been half asleep... for some reason I thought you were asking to list a directory, now I see you want to run an arbitrary batch file. Sorry, my bad. However, I think what I posted still works just the same... just alter what's in test.vbs to execute, instead

Re: zipfile with manifest

2005-08-14 Thread Alexey N. Solofnenko
Isn't the manifest just another file? Create one one way or another (maybe even with echo, but it is better not to overwrite the file, if it is already up-to-date to avoid continuous zip file updates) and zip it with all other files. - Alexey. THUFIR HAWAT wrote:

AW: AW: Call Ant task from java file

2005-08-14 Thread Jan.Materne
Change fileset dir=someDir includes=**/CVS defaultexcludes=no/ to fileset dir=someDir includes=**/CVS/ defaultexcludes=no/ A **/CVS catches only a file CVS, but not all files in the directory. A **/CVS/ is expanded to **/CVS/** which catches all subdirectories and contained files. Jan

Re: Deploying to WebLogic with Ant under Eclipse

2005-08-14 Thread Petar Tahchiev
On 12/08/05, Yaakov Chaikin [EMAIL PROTECTED] wrote: Hi, I've asked this on one of the Eclipse newsgroup, but didn't really get an answer, so I am hoping someone on this list will be able to figure this out. I have an Ant script that deploys a web app to WebLogic 8.1sp4. If I run this