javac exclude and include

2006-09-15 Thread Juan Elvira
I have the next task in my ant file: target depends=init name=javacompileGS javac bootclasspathref=project.class.path debug=false deprecation=false srcdir=${src} destdir=${dest} excludes=arrayhub/affymetrix/**,arrayhub/gui/**,arrayhub/mage/**

CVS/ SVN Modified file selector

2006-09-15 Thread Prashant
Hello All: Does anyone know if there is there a fileset selector that can select a CVS /SVN Modified files ? I would like to select all CVS modified files from a directory, and back them up or whatever. Thanks -Prashant

Re: javac exclude and include

2006-09-15 Thread Dominique Devienne
target depends=init name=javacompileGS javac bootclasspathref=project.class.path Are you sure you want to use bootclasspathref? You shouldn't use it simply to specify the project's classpath... This is intended for cross-JDK compilation only AFAIK. debug=false deprecation=false

RE: Antcall task and inheriting Filters

2006-09-15 Thread Hussein Badakhchani
Thanks, Sorry about the slow response, I'll give this a shot. Cheers, Hoos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 September 2006 12:37 To: user@ant.apache.org Subject: AW: Antcall task and inheriting Filters Have you tried to give the filters IDs

regexp recognition over a group of files

2006-09-15 Thread Michael Sorens
I am looking to do a task that is simple with the unix find command, but I cannot quite seem to grok all the pieces in ant to do it: I want to generate a list of files where the contents of each file contain--or do not contain, at my option--a particular string matching a regular expression. I

Re: regexp recognition over a group of files

2006-09-15 Thread Matt Benson
In Ant 1.6.5: property name=re.example value=foo +.* +bar / pathconvert property=matched path fileset dir=lookhere containsregexp expression=${re.example} / /fileset /path /pathconvert echo$${matched}=${matched} In Ant 1.7 (please test our betas) you can simplify the

Re: CVS/ SVN Modified file selector

2006-09-15 Thread Antoine Levy-Lambert
Hello, I do not know such a selector out of the box. There is a svn antlib, but I do not know if it contains this. Using the svn status command, should be possible to write that. The selector idea is good in principle, what will be difficult will be to implement it in an efficient way.

Ant does not read -D properties same way as Java

2006-09-15 Thread Vladimir Egorov
Hi Ant Users, I have the following trivial build.xml. project name=test echo message=param is ${param}/ /project I am trying to pass foo=bar as param value ant -Dparam=foo=bar Unexpectedly, I get: Buildfile: build.xml [echo] param is foo BUILD FAILED Target `bar' does not

negating a patternset within a fileset

2006-09-15 Thread Greg Taylor
Hello, I want to use a patternset to tell a jar task which files to include in a jar. Easy enough, but I want to EXclude those same files from another jar while building the jar from other files in the same directory. So, essentially, I want to negate the patternset in the fileset for the

Re: Ant does not read -D properties same way as Java

2006-09-15 Thread David Jones
Vladimir, As per the Ant manual: -Dproperty=value use value for given property In your case you would want -Dfoo=bar Please try that and see if it works. I expect that it should. -Dave On 9/15/06, Vladimir Egorov [EMAIL PROTECTED] wrote: Hi Ant Users, I have the following trivial

Re: negating a patternset within a fileset

2006-09-15 Thread Dominique Devienne
I want to use a patternset to tell a jar task which files to include in a jar. Easy enough, but I want to EXclude those same files from another jar while building the jar from other files in the same directory. So, essentially, I want to negate the patternset in the fileset for the second jar

RE: Ant does not read -D properties same way as Java

2006-09-15 Thread Stephen McConnell
-Original Message- From: David Jones [mailto:[EMAIL PROTECTED] Sent: Saturday, 16 September 2006 6:56 AM To: Ant Users List Subject: Re: Ant does not read -D properties same way as Java Vladimir, As per the Ant manual: -Dproperty=value use value for given property In

Re: Ant does not read -D properties same way as Java

2006-09-15 Thread Alexey N. Solofnenko
Please file a bug. I think the current logic was created to work around problems on some weird platforms (VMS?) and it does not work reasonable on normal systems. - Alexey. Vladimir Egorov wrote: Hi Ant Users, I have the following trivial build.xml. project name=test echo

RE: negating a patternset within a fileset

2006-09-15 Thread Greg Taylor
The filename selector would work, but this is a generic build file used by multiple projects and the patternset is project-specific. Good suggestion, though. I will stick with the in/excludesfile(s). Thanks anyways! -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]

Problem in using ANT for VSS

2006-09-15 Thread priyabrata . hota
Hello, While trying to run the vssget target, ANT just hangs as follows: C:\Java\ANTant -f vss_build.xml VSSTest Buildfile: vss_build.xml VSSTest: [echo] [echo] Hello I am inside VSSTest target!! [vssget] Username: priyo (1) I am trying to run the following target: