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\ANT>ant -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:

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]

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. I am trying to pass "foo=bar"

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: > > -D= use value for given property > > In

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 fi

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

2006-09-15 Thread David Jones
Vladimir, As per the Ant manual: -D= 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 build.xml.

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 second

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. 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 exist in this project. The same happens if I try to p

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. Meaning

Re: regexp recognition over a group of files

2006-09-15 Thread Matt Benson
In Ant 1.6.5: $${matched}=${matched} In Ant 1.7 (please test our betas) you can simplify the pathconvert/echo: -i.e., pathconvert w/o a property sends result to the log; note also that the fileset can be specified directly rather than having to be nested

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 w

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

Re: javac exclude and include

2006-09-15 Thread Dominique Devienne
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" srcdir="${src}" destdir="${dest}" excludes="arrayhub/affymet

CVS/ SVN Modified file selector

2006-09-15 Thread Prashant
Hello All: Does anyone know if there is there a 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 - To un

javac exclude and include

2006-09-15 Thread Juan Elvira
I have the next task in my ant file: however the exclude packages are included in the compilation. What I'm making wrong?! - To unsub