Testing a file if it is binary or not.

2007-08-20 Thread Ditrick, Gregory
This may not be for this forum, but I'm moving a PVCS repository to a CVS repository. I'm using ant to do this with cvs and pvcs tasks. I have to test a if a file is binary or not before adding it to CVS, but I have to do this on a Windows box. It is easy on Unix (file | grep...) or using or .

RE: for task with inline exec?

2007-08-20 Thread Ditrick, Gregory
- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 1:25 PM To: Ant Users List Subject: RE: for task with inline exec? --- "Ditrick, Gregory" <[EMAIL PROTECTED]> wrote: > Not a bad idea to use , if you are > not doing cross > platform stuff. &

RE: for task with inline exec?

2007-08-20 Thread Ditrick, Gregory
2:02 PM To: Ant Users List Subject: Re: for task with inline exec? Even with cygwin, there are big issues with using bash on windows. The main issue is the **!!?%%££€€$$!!!*! backslashes characters for directories. Peter On 8/20/07, Ditrick, Gregory <[EMAIL PROTECTED]> wrote: > Not a bad

RE: for task with inline exec?

2007-08-20 Thread Ditrick, Gregory
Not a bad idea to use , if you are not doing cross platform stuff. The use of a lot of this type of thing, , can make the ant script platform dependent or you will require additional products like Cygwin for Windows. Using redirectors can make this type of thing platform independent. But, I've fou

RE: Calling a String

2007-07-19 Thread Ditrick, Gregory
It looks like you need to look into antcontrib. http://ant-contrib.sourceforge.net/ The tasks propertycopy, propertyregex and propertyselector. I may be wrong about what you are trying to do, but I have found that ant with antcontrib and antXtra is the way to go. It makes ant more of a shell la

Logging and Listeners

2007-06-05 Thread Ditrick, Gregory
Hi all, Is there a task or ant option that can cause a flushing of I/O buffers using log4j frame work? I have tried using jware/antx emit logging but its documentation is very hard to follow for me. For performance issues, log4j with buffering I/O is the best solution; however, the huge trade-of

RE: calling a DB2 request.

2007-04-09 Thread Ditrick, Gregory
Actually, it looks like you'll need combinations of the two(2). I'd do this: You may have to break it apart more than that. Try what you might think makes sense. GregD 6-8309 -Original Message----- From: Ditrick, Gregory Sent: Monday, April 09, 2007 2:36 PM To: Ant

RE: calling a DB2 request.

2007-04-09 Thread Ditrick, Gregory
Dwayne, Change this line: To this: The will put quotes around the arg to treat it as 1 argument instead of individual args. Or Use multiple for each of your arguments. I hope this helps. Later, GregD 6-8309 -Original Message- From: Dwayne Walker [mailto:[EMAIL PROTECTED]

RE: Concatenating a string to a property

2007-03-16 Thread Ditrick, Gregory
Mike, I use antcontrib tasks to do this. The tasks , and are very useful to do this. http://ant-contrib.sourceforge.net/ Put it in it own namespace. I generally do this: .. .. Hope this helps. GregD 859-386-8309 -Original Message- From: Mike Stewart [mailto:

Help w/ Jware AntX and tasks

2007-03-07 Thread Ditrick, Gregory
Hi, Anyone out there using and tasks from jware's AntX with Log4j framework. Their User Guide examples don't really show how those link to the Log4j framework. AntX extension library and its feedback tasks like , and looks like a great way of distributing build information/content to multipl