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
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
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
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:
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!
--
==
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
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
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
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
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
>
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
>
>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
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
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:
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; [
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
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
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
>> 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
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
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
--
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
--- 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
--- [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) {
>
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
>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
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
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
>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
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
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
-
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
> >>
> >>
> >>
> >>
> >>
> >
> >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)
>> > 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
> > 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
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
>>
>>
>>
>>
>>
>
>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
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
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
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
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
41 matches
Mail list logo