RE: Regarding Continous build integration.

2006-02-17 Thread Srikrishna_Parthasarathy
Do I need to register to send emails to this mailing list.? Thanks srikrishna -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 5:55 PM To: Ant Users List Subject: Re: Regarding Continous build integration. I believe you have sent this email t

Re: Regarding Continous build integration.

2006-02-17 Thread Ninju Bohra
I believe you have sent this email to the wrong mailing list...this the ANT user's mailing. Your question is more directed to the CruiseControl user list ([EMAIL PROTECTED]) Try again, Ninju - Original Message From: [EMAIL PROTECTED] To: user@ant.apache.org Sent: Friday, Febr

RE: Regarding Continous build integration.

2006-02-17 Thread Srikrishna_Parthasarathy
I have multiple projects for which I want to use cruisecontrol to do builds. What is the best way to configure this.? I have c:\cvssource Checkout/project1 Checkout/project2 Log/project1 Log/project2

Re: Can these targets be combined?

2006-02-17 Thread Ninju Bohra
Nope...the way you have it written the "standard" ANT way of doing it... now if you want to introduce some behavior defined in the ant-contrib project, particularly the task then you can write it as: - Original Message From:

Can these targets be combined?

2006-02-17 Thread Ian Pilcher
I need to execute a single task if a file exists. Here's what I've been able to glean from the Ant manual (which desperately needs an index, BTW): Is there a way to combine these two targets into one? Thanks! -- ==

Trying to escape quote character in define argument for cpptasks

2006-02-17 Thread Ben Pracht
I'm trying to pass in a macro define to the command line to define the level of code being used. Something like gcc -o objname.o source.c -DFIXLVL=\"FEB 17 2006\" the code does something like: static const char mszFixLvl[] = " " __FILE__ " at " FIXLVL " on " __DATE__ " at " __TIME__ " "; so

RE: Regarding Continous build integration.

2006-02-17 Thread Ferrer, Eric
This topic brings up an interesting issue I am having and maybe the community has the answer. I have a local build for tomcat and our development environment (properties files are the same, information to connect to our databases the same). However, the problem lies with deploying to JBOSS our QA

RE: Regarding Continous build integration.

2006-02-17 Thread Srikrishna_Parthasarathy
I need to build for multiple projects. Can you share the cruisecontrol.war file. Thanks srikrishna -Original Message- From: Joe Schmetzer [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 12:23 PM To: Ant Users List Cc: user@ant.apache.org; [EMAIL PROTECTED] Subject: RE: Regardin

xdoclet for creating taglib in ant?

2006-02-17 Thread markus innerebner
Offers Ant the possibility to create via xdoclet taglib files, or do I need for this porpuse other external sources? Thanks for any answer best regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: AW: AW: AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Matt Benson
The code sez if parallel execute the runParallel() method, which builds a command line out of the maximum # of files available, executes, then repeats until all available files have been exhausted. :) -Matt --- [EMAIL PROTECTED] wrote: > > > >http://ant.apache.org/manual/CoreTasks/apply.html >

RE: Regarding Continous build integration.

2006-02-17 Thread Joe Schmetzer
On Fri, 17 February, 2006 4:49 pm, [EMAIL PROTECTED] wrote: > Can you brief through the basic steps ? I am new to using JMX. > Have a nice weekend . I think you will need to read through the documentation at http://cruisecontrol.sourceforge.net/ and the CC wiki. If you have futher problems, you ca

AW: AW: AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Jan.Materne
> >http://ant.apache.org/manual/CoreTasks/apply.html > >parallel > Run the command only once, appending all files as arguments. > If false, command will be executed once for every file. Ok, thats written in the manual. But I read the code (which is the only valid source ;-) So: wher

AW: ant-contrib requires ant.jar but including it breaks javac

2006-02-17 Thread Jan.Materne
The ant-launcher creates its own classpath, after that you have multiple ant.jar (the correct one and the one from CLASSPATH). Maybe that´s why. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 17. Februar 2006 17:56 >An: user@ant.apac

RE: ant-contrib requires ant.jar but including it breaks javac

2006-02-17 Thread Mehdi.Rakhshani
By copying ant-contrib.jar to ANT_HOME and removing it (and ant.jar) from classpath the problem went away. Thanks for the suggestion. Any idea why having it the other way causes a problem though? Thanks, Mehdi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Regarding Continous build integration.

2006-02-17 Thread Srikrishna_Parthasarathy
Can you brief through the basic steps ? I am new to using JMX. Have a nice weekend . Is there any good documentation. Thanks srikrishna -Original Message- From: Joe Schmetzer [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 11:01 AM To: Ant Users List Cc: user@ant.apache.org; [

AW: ant-contrib requires ant.jar but including it breaks javac

2006-02-17 Thread Jan.Materne
Just put the ant-contrib in one of the external library directories, e.g. USER_HOME/.ant/lib. Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 17. Februar 2006 17:36 >An: user@ant.apache.org >Betreff: ant-contrib requires ant.jar but

ant-contrib requires ant.jar but including it breaks javac

2006-02-17 Thread Mehdi.Rakhshani
I started using foreach from ant-contrib. It seems to require ant.jar to be in classpath. However, when I put it in the classpath, ant cannot compile any java code (I can manually compile of course and it works fine, removing foreach and compiling java code through ant works fine also). C

Re: AW: AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Paul Pogonyshev
On 17 February 2006 18:21, [EMAIL PROTECTED] wrote: > >> Really sure? Or is this invoked one _after_ the other? > > > >Pretty sure that is how apply-parallel works. The snippet > >below is !parallel... :) > > mmh :) > Ok, something to lern more ... > > I think Ant will create a new process

AW: AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Jan.Materne
>> Really sure? Or is this invoked one _after_ the other? > >Pretty sure that is how apply-parallel works. The snippet >below is !parallel... :) mmh :) Ok, something to lern more ... I think Ant will create a new process for each. 5 arguments + parallel=true: 5 processes running paralle

Re: conditional execution

2006-02-17 Thread Paul Pogonyshev
On 17 February 2006 17:55, Matt Benson wrote: > --- Paul Pogonyshev <[EMAIL PROTECTED]> > wrote: > > > On 17 February 2006 17:07, Burgess, Benjamin wrote: > > > Ant-contrib has an "if" task which you could use. > > > > > > http://ant-contrib.sourceforge.net/ > > > > > > However, the traditional

Re: AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Paul Pogonyshev
On 17 February 2006 17:37, [EMAIL PROTECTED] wrote: > >No, with parallel="true" will also invoke the command > >once only. > > Really sure? Or is this invoked one _after_ the other? > > .java: > if (!parallel) { ^^^ There's a `not' here :) Paul --

RE: Regarding Continous build integration.

2006-02-17 Thread Joe Schmetzer
On Fri, 17 February, 2006 3:46 pm, [EMAIL PROTECTED] wrote: > Is there a utility which comes with cruise control to trigger the builds > manually through a web interface. Yes. CruiseControl can be managed by a JMX interface, which is included as part of the CC reporting application: http://conflu

Re: conditional execution

2006-02-17 Thread Matt Benson
--- Paul Pogonyshev <[EMAIL PROTECTED]> wrote: > On 17 February 2006 17:07, Burgess, Benjamin wrote: > > Ant-contrib has an "if" task which you could use. > > > > http://ant-contrib.sourceforge.net/ > > > > However, the traditional Ant solution is to split > each piece of > > functionality into

Re: AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > >No, with parallel="true" will also invoke > the command > >once only. > > Really sure? Or is this invoked one _after_ the > other? Pretty sure that is how apply-parallel works. The snippet below is !parallel... :) -Matt > > .java: > if (!parallel) { >

RE: Regarding Continous build integration.

2006-02-17 Thread Srikrishna_Parthasarathy
Is there a utility which comes with cruise control to trigger the builds manually through a web interface. Eager to see the group replies./ -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 11:28 AM To: Ant Users List Subject: Re: Regarding

AW: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Jan.Materne
>No, with parallel="true" will also invoke the command >once only. Really sure? Or is this invoked one _after_ the other? .java: if (!parallel) { String[] s = new String[fileNames.size()]; fileNames.copyInto(s); for (int j = 0; j < s.length; j++) { String

Re: conditional execution

2006-02-17 Thread Paul Pogonyshev
On 17 February 2006 17:07, Burgess, Benjamin wrote: > Ant-contrib has an "if" task which you could use. > > http://ant-contrib.sourceforge.net/ > > However, the traditional Ant solution is to split each piece of > functionality into its own target, set properties based on condition, > and use the

Re: AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Paul Pogonyshev
On 17 February 2006 17:17, [EMAIL PROTECTED] wrote: > > >BTW, I discovered that does > >exactly what I want... :) > > > ok, difference is that will invoke the executable for each > argument while > does this only once. No, with parallel="true" will also invoke the command once only. Paul

AW: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Jan.Materne
>BTW, I discovered that does >exactly what I want... :) ok, difference is that will invoke the executable for each argument while does this only once. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: conditional execution

2006-02-17 Thread Burgess, Benjamin
Ant-contrib has an "if" task which you could use. http://ant-contrib.sourceforge.net/ However, the traditional Ant solution is to split each piece of functionality into its own target, set properties based on condition, and use the if / unless attributes on the targets. Ben -Original Messag

conditional execution

2006-02-17 Thread Paul Pogonyshev
Hi, Is it possible to do some sorts of conditional execution of tasks other than and scripts (require extensions)? I need things like if file exists, do this, else do that. Or, if files are equal (byte-wise), do something. Paul -

Re: how to exec with a set of files as multiple arguments?

2006-02-17 Thread James Abley
pathconvert? http://ant.apache.org/manual/CoreTasks/pathconvert.html On Fri, 2006-02-17 at 13:13, Paul Pogonyshev wrote: > Hi, > > I need to execute a command with a large, not known in advance, > number of files, each listed as separate argument. I have been > unable to figure out how to do th

Re: AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Paul Pogonyshev
> >> > >> > >> > >> > >> > > > >Thanks, that works OK. is kind of deprecated, > >but I assume there is no other way. > > Manual sais > "It is highly recommended to avoid the line version when possible. Ant > > will try to split the command line in a way similar to what a (Unix)

AW: Real meaning of javac target/source attributes

2006-02-17 Thread Jan.Materne
>> > There are other ways to accomplish this (and Ant itself >makes use of >> > some of those techniques) but you can't rely on those being 100% >> > safe. >> >> Such as? I'm really curious. > >The usual tricks, like checking for the existence of a class >known to be introduced in a given JRE

Re: Real meaning of javac target/source attributes

2006-02-17 Thread Jeffrey E Care
> > There are other ways to accomplish this (and Ant itself makes use of > > some of those techniques) but you can't rely on those being 100% > > safe. > > Such as? I'm really curious. The usual tricks, like checking for the existence of a class known to be introduced in a given JRE version, lo

AW: absolute paths vs. relative paths

2006-02-17 Thread Jan.Materne
nested in Jan >-Ursprüngliche Nachricht- >Von: Paul Pogonyshev [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 17. Februar 2006 14:37 >An: user@ant.apache.org >Betreff: absolute paths vs. relative paths > >Hi, > >I have one more question. How can I get relative paths >instead of abs

AW: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Jan.Materne
>> >> >> >> >> > >Thanks, that works OK. is kind of deprecated, >but I assume there is no other way. Manual sais "It is highly recommended to avoid the line version when possible. Ant will try to split the command line in a way similar to what a (Unix) shell would do, but may

absolute paths vs. relative paths

2006-02-17 Thread Paul Pogonyshev
Hi, I have one more question. How can I get relative paths instead of absolute ones? For instance, say I need to save the paths into a file. If I use absolute paths, it will be meaningless for someone on a different machine or with different home directory... Paul

Re: AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Paul Pogonyshev
On 17 February 2006 15:08, [EMAIL PROTECTED] wrote: > > > > > Thanks, that works OK. is kind of deprecated, but I assume there is no other way. Thanks again. Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

AW: how to exec with a set of files as multiple arguments?

2006-02-17 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Paul Pogonyshev [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 17. Februar 2006 14:14 >An: user@ant.apache.org >Betreff: how to exec with a set of files as multiple arguments? > >Hi, > >I need to execute a command with a large, not known in

how to exec with a set of files as multiple arguments?

2006-02-17 Thread Paul Pogonyshev
Hi, I need to execute a command with a large, not known in advance, number of files, each listed as separate argument. I have been unable to figure out how to do this with Ant. Roughly speaking, I want sth. like except that I don't know how