Re: How to?: add target dependencies

2005-02-11 Thread Alan Gutierrez
* Mark Lundquist <[EMAIL PROTECTED]> [2005-02-11 12:47]: > > On Feb 10, 2005, at 11:41 AM, Matt Benson wrote: > > >Looks like your main question is how to accumulate, > >then iterate, over these modules. > > Pretty much, except for two things: > > 1) Stylistically, I'd prefer to that the iterat

Class org.apache.tools.ant.types.PatternSet$NameEntry doesn't support the "value" attribute.

2005-02-11 Thread Travis Cripps
Hi. I've got a strange error in my build script, and I've been unable to find references to the error code in extensive searches on the internet. I've been poring over the build script for almost 2 days, but I must be blind or something, as I can't see where the problem would be. I have

RE: Parsing file. It works but...

2005-02-11 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > --- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > > > That's a bit better. > > > > Is there a better way to iterate the lines in the > > file? The task > > docs say any type that has a public iterator() can > > be used. Is there > > such a type for f

RE: Parsing file. It works but...

2005-02-11 Thread Matt Benson
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: > That's a bit better. > > Is there a better way to iterate the lines in the > file? The task > docs say any type that has a public iterator() can > be used. Is there > such a type for file iteration? There is now. HTH, Matt __

RE: Parsing file. It works but...

2005-02-11 Thread Dick, Brian E.
That's a bit better. Is there a better way to iterate the lines in the file? The task docs say any type that has a public iterator() can be used. Is there such a type for file iteration? -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 4:09

Re: Parsing file. It works but...

2005-02-11 Thread Matt Benson
--- "Dick, Brian E." <[EMAIL PROTECTED]> wrote: [SNIP] > I need to parse the file and send the two values in > each line to another > program. When there is only one value on the line, I > have to send the > value twice. Here's the target I wrote to parse the > file. I looks pretty > ugly. Can any

Re: Parsing file. It works but...

2005-02-11 Thread Mark Lundquist
On Feb 11, 2005, at 12:49 PM, I wrote: Yeah, I can simplify it to one line of shell: sed -e 's/^\([^ ]*\)$/\1 \1/' < the-file | another-program D'oh, I just realized you might be on Winblows... I guess if I were on raw Winblows (i.e. not using Cygwin)... then I guess I would write a Perl script.

Re: Parsing file. It works but...

2005-02-11 Thread Mark Lundquist
On Feb 11, 2005, at 12:24 PM, Dick, Brian E. wrote: ...there has to be a better way to do this. I have a file that contains lines like the following. src1 trg1 src2 src3 trg3 I need to parse the file and send the two values in each line to another program. When there is only one value on the line,

inheritRefs only handles one level - bug or luser error?

2005-02-11 Thread Scott Dunbar
Before I open a bug can someone check what I have attached to see if there is some obvious problem? The basic issue is that I have an ant file that calls an ant file that calls an ant file. In the first and second ant files there is no problem passing a path reference down. However, the third fil

Parsing file. It works but...

2005-02-11 Thread Dick, Brian E.
...there has to be a better way to do this. I have a file that contains lines like the following. src1 trg1 src2 src3 trg3 I need to parse the file and send the two values in each line to another program. When there is only one value on the line, I have to send the value twice. Here's the target

Re: AW: AW: problem with javadoc

2005-02-11 Thread Darin Swanson
The JRE/JDK used for an Ant build in Eclipse is specified on the JRE tab of the Ant launch configuration. It uses the default install as specified in the installed JREs preference page (or the project specific JRE settings if different from the global preference). You can set the build to occ

Re: AW: AW: problem with javadoc

2005-02-11 Thread James Abley
On Fri, 2005-02-11 at 12:58, [EMAIL PROTECTED] wrote: > AFAIK Eclipse starts with the Java where JAVA_HOME points to, > if you dont provide another one via -vm option. > > Jan > If you look in Window | Preferences, under the Java option there should be an "Installed JREs" entry. You can check wh

ClearCase tasks dont compile in latest CVS snapshot

2005-02-11 Thread Kevin Duffey
Hi all, First time poster, long time reader ;) In my present company we have a need to integrate a special clearcase promotion system within our continual integration (using CruiseControl). The present clearcase ant tasks dont support rebase or change baseline. I added those. Basically copied on

Re: How to?: add target dependencies

2005-02-11 Thread Mark Lundquist
On Feb 10, 2005, at 12:01 PM, Dominique Devienne wrote: (b) create a task for each module (e.g., "modules:killer-app") that calls in the module subdirectory and also does some other stuff; You mean create a target, right!? yes, which I was thinking is "create a task" in the same sense that is sa

RE: capturing build output in Visual Studio .NET - enabling warning/error double clicking

2005-02-11 Thread Jeff Shanholtz
Thanks! -emacs works great. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 12:20 AM To: user@ant.apache.org Subject: Re: capturing build output in Visual Studio .NET - enabling warning/error double clicking On Thu, 10 Feb 2005, Jeff Sha

Re: How to?: add target dependencies

2005-02-11 Thread Matt Benson
--- Mark Lundquist <[EMAIL PROTECTED]> wrote: > > list="${modules:modules}" > target="modules.build-module" > param="name" > /> > I don't know what version of an

Re: How to?: add target dependencies

2005-02-11 Thread Mark Lundquist
On Feb 10, 2005, at 11:41 AM, Matt Benson wrote: Looks like your main question is how to accumulate, then iterate, over these modules. Pretty much, except for two things: 1) Stylistically, I'd prefer to that the iteration be implicit rather than explicit, i.e. a declarative style... 2) I'd like t

RE: from fileset to property

2005-02-11 Thread Marion, Patrick
perfect. thanks! P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 11:34 PM To: user@ant.apache.org Subject: AW: from fileset to property or for more control about the delimiters Jan > -Ursprüngliche Nachricht- > V

AW: AW: problem with javadoc

2005-02-11 Thread Jan . Materne
AFAIK Eclipse starts with the Java where JAVA_HOME points to, if you dont provide another one via -vm option. Jan > -Ursprüngliche Nachricht- > Von: Alvaro Andrés Montañez [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 11. Februar 2005 13:38 > An: Ant Users List > Betreff: Re: AW: prob

Re: AW: problem with javadoc

2005-02-11 Thread Alvaro Andrés Montañez
Thanks for your answer, i´m using eclipse, can you tell me please where may i see if i have JRE instead of a jdk I was looking about this problem in the web, and maybe the problem it´s with eclipsei have to make a relation between javadoc and eclipse, but i haven´t found it . Thanks again

Re: capturing build output in Visual Studio .NET - enabling warning/error double clicking

2005-02-11 Thread Stefan Bodewig
On Thu, 10 Feb 2005, Jeff Shanholtz <[EMAIL PROTECTED]> wrote: > Is there any way I can suppress the "[exec]" part offers a few options. Stefan - To unsubscribe, e-mail: [EMAIL PROTEC

RE: capturing build output in Visual Studio .NET - enabling warning/error double clicking

2005-02-11 Thread sten.rosendahl
There is a Visual Studio logger in MSBuild, but I'm not sure that logger is open source. Sten Rosendahl > -Original Message- > From: Jeff Shanholtz [mailto:[EMAIL PROTECTED] > Sent: Friday, February 11, 2005 1:28 AM > To: user@ant.apache.org > Subject: capturing build output in Visual St