How to filter the standard output of the junit tasks

2006-01-02 Thread Merlin Ran
Below is part of my build.xml: The output contains vast standard output information but test results. I can't just switch printsummary on and omit the brief formatter, because I want to known which test fails, for what reason. Switching

Problem: Ant's SQL task does not support copy via indirection

2006-01-02 Thread VGupta
If the sql file contains data to be loaded in the following format COPY bcd (PolicySymbol, StateCode, SqlTable, CallType, SubType, FieldIdentifier, TagName) FROM stdin; PAC $$ AGR_ST_COV RATE/AUDIT MOD_FACTOR4 PRICING TIER PAC $$ AGR_ST_COV RATE/AUDIT MOD_FACTOR5 CAPPING FACTOR .

compilation problem while using OJspc

2006-01-02 Thread M V Vinod Babu
Title: Message Hi..   Good Day!   I encountered a typical problem while compiling the jsp files using the 'Ojspc' task in Ant Script. The jsp compilation is stopping once it encounters any jsp having page directive with contentType like the below tag. <%@ page contentType="text/html;chars

RE: Novice with ANT- Can't delete a dir

2006-01-02 Thread K.Srikumar
sir, thank u for the reply, but i thought one should give ''dos commands'' (in case of windows) to get the desired output, say for creating dir--- mkdir [dir name] deleting dir--- rmdir [dir name] and so on.. waiting for ur reply. bye :)K . S R I K U M A R

Re: websphere script install problem

2006-01-02 Thread Andrew Goktepe
This is a WebSphere problem, not an ANT problem. I do have a suggestion, though. Expand the war file and take a look at the ibm-web-bnd.xmi deployment descriptor. The tag should have a 'virtualHostName' attribute, which should probably have a value of 'default_host'. If this does not help you wi

websphere script install problem

2006-01-02 Thread Alan Andrade
Can somebody help debug this error Log [echo] Install the EAR... [echo] Exec: d:/was/bin/wsadmin.bat [echo] Command: wsadmin -f jacl-file server-name node-name cell-name app-name was-home re-config [echo] jacl-file: epspal.jacl [echo] server-name: server1 [echo]

Using Filterchains in place of a temporary file

2006-01-02 Thread Scott Sauyet
I'm wondering if I can use Filterchains in place of a temporary file. I don't have my head quite wrapped around filterchains, I guess, and I don't know if what I'm trying to do even makes sense, never mind whether it's possible. I have an application property file that is partly static, partl

RE: Can't use FOR Task from contrib while FOREACH works fine !?

2006-01-02 Thread Rebhan, Gilbert
Hi, i believe it's cause you're using the antcontrib.properties, which was the old way for mapping the taskdefs to the corresponding classes. by default the antcontrib.properties looks like = ... # Tasks Requiring Ant 1.6 or higher #for=net.sf.antcontrib.logic.For math=net.sf.antcontrib.math.Ma

Re: Can't use FOR Task from contrib while FOREACH works fine !?

2006-01-02 Thread Frederic Chalons
Hi, Sorry, I forget to precise that I was using the beta version 1.0b2. Actually, it is working fine with the version 0.6 . Regards, Frederic Frederic Chalons wrote: Hi, I would like to use "for task" from the contrib (currently under Windows) I quite confused since I am able to invoked the

Can't use FOR Task from contrib while FOREACH works fine !?

2006-01-02 Thread Frederic Chalons
Hi, I would like to use "for task" from the contrib (currently under Windows) I quite confused since I am able to invoked the foreach task (target "run-each") with no problem. However the target "run" fails and is a copy/paste of the first exampe at: http://ant-contrib.sourceforge.net/tasks/

Re: Using the bootclasspath

2006-01-02 Thread Bill Winspur
Thanks for the input Roger. As you indicated, I ran outside ant and solved the problem I had, but I still need to be able to run my debug classes under ant. I'll experiment with ANT_OPTS and will post back here. Rainer Noack wrote: Hi Bill, Typically one will set the bootclasspath via the ex

Re: Using the bootclasspath

2006-01-02 Thread Bill Winspur
Thanks for the pointer stephan, I'll continue to experiment and post my results back here. Stefan Bodewig wrote: On Tue, 27 Dec 2005, Bill Winspur <[EMAIL PROTECTED]> wrote: bootclasspath ignored since build.sysclasspath has been set. You can find information about build.sysclasspa

RE: Novice with ANT- Can't delete a dir

2006-01-02 Thread pritesh.saharey
Sir it is Wishes Pritesh -Original Message- From: K.Srikumar [mailto:[EMAIL PROTECTED] Sent: Monday, January 02, 2006 4:53 PM To: Ant Users List Subject: Novice with ANT- Can't delete a dir hai, I just started working with ANT ==

Novice with ANT- Can't delete a dir

2006-01-02 Thread K.Srikumar
hai, I just started working with ANT == = The pink text is the problem maker.. The directory creation is working fine, but the second target of deletion isnt wo

Re: can't compile package

2006-01-02 Thread panji
wah ternyata memang ant gak bisa detect di src. kalo saya ganti : dengan : ternyata bisa tuh. nggak tau konfigurasi apa yang salah. Sepertinya ant detect lokasi di path di atasnya. thanks. M V Vinod Babu wrote: Hi.. Just try by amending ur task ni this format Cheers Vino

calling ant API from java instead of using build.xml from console

2006-01-02 Thread Dieter Frej
Hi, I would like to call ant (1.6.5) from java (1.5.0_04-b05), but I am a little puzzled with all createXYZ, addXYZ, init, and execute methods and in which order they should be called. I wrote it the following way: Project project = new Project(); XmlLogger xlog = new XmlLogger(); project.add