Re: AW: Ant & patching XML files

2009-03-06 Thread Antoine Levy Lambert
Uhhmm, did you read the documentation under http://ant.apache.org/manual/CoreTasks/replace.html ? I think the first example applies very well to what you want to do. It says this : value="wombat"/> so you would do value="newAMFSessionURL"/> assuming the xml configuration file is called c

Re: how to get testng jar

2009-03-06 Thread Matt Benson
Hi Jorge, I added the ivyroundup repo to my settings: http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml"/> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml"/> Then to ivy.xml: where

Re: [Personnal task] Executing javac from a task container

2009-03-06 Thread Antoine Levy Lambert
includes="${manager.modules}/**" debug="on" /> includes="**/*.properties, **/*.png" /> Th

Re: if and conditions

2009-03-06 Thread Scott Stark
>The task is part of the AntContrib package which is available >from http://ant-contrib.sourceforge.net/>. Task descriptions are from > Thanks all for the replies. Yes I already found the documentation but there's nothing in there about

Re: if and conditions

2009-03-06 Thread myneniram
Sent via BlackBerry by AT&T -Original Message- From: Scott Stark Date: Fri, 6 Mar 2009 10:26:05 To: Ant Users List Subject: if and conditions Dumb question, but where in the documentation (http://ant.apache.org/manual/index.html) is there a discussion of and ? thanks, Scott

Re: how to "echo" exec command

2009-03-06 Thread David Weintraub
I take it you're a Windows person. The "echo on" and "echo off" parameters are really part of the CMD.EXE "DOS" shell on Windows. It's not a feature of Ant or of the OS. When you use the command, you are running the command without the shell. What you can do, if you really want to do this is run

Re: Declare few projects on a build.xml

2009-03-06 Thread David Weintraub
One of the things you can look at is the use of property files to set most of the variables in your various deployment environments. You can then use the in your Ant script to read in these properties, and then handle the script based upon those properties. Another feature of Ant is the abilit

Re: How to use nested if in ant script?

2009-03-06 Thread Brian Pontarelli
Use ;) On Mar 6, 2009, at 1:39 AM, NR031 wrote: Hi, How do I use nested tag in ant script. I want to check 2 strings and if both are true then it has to do some action. I did like this but getting You must not nest more than one condition into if

Re: if and conditions

2009-03-06 Thread David Weintraub
The Condition task is one of the "Core Tasks" of Ant. You'll see a link on the left hand side of the manual for Ant Tasks. Select that, then "Core Tasks". Condition should be there. The task is part of the AntContrib package which is available from . Task desc

Re: if and conditions

2009-03-06 Thread Scot P. Floess
if is from ant contrib yes there is documentation on condition under core tasks On Fri, 6 Mar 2009, Scott Stark wrote: Dumb question, but where in the documentation (http://ant.apache.org/manual/index.html) is there a discussion of and ? thanks, Scott Scot P. Floess 27 Lake Royale Louisb

Re: if and conditions

2009-03-06 Thread Ben Leedham
I was looking at it today. http://ant.apache.org/manual/CoreTasks/condition.html On Fri, 2009-03-06 at 10:26 -0600, Scott Stark wrote: > Dumb question, but where in the documentation > (http://ant.apache.org/manual/index.html) is there a discussion of and > ? > > thanks, > Scott -- Regards,

if and conditions

2009-03-06 Thread Scott Stark
Dumb question, but where in the documentation (http://ant.apache.org/manual/index.html) is there a discussion of and ? thanks, Scott

EasyAnt 0.5-beta1 released !

2009-03-06 Thread Jean-Louis BOUDART
The EasyAnt project is pleased to announce its 0.5-beta-1 version. Easyant is a build system, that is based on Apache Ant and Apache Ivy. Our goals are : - to leverage popularity and flexibility of Ant. - to integrate Apache Ivy, such that the build system combines a ready-to-use depen

Re: AW: how to "echo" exec command

2009-03-06 Thread viet nguyen
Thanks for getting back to me. I'm aware of -verbose and -debug but they generate too much much information. I'm looking for something simple and analogous to @ in DOS batch file. I guess I can write an exec macrodef and print the command as Martin suggested. Jan.Materne wrote: > > Start

RE: how to "echo" exec command

2009-03-06 Thread Martin Gainty
you can put your entire command line here or redirect exec stdout with the ant exec task 'output' attribute e.g. and view the contents of 'Somefile.txt' after execution http://ant.apache.org/manual/CoreTasks/exec.html HTH Martin __ Dis

AW: how to "echo" exec command

2009-03-06 Thread Jan.Materne
Start Ant with -verbose or -debug. Jan >-Ursprüngliche Nachricht- >Von: viet nguyen [mailto:viet@gmail.com] >Gesendet: Freitag, 6. März 2009 15:45 >An: user@ant.apache.org >Betreff: how to "echo" exec command > > >how do I "echo" or display the full command exec is about to >run?

how to "echo" exec command

2009-03-06 Thread viet nguyen
how do I "echo" or display the full command exec is about to run? In my example I should see [exec] VBoxManage controlvm vm poweroff but nothing is shown. ant version=1.7 os = fedora 10 shell=bash, jdk=1.5.8 vbox: [exec] [exec]

AW: How to skip the rest of execution

2009-03-06 Thread Jan.Materne
Two possibilities: - a would exit the build immediately, but with state "failed" - set a property "skip-rest" and add a condition 'unless="skip-rest"' on the targets Jan >-Ursprüngliche Nachricht- >Von: NR031 [mailto:nataraja...@cognizant.com] >Gesendet: Freitag, 6. März 2009 11:05 >A

Forced revision

2009-03-06 Thread Foreman, Alex (IDEAS)
We have many modules being resolved in our projects, one of them _always_ has '(forced)' after it and none of the others do. For example: [3.0.0] organization#module;3.0.0 (forced) The only difference I can see in this module is that it has extraAttributes. Is this the cause? We have not got

How to skip the rest of execution

2009-03-06 Thread NR031
Hi, Ho to exit from executing the rest of targets if some conditions get failed. This is what I expect : success ${letter} Not equal ***Code For Ex

Re: How to use nested if in ant script?

2009-03-06 Thread NR031
Hi Peter, Thanks for your quick reply. === Peter Reilly-2 wrote: > > > > > > > > > > > > > On Fri, Mar 6, 2009 at 8:45 AM, NR031 wrote: >> >> Hi all, >> >> >>    I f

Re: How to use nested if in ant script?

2009-03-06 Thread Peter Reilly
On Fri, Mar 6, 2009 at 8:45 AM, NR031 wrote: > > Hi all, > > >    I found out the solution myself : > > >             >             >                 >                     >                     >                        success >                      

[Personnal task] Executing javac from a task container

2009-03-06 Thread Gervais
, 0); } } And finally the task content : Building module ${modulename} Thanks __ Information from ESET NOD32 Antivirus, version of virus signature dat

Re: How to use nested if in ant script?

2009-03-06 Thread NR031
Hi all, I found out the solution myself : success ${letter}

Re: Declare few projects on a build.xml

2009-03-06 Thread Miguel Alejandro Caro Ruger
Thanks to all for the information, but i haven´t seen anything helpful refered to what i want to do in the links. Maybe I haven´t explain myself very well, i give you my context. I have all my apllications or most of them in .war filetype and running on tomcat. Develop Department, give me the appl

How to use nested if in ant script?

2009-03-06 Thread NR031
Hi, How do I use nested tag in ant script. I want to check 2 strings and if both are true then it has to do some action. I did like this but getting You must not nest more than one condition into if

Re: AW: Ant & patching XML files

2009-03-06 Thread Sunils_82
Hi, My xml configuration file has following format: Now how do i perform the REPLACE task in this case to replace 'myAMFSessionURL' to 'newAMFSessionURL' Regards, Sunil -- View this message in context: http://w