RE: Problems with exec task

2006-01-30 Thread Ken Gentle
*THIS* is the magic to which I was referring... getting .vbs associated with cscript.exe. I'm glad someone responded - I tried retracing my steps and didn't get very far. K At 15:10 2006-01-30, Dick, Brian E. wrote: Actually, wscript.exe is usually associated with Windows scripting

Re: Problems with exec task

2006-01-29 Thread Ken Gentle
Rhino, this is a shot in the dark, but I recently went through a rather painful rebuild of my wife's XP box and in the process wanted to run some script from Microsoft to help edit acls. The knowledgebase article had me register a different "script runner" for lack of a better term so that I c

Re: Expanding properties

2006-01-27 Thread Ken Gentle
Untried: HTH... Ken At 06:29 2006-01-27, you wrote: Hi Say I have a file, called contents.txt, which contains the text: contents.txt: The value is ${something} And I have a property file values.properties which reads values.propeties: something=somev

Re: Copy a directory list

2006-01-23 Thread Ken Gentle
y way towards that point if it is at all necessary. --- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] On Sunday 22 January 2006 12:50 am, Ken Gentle wrote: > At 15:57 2006-01-21, you wrote: > > > Her

Re: Copy a directory list

2006-01-21 Thread Ken Gentle
At 15:57 2006-01-21, you wrote: > Here is the error: the includes attribute should contain patterns > matching the file names you want copied. > The patterns only match the directories. > Try: includes="**/*.jar"" Tommy, I know where the error is my real problem is the property friv

Re: error msg for incorrect jar/basedir value

2006-01-16 Thread Ken Gentle
At 16:30 2006-01-16, you wrote: I have a copy of DirectoryScanner. I do not see any calls to trim in that code. I will prepare a patch that quotes the directory name in question. This might help others that get the error. I do know think it would be safe to modify the file name, I would not wa

Re: error msg for incorrect jar/basedir value

2006-01-16 Thread Ken Gentle
It sounds like either Ant Core or Java is performing a "trim" in one path of execution that is not being performed on the other. (On a second read, sounds like java.io.File is ignoring the trailing blank while DirectoryScanner thinks it is significant). I don't have this source in front of me

Re: delete task in Ant

2006-01-06 Thread Ken Gentle
files add defaultexcludes="false" into element (see http://ant.apache.org/manual/CoreTypes/fileset.html ). Default excludes list: http://ant.apache.org/manual/dirtasks.html#defaultexcludes . - Alexey. Ken Gentle wrote: The leading "." in the filenames (".#Test.log.1.23

Re: delete task in Ant

2006-01-06 Thread Ken Gentle
The leading "." in the filenames (".#Test.log.1.23") is what is preventing this pattern from matching. That looks vaguely like an editor backup file or diff/merge tool backup file pattern. If you're trying to delete files that are named more conventionally (Test.log.1.23), you'll probably nee

Re: How to detect missing jars in a ?

2005-12-15 Thread Ken Gentle
I *knew* there was a solution to this problem (as I'd used it several years ago to demonstrate to an unbelieving group that application classpath was full of junk) - and it only took me two hours to find it again... JWhich, by Mike Clark, has a mode to validate classpaths: To validate the clas

Re: Me Too! Re: Ant and CCC-harvest

2004-12-15 Thread Ken Gentle
ant to someone experienced with CVS, VSS, PVCS or other SCM systems) If someone else has wrapped those tasks or written the stuff to invoke it, why re-invent the wheel? - Alexey. Ken Gentle wrote: I too am currently having CCC Harvest inflicted on me. Ant tasks or an example of using Ant to wo

Me Too! Re: Ant and CCC-harvest

2004-12-15 Thread Ken Gentle
I too am currently having CCC Harvest inflicted on me. Ant tasks or an example of using Ant to work with Harvest would be greatly appreciated! Ken At 10:06 2004-12-13, you wrote: Hi, I was wondering if someone is working with ant and ccc_harvest ( a version control system ). are there an

ONE SOLUTION: Convert Bash Script to equivalent Ant tasks?

2003-09-09 Thread Ken Gentle
Nasty regexp, but here's my solution: At 04:24 PM 9/9/2003, you wrote: Does anyone have any suggestions for converting the following bash script to an equivalent set of ANT Targets? The basic idea is to take a path of the form ./QA/

Convert Bash Script to equivalent Ant tasks?

2003-09-09 Thread Ken Gentle
Does anyone have any suggestions for converting the following bash script to an equivalent set of ANT Targets? The basic idea is to take a path of the form ./QA/3.04.10-01/dist/Scripts/zz-Post-Install.sql and turn it into ./PROD/3.04.10/dist/Scripts/01-zz-Post-Install.sql I'm heading down t