AW: AW: Call Ant task from java file

2005-08-14 Thread Rüegsegger Martin
>Yes, that's right. But I didn't get any output at all when running the >task from inside a java class. So how can I get the ant log messages as a >string? > > From my first message: > >BuildLogger log = new DefaultLogger(); >log.setMessageOutputLevel(Project.MSG_VERBOSE); >log.setOutputPrintS

Re: Open a shell and run a batchfile

2005-08-14 Thread Ruchira Amarasinghe
Hi Frank, My suggestion to a similar question "How to exec a command in a new window?" is : http://mail-archives.apache.org/mod_mbox/ant-user/200207.mbox/[EMAIL PROTECTED] quoting the above: Try something like, The 'start' opens a new window. But ant won't exit u

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 >

AW: AW: Call Ant task from java file

2005-08-14 Thread Jan.Materne
Change to 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 >-Ursprüngliche Nachricht- >Von: graste [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 12. August 2

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 , 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:

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: 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: And test.vbs is: dirToList = "c:\" Se

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: i´ve tried several mutations of these examples, but none of them opened the

zipfile with manifest

2005-08-14 Thread THUFIR HAWAT
seems to be saying that ant creates the manifest in the standard place, the META-INF directory, specified by , which is putting the manifest in the META-INF directory. Is that a correct r

Re: Question about deprecation

2005-08-14 Thread David A. Bartmess
Use the "deprecation" attribute on the javac element... Set it to true for using deprecation, false for not. It defaults to false. We use this all the time to allow deprecated API's to be used for a couple version past when we deprecate them, just because our customers don't always have the ti