Re: Creating two same-type subelements with different names

2005-07-26 Thread Dave Brosius
ah! ok. i thought the method name and type had to match. - Original Message - From: "Conor MacNeill" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, July 26, 2005 8:42 PM Subject: Re: Creating two same-type subelements with different names Dave Brosius wrote: sorry, i re

Re: Creating two same-type subelements with different names

2005-07-26 Thread Conor MacNeill
Dave Brosius wrote: > sorry, i realized i posted this under a copied message subject, which > made no sense. > so here goes again. > > Howdy, I have my own task that requires two FileSet sub-elements. In order > to differentiate them from a naming point of view, i have created my own > tasks

Creating two same-type subelements with different names

2005-07-26 Thread Dave Brosius
sorry, i realized i posted this under a copied message subject, which made no sense. so here goes again. Howdy, I have my own task that requires two FileSet sub-elements. In order to differentiate them from a naming point of view, i have created my own tasks that are empty subclasses of File

Outputproperty in sshexec

2005-07-26 Thread Jacob, Anil - MWL
I have an ssh task which executes a remote start command and I am trying to get the exit status using outputproperty. However I notice that the outputproperty value is not being set. Any Idea's? here is a part of my build. --- ${step4.out} is not being set at all. The ssh task executes

Re: wait for background thread

2005-07-26 Thread Conor MacNeill
Patrick Martin wrote: > Hi, > > The idea is actually to do that entirely in java. It's for a task I > want to share, so I'd like to avoid asking users to call a waitfor... > > Basically, I'd like to see how to make the forget task work in > non-daemon mode (ie, ant should not terminate until the

RE: Zipfileset problem. Help!

2005-07-26 Thread S I
OK haven't got any response or help but I did discover that the 'filesonly' attribute of Ant's task basically is DECORATIVE AND ORNAMENTAL and servers NO purpose whatsoever! Maybe I'm using it wrong. However, I have set its value to 'yes', 'true', 'right', and 'whathaveyou' and ANT does not co

Re: Is it possible to print the DAG created internally by Ant ????

2005-07-26 Thread Ivan Ivanov
--- Ivan Ivanov <[EMAIL PROTECTED]> wrote: > > Ant manages the target dependencies by using > topological sorting of targets. And yes, I forgot to mention that when Ant is run in verbose mode it prints the build sequence and complete build sequence. These are the two sequences for one my build

Re: Zipfileset problem. Help!

2005-07-26 Thread Juergen Hermann
On Tue, 26 Jul 2005 13:09:30 -0700, S I wrote: >to be included in the final zip file. I want the .rdl files to sit at the >root of the zip file w/o exporting their subfolder names. But I'm not >successful. This is the way I have written the Ant script now: if nothing else works, the files t

Re: Is it possible to print the DAG created internally by Ant ????

2005-07-26 Thread Ivan Ivanov
Hello, almost all contemporary Ant users :)) know about Grand tool which is described in [1] and its home page is [2]. I have used Grand tool several times before, because it only draws the build graph but it also visualizes the and usages and thus it allowed me to identify the s and replace th

Is it possible to print the DAG created internally by Ant ????

2005-07-26 Thread hiren patel
Hi, almost all contemporary build tools analyze the dependencies on their own and generated the directed acyclic graph. is it possibile to print that one on output ? it can be useful in analyzing dependancies. -hiren patel - Start your d

Zipfileset problem. Help!

2005-07-26 Thread S I
Hi I'm trying to create a zip file of a parent folder with many subfolders with many different file types in each subfolder. However, I'm only interested in the *.rdl files in each subfolder and one subdir under the parent folder to be included in the final zip file. I want the .rdl files to

Re: wait for background thread

2005-07-26 Thread Patrick Martin
Hi, The idea is actually to do that entirely in java. It's for a task I want to share, so I'd like to avoid asking users to call a waitfor... Basically, I'd like to see how to make the forget task work in non-daemon mode (ie, ant should not terminate until the background thread finishes). The ta

RE: silently

2005-07-26 Thread Jay Burgess
Thanks for the idea. It sounds promising. Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 11:24 AM To: user@ant.apache.org Subject: AW: silently Just my few cents: Define the "check" logic in a . - if the check passes, set a prop

AW: silently

2005-07-26 Thread Jan.Materne
Just my few cents: Define the "check" logic in a . - if the check passes, set a property - property name is provided as Define three new check-targets: ProductA.check, ProductB.check, ProductC.check - contains the call to that macrodef providing different property-names The ProductX-targets depe

silently

2005-07-26 Thread Jay Burgess
I've got a script that contains a number of build commands for various products e.g. ant check build ProductA ant check build ProductB ant check build ProductC What I want to do is run "check" for each product, and if a product is not valid for this run, exit that specific Ant invocation quietly

AW: wait for background thread

2005-07-26 Thread Jan.Materne
I would use a file as semaphore: - the background thread creates a file as last instruction - Ant uses for synchronizing Jan >-Ursprüngliche Nachricht- >Von: Patrick Martin [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 26. Juli 2005 18:08 >An: user@ant.apache.org >Betreff: wait for ba

wait for background thread

2005-07-26 Thread Patrick Martin
Hello, Writing an task, I want to run some stuff in a background thread, and I need ant to wait until the background thread is done before exiting. I thought I would take example on the ant-contrib forget task, but it seems that ant will exit even if the background thread is not finished:

Re: javac compilation speed

2005-07-26 Thread Conor MacNeill
Jonathan Baccash wrote: > I have read that ant does not do dependency checking to see if targets > are up to date. But I have also read that compilation of java files > is faster with ant. How is this possible? Does ant use javac compile > flags to do dependency checking automatically? Or is th

AW: javac compilation speed

2005-07-26 Thread Jan.Materne
ANT does no dependency checks, but does :-) The dep-checks are things the tasks should do. But because Ant cant know what the task will create, it cant do the dep-check. Think about code generators ... Jan >-Ursprüngliche Nachricht- >Von: Jonathan Baccash [mailto:[EMAIL PROTECTED] >Ge

Re: javac compilation speed

2005-07-26 Thread Petar Tahchiev
On 7/25/05, Jonathan Baccash <[EMAIL PROTECTED]> wrote: > > I have read that ant does not do dependency checking to see if targets > are up to date. But I have also read that compilation of java files > is faster with ant. How is this possible? Does ant use javac compile > flags to do dependency c

javac compilation speed

2005-07-26 Thread Jonathan Baccash
I have read that ant does not do dependency checking to see if targets are up to date. But I have also read that compilation of java files is faster with ant. How is this possible? Does ant use javac compile flags to do dependency checking automatically? Or is there something else going on? Th

Re: yet another problem with windows and '\'

2005-07-26 Thread Juergen Hermann
On Tue, 26 Jul 2005 11:51:11 +0200, Rebhan, Gilbert wrote: >Oops :-( >behaviour as in java when \ has to be masked as \\ >*** What's the reason for that ? *** That is normal behaviour for all property files. If you used echoproperties istead of echo, then this wozld've been no problem, since

AW: Runing subant depending on the sub projects names.

2005-07-26 Thread Jan.Materne
Simple selectors or name pattern. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 26. Juli 2005 11:25 >An: user@ant.apache.org >Betreff: RE: Runing subant depending on the sub projects names. > > >hmm i am using subant files

yet another problem with windows and '\'

2005-07-26 Thread Rebhan, Gilbert
Hi, if someone else runs into that ... i just had another unpleasant experience with windows pathdelimiter ' \ ' in ant (usually i always write / instead of \ , but in that special case) I've set a property via antcontrib / timestampselector and wrote it to a file to use it in another antscrip

RE: Runing subant depending on the sub projects names.: or selectors

2005-07-26 Thread hind.lwahhabi
hmm or selector in a fileset.But i don't find it very elegant. Any other ideas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 7/26/2005 11:01 AM To: user@ant.apache.org Subject: AW: Runing subant depending on the sub projects names. Can´t you specify su

RE: Runing subant depending on the sub projects names.

2005-07-26 Thread hind.lwahhabi
hmm i am using subant filesets for the moment to run ALL the build.xml under the root directory. Do u mean using filesets with regular expressions for example? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 7/26/2005 11:01 AM To: user@ant.apache.org Subjec

Re: Performance difference between 1.6.1 and 1.6.4 (in eclipse)

2005-07-26 Thread Pollähne . Ullrich
Hi, I did not follow the list thoroughly. Are there any news on the subject? Ullrich. > -Original Message- > From: Kev Jackson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 28, 2005 5:18 AM > To: Ant Developers List > Cc: 'Ant Users List' > Subject: [[**SPAM**]] - Re: Performance diffe

AW: Runing subant depending on the sub projects names.

2005-07-26 Thread Jan.Materne
Can´t you specify subants fileset according to your needs? Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 26. Juli 2005 10:54 >An: user@ant.apache.org >Betreff: Runing subant depending on the sub projects names. > > >Hello folks; >I

Runing subant depending on the sub projects names.

2005-07-26 Thread hind.lwahhabi
Hello folks; Is there an elegant way to call on subprojects, using the name of each subproject? I mean from the root build file, execute subprojects build files of subproject A, B,C but not D,E,F for instance. For the moment i am using a tortuous way to do so: In the root build file->macrodef