Here I need to send two build outputs as a email.
Below I am executing two ant commands.
call ant -f build1.xml > build.log
call ant -f build2.xml >> build.log
Above two outputs I need to send as email.
One thing is I am writing another build.xml with mail task sending build.log as
a mess
If you use mail logger, logger itself stores sends the entire console
output. So you don have to redirect the logs.
On Feb 13, 2008 4:11 PM, Vishnumalakala, Santa <[EMAIL PROTECTED]>
wrote:
> Can I send these output as email using mail logger
>
> Santa.
>
> -Original Message-
> From: [EMA
Steve L
Thanks for your response.
Sounds like another huge learning curve for me.
Is there any other way in Ant besides having to learn sf ?
I'm unsure if I have the time bandwidth to experiment with.
Thanks
In regards to copying modules from one repository to another, the
documentation shows examples of copying a single module from one
resolver to another, explicitly declaring the organization, module, and
revision.
How can I do an implicit bulk copy of all dependencies specified in a
particular i
Take a look at the task. Never used it, but it sounds like
exactly what you want:
On Feb 13, 2008 10:43 AM, jonese <[EMAIL PROTECTED]> wrote:
> Hey all i need to take the content of file A and place it into File B.
> anyone know the best way to accomplish this?
>
> jonese
>
> --
Got it. i was on the right track with concat. just needed to add the
loadfile to get my data, put that into a propery and then use the
value of that property to build my new file!
whew talk about going around your arse to get to your elbow!
Thanks all!
jonese
On Feb 13, 2008 11:36 AM, jonese
Here's what i have now inside a target:
The problem is that the concat not only concat's the data but also the
"headers" of the file thereby corrupting my new file as well.
So essentially what i need is some way to read the contents of a file
and then take those contents and input
Z W wrote:
Oliver
I thought about that but it wouldn't solve the problem because I don't know
when exactly the process dies
What you're effectively trying to do here is monitor remote processes;
you've jump from build time to run time/management problems.
More subtly, its not enough to ch
- Original Message -
From: jonese
To: Ant Users List
Sent: Wednesday, February 13, 2008 3:43 PM
Subject: Copy content of file only?
Hey all i need to take the content of file A and place it into File B.
anyone know the best way to accomplish this?
jonese
--
Are you simply trying to copy file A to file B? Or take the contents of
A and append to B?
jonese wrote:
Hey all i need to take the content of file A and place it into File B.
anyone know the best way to accomplish this?
jonese
Hey all i need to take the content of file A and place it into File B.
anyone know the best way to accomplish this?
jonese
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I just started playing with Ivy and tried retrieving the Commons
Configuration artifact, but I noticed that Ivy keeps pulling the
optional and test jars even if I only request the default jars. Here are
the ivy.xml file and the Ant build I used:
Hi all,
Thanks for the resposnes. Martin, that's an elegant example and belongs in
the ant documentation.
As a follow up to Martin's example:
once you have the list of 'result" files (which lists all the .md5 files
which differ), how in ant can you generate a list of the *original* files.
i.e. s
Oliver
I thought about that but it wouldn't solve the problem because I don't know
when exactly the process dies
On Feb 12, 2008 7:39 PM, Olivier Gies <[EMAIL PROTECTED]> wrote:
> Maybe you can implement a condition to be used with Ant's core
> task...
>
> Olivier
>
> Original Message
Can I send these output as email using mail logger
Santa.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 13, 2008 3:29 PM
To: user@ant.apache.org
Subject: AW: Only one ant command is executing in batch file and not executing
other commands
1) before
2) with a
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 10:54
> An: Ant Users List
> Betreff: Re: Creating a list of entries
>
> This task seems to replace/overwrites the existing file.
> Is there a way to writ
call ant -f build1.xml > build.log
call ant -f build2.xml >> build.log
> redirects to a file
>> appends to a file
Jan
> -Ursprüngliche Nachricht-
> Von: Vishnumalakala, Santa [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 10:49
> An: Ant Users List
> Betreff: RE: O
This task seems to replace/overwrites the existing file.
Is there a way to write to another file ?
On Feb 13, 2008 1:22 AM, Z W <[EMAIL PROTECTED]> wrote:
> Jan
>
> If it's ok with you, can you elaborate more in how to create such a file
> wth such a replacement ?
>
> On Feb 13, 2008 12:56 AM,
Thank you. It is solving my purpose.
And one more problem is can I take standard output of two build files in one
file??
Why because if I use below command
ant -l test.log -buildfile Test1\build\build.xml
test.log is always creating the new. It is not updating the existing.
Thanks fo
Jan
If it's ok with you, can you elaborate more in how to create such a file wth
such a replacement ?
On Feb 13, 2008 12:56 AM, <[EMAIL PROTECTED]> wrote:
> replacint "=" by " : " ?
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Z W [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 13
use "call ant" instead of "ant".
"ant" is a batchfile and if that is finished the called batch is terminated.
with "call" your batch will proceed.
its a windows behaviour and you'll find that in every batch
Jan
> -Ursprüngliche Nachricht-
> Von: Vishnumalakala, Santa [mailto:[EMAI
replacint "=" by " : " ?
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 09:30
> An: Ant Users List
> Betreff: Re: Creating a list of entries
>
> Jan
>
> I have a list of entries in a properties file
>
> apple=1
> orange=2
Hi,
This is Santa. I am using ANT for my development.
Problem is :: Only one ant command is executing in batch file
and not executing other commands after ant command in batch file
I am trying to write batch file to execute Ant tasks.But after
executing one ant command c
Jan
I have a list of entries in a properties file
apple=1
orange=2
pear=3
My Ant script is on Windows box. I'll sshexec to my unix box.
I like to create a file, say x2.txt, from my Ant script so that this file
x2.txt in my unix box like this
apple : 1
orange : 2
pear : 3
This x2.txt will be an
24 matches
Mail list logo