Re: Problem with OUTOFDATE (ant-contrib) task

2008-04-07 Thread Ken Turner
Dominique > You're not saying what you do if the two dirs differ. I wish to build and deploy the module, which simply involves making a call to another build.xml file which is included in the structure; if the two dirs are the same, I wish to do nothing. In plain English the problem could be s

Re: How to insert properties into a file?

2008-04-07 Thread David Weintraub
Take a look at the FilterSet type: . This will do exactly what you're looking for. Default begin and end tokens are "@", but you might be able to use "${" and "}" for mapping. On Mon, Apr 7, 2008 at 7:25 PM, coltsith <[EMAIL PROTECTED]> wrote

Re: How to insert properties into a file?

2008-04-07 Thread Douglas Bullard
Use the "replace" task, it does exactly that. Here's an example from one of my macrodefs: [EMAIL PROTECTED]" summary="yes" casesensitive="@{casesensitive}"/> @{target} is the target directory to replace @{includes} is the pattern set to match (typically, you do not want to include binaries

How to insert properties into a file?

2008-04-07 Thread coltsith
Hi, I have a file of string properties and I need to be able to insert ant properties into it where referenced. So, for example: # text.file # app.version=${version} app.name=${name} app.author=John Doe # props.file # version=4 name=My Application I need a task

PHPUnit testing

2008-04-07 Thread mindspin311
I want to do some phpunit testing using I can't do this if I'm not gonna know the names of the files to test. All I know is that they end with *Test.php where * can be whatever.. I just want to be able to generate a string of all of these files in the current and all subdirectories. Something l

RE: Suppress javac warning

2008-04-07 Thread Toomey, Kevin H (ATS, IT)
What version of Ant/Java are you using? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 11:28 AM To: user@ant.apache.org Subject: RE: Suppress javac warning Hi Kevin, Thanks for the reply and you got my question right. However,

Re: Problem with OUTOFDATE (ant-contrib) task

2008-04-07 Thread Dominique Devienne
On Mon, Apr 7, 2008 at 8:47 AM, Ken Turner <[EMAIL PROTECTED]> wrote: > My problem is very simple: I have two parallel directory structures, 'Old' > and 'New', which contain a variety of files and subdirectories. Normally > the contents are identical, but I want to know whether any file has be

RE: Suppress javac warning

2008-04-07 Thread Sumit.Srivastava
Hi Kevin, Thanks for the reply and you got my question right. However, setting the nowarn attribute to "on"/"yes"/"true" does not help. I still see all the warning and deprecated messages. This is how I'm setting it : Is there anything

Problem with OUTOFDATE (ant-contrib) task

2008-04-07 Thread Ken Turner
My problem is very simple: I have two parallel directory structures, 'Old' and 'New', which contain a variety of files and subdirectories. Normally the contents are identical, but I want to know whether any file has been updated. OUTOFDATE seems to be the perfect solution, but I can't seem to g

RE: Suppress javac warning

2008-04-07 Thread Toomey, Kevin H (ATS, IT)
Hi Sumit, Maybe I'm misunderstanding your question, but if you take a look in the manual you'll see the javac task has attributes (nowarn, deprecation) that you can set to true/false to control whether you see those messages. Thanks, Kevin From: [EMAIL PROTECT